Closed
Bug 1243336
Opened 8 years ago
Closed 3 years ago
Moz2d's new PushLayer/PopLayer API interacts badly with DrawTargetTiled
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
People
(Reporter: nical, Assigned: bas.schouten)
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
It is probably expected since I think PushLayer isn't implemented for all backends yet. enabling DrawTargetTiled and PushLayer/PopLayer gives some weird semi-transaprent balck boxes over content. Some pages reproduce the issue a lot, like theverge.com.
Reporter | ||
Updated•8 years ago
|
Whiteboard: [gfx-noted]
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bas
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•8 years ago
|
||
The cause here is that if we're not even pushing their clips to tiles that are completely clipped out, but we're also not pushing drawing commands, if we then proceed to push and pop opaque layers to them, they will be drawn back black with a certain opacity. I have a fix.
Assignee | ||
Comment 2•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/34683/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/34683/
Attachment #8718668 -
Flags: review?(jmuizelaar)
Comment 3•8 years ago
|
||
Comment on attachment 8718668 [details] MozReview Request: Bug 1243336: Don't push layers to tiles that are completely clipped out. r=jrmuizel https://reviewboard.mozilla.org/r/34683/#review32745
Attachment #8718668 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #4) > Any plans to land this, Bas? We probably should? Does it still pass tests and stuff? Do we still need it though? If we had this bug I'd expect more people to be complaining about it now that DTTiled and Push/PopLayer are all implemented.
Flags: needinfo?(bas)
Comment 6•8 years ago
|
||
Note Push/PopLayer are not turned on on Mac/Android (bug 1322729). As for your other questions, I don't know. I just noticed this hadn't landed in passing.
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•3 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•