Handle transform changes more simply.
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file)
This changes how we deal with transform changes during path construction.
Previously, we would switch to storing the path in device space and keeping it
there until it was used.
This switches us to the same strategy that WebKit and Blink use: Just transform
the old path to the new user space.
There are definitely some cases where this will give worse performance but it's
simpler and it also means we'll have the same performance characteristics as
other browsers. It also makes it easier for us to pass arcs down to the underlying
DrawTarget.
Assignee | ||
Comment 1•2 years ago
|
||
This changes how we deal with transform changes during path construction.
Previously, we would switch to storing the path in device space and keeping it
there until it was used.
This switches us to the same strategy that WebKit and Blink use: Just transform
the old path to the new user space.
There are definitely some cases where this will give worse performance but it's
simpler and it also means we'll have the same performance characteristics as
other browsers. It also makes it easier for us to pass arcs down to the underlying
DrawTarget.
Comment 3•2 years ago
|
||
bugherder |
Description
•