[HWA] "copy" composite mode doesn't work anymore
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox107 | --- | disabled |
firefox108 | --- | disabled |
firefox109 | --- | fixed |
People
(Reporter: tristan.fraipont, Assigned: lsalzman)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Steps to reproduce:
- Ensure to have
gfx.canvas.accelerated
flag set on. - Draw some content over a Canvas2D context.
- Set the context's
globalCompositeOperation
(gCO) mode to"copy"
. - Draw something new on the context.
Actual results:
The new content is drawn on top of the existing content as if the gCO was set to "source-over"
.
Expected results:
The new content should have replaced the existing content entirely, i.e only the last drawn content should be visible.
Note that drawImage()
behaves even weirder where transparent pixels of the source image actually erase the content below. Sounds like there is an issue with the clipping region.
Comment 2•1 year ago
|
||
Bug 1779681 - Mark WebGL framebuffer as initially valid in DrawTargetWebgl. r=aosmond,gfx-reviewers
mWebglValid gets initialized to false, but it will never get reset to true until the next
frame, causing us to render into Skia the first frame rather than accelerate. Therefor, we
should just initialize it to valid. Since it is cleared to zero initially, this is safe.
Differential Revision: https://phabricator.services.mozilla.com/D151896
2022-11-21T12:39:51.574000: DEBUG : Did not find a branch, checking all integration branches
2022-11-21T12:39:51.577000: INFO : The bisection is done.
2022-11-21T12:39:51.635000: INFO : Stopped
Comment 3•1 year ago
|
||
Set release status flags based on info from the regressing bug 1779681
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26208f1c96fb Ensure region outside mask but inside clip is cleared for copy op. r=aosmond
Comment 6•1 year ago
|
||
bugherder |
Description
•