gecko-dev/gfx
Lee Salzman b2d67698b9 Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond
The Canvas2D specification says that if a path has no active sub-paths, and a
primitive is drawn, that the first point of that primitive becomes the start of
the newly created sub-path that will be created for it.

So if we prune a point when a path has no active sub-paths, and then a new
primitive comes in that does not start with that same point, we risk not
installing the pruned point as the start of that new sub-path.

To solve this, we need to detect if a path has no active sub-paths while
we are building it. This adds PathBuilder::IsActive() to help with that.
Then before we go to add a primitive, we check if there is a pruned point
on a path that is not active yet, and if so, install the correct start
point with a MoveTo.

This also makes IsActive and IsEmpty required so to ensure all our path
implementations behave consistently rather than having any surprising
unimplemented behavior.

Differential Revision: https://phabricator.services.mozilla.com/D184891
2023-07-30 14:31:09 +00:00
..
2d Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
angle Bug 1842497 - Unship d3dcompiler_47.dll. r=firefox-build-system-reviewers,glandium 2023-07-15 12:29:51 +00:00
cairo Bug 1820720 - Part 4. Don't use -no-integrated-as to build assembler files. r=gfx-reviewers,lsalzman 2023-07-24 08:06:37 +00:00
config Bug 1829063 - Split video overlay feature of software decoded video from nsIGfxInfo::FEATURE_VIDEO_OVERLAY r=gfx-reviewers,lsalzman 2023-06-22 00:21:07 +00:00
docs Bug 1780018 - Fix the link for reftests docs in APZ docs. r=botond 2022-07-18 16:57:32 +00:00
gl Bug 1842497 - Unship d3dcompiler_47.dll. r=firefox-build-system-reviewers,glandium 2023-07-15 12:29:51 +00:00
graphite2 Bug 1829053 - Enable graphite malloc wrapping in the wasm sandbox. r=shravanrn 2023-05-08 22:29:13 +00:00
harfbuzz Bug 1843829 - Silence new Wcomma error after HarfBuzz update to 8.0.1 r=jfkthame 2023-07-27 08:24:47 +00:00
ipc Bug 1838906 - Part 2: Simplify the types for IPC::Channel::Listener, r=ipc-reviewers,necko-reviewers,kershaw,jld 2023-06-27 19:59:47 +00:00
layers Bug 1839581 - Make sure the last touchend event received in the content. r=botond 2023-07-26 02:01:10 +00:00
ots Bug 1835833 - Update OTS to 9.1.0. r=jfkthame 2023-05-30 16:56:48 +00:00
qcms Bug 1841921 - Fix "variable does not need to be mutable" warnings in qcms. r=gfx-reviewers,lsalzman 2023-07-06 02:32:58 +00:00
skia Bug 1838323 - Disambiguate skvx when building with different arch options. r=glandium 2023-07-06 02:24:40 +00:00
src Bug 1833244 p1. Create infrastructure to pass page dimensions to PrintTarget::BeginPage. r=dholbert,geckoview-reviewers,jonalmeida 2023-07-10 14:26:12 +00:00
tests Bug 1845540 - Remove some unused macOS system colors. r=mstange,desktop-theme-reviewers,dao 2023-07-26 20:48:14 +00:00
thebes Bug 1845169 - Implement harfbuzz callbacks for batch char-to-glyph mappings and glyph widths. r=gfx-reviewers,lsalzman 2023-07-25 17:30:21 +00:00
vr Bug 1838906 - Part 2: Simplify the types for IPC::Channel::Listener, r=ipc-reviewers,necko-reviewers,kershaw,jld 2023-06-27 19:59:47 +00:00
webrender_bindings Bug 1724224 - Ensure probe data is within bounds. r=aosmond 2023-07-26 16:30:15 +00:00
wgpu_bindings Bug 1844286 - Update `wgpu` to revision 1161a22f4fbb4fc204eb06f2ac4243f83e0e980d. r=webgpu-reviewers,ErichDonGubler 2023-07-19 22:25:04 +00:00
wr Bug 1840044 - Update to Glean 53.1.0, UniFFI 0.24.1 and latest application-services. r=TravisLong,nika,markh,supply-chain-reviewers 2023-07-26 15:34:27 +00:00
ycbcr Bug 1698699 - P7 - add missing include for hybrid builds. r=ng 2022-06-28 16:29:41 +00:00
metrics.yaml Bug 1784297 Remove "pseudo-main" ping r=TravisLong 2022-11-14 19:58:20 +00:00
moz.build Bug 1822594 - remove webrender test schedule. r=jmaher,ahal 2023-03-20 10:45:48 +00:00