Text in google docs gradually gets darker and darker with experimental WebGL canvas
Categories
(Core :: Graphics, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Just noticed this today.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
|
||
I can reproduce this by switching to the tab and then repeatedly selecting and unselecting the text underneath it.
Reporter | ||
Comment 3•3 years ago
|
||
This only seems to happen if you end up with the canvas renderer.
Reporter | ||
Comment 4•3 years ago
|
||
Ah turns out this was caused by gfx.canvas.accelerated=true
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
I was accidentally using OP_OVER when trying to flush the Skia target to the WebGL context.
This meant any alpha values caused blending with the previous WebGL context contents, rather
than overwriting them entirely which was the actually desired effect.
Incidental finding while debugging this is that we also need to handle empty rects better by
just ignoring them.
Updated•3 years ago
|
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84ef54ebd02c Use OP_SOURCE in DrawTargetWebgl::FlushFromSkia. r=jrmuizel
Comment 7•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
I tried to reproduce the issue on Win10x64 using build 96.0a1 (20211115215316) and setting 'gfx.canvas.accelerated=true', but text in my google document did not get any darker even after switching tabs.
Can you please add OS used?
Is the issue still reproducing for you on latest RC? (Fx96.0) build(https://archive.mozilla.org/pub/firefox/candidates/96.0b9-candidates/build1/win64/en-US/) ?
Thank you.
Description
•