Closed
Bug 1438631
Opened 6 years ago
Closed 6 years ago
Stop using D2D to paint masks with WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file)
perfht.ml/2swE6fc
Assignee | ||
Comment 1•6 years ago
|
||
https://perfht.ml/2swE6fc
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8951385 [details] Bug 1438631. Use a similar drawtarget when painting masks. https://reviewboard.mozilla.org/r/220648/#review226614 ::: layout/svg/nsSVGMaskFrame.cpp:91 (Diff revision 1) > - maskDT = gfxPlatform::GetPlatform()->CreateOffscreenContentDrawTarget( > + maskDT = ctx->GetDrawTarget()->CreateSimilarDrawTarget( > maskSurfaceSize, SurfaceFormat::B8G8R8A8); Same question as always: If we're drawing to a non-tiled component alpha layer, will this create a DrawTargetDual? If we paint to a tiled layer, will it create a DrawTargetTiled? I think we resolved this question in a satisfying way at some point but I don't remember what we ended up with.
Attachment #8951385 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #3) > Comment on attachment 8951385 [details] > Bug 1438631. Use a similar drawtarget when painting masks. > > https://reviewboard.mozilla.org/r/220648/#review226614 > > ::: layout/svg/nsSVGMaskFrame.cpp:91 > (Diff revision 1) > > - maskDT = gfxPlatform::GetPlatform()->CreateOffscreenContentDrawTarget( > > + maskDT = ctx->GetDrawTarget()->CreateSimilarDrawTarget( > > maskSurfaceSize, SurfaceFormat::B8G8R8A8); > > Same question as always: If we're drawing to a non-tiled component alpha > layer, will this create a DrawTargetDual? No > If we paint to a tiled layer, will it create a DrawTargetTiled? No Those are the answers we want in both cases.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•6 years ago
|
||
This is causing reftest failures with webrender
Assignee | ||
Comment 7•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=01334f99a36aa3787752d0de7b930ab6269ddd08
Comment 8•6 years ago
|
||
Looks like the failures are really crashes, and they're perma versions of bug 1437813. We should fix that.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3907766823e6 Fix typos in IntoLuminance recording event. https://hg.mozilla.org/integration/mozilla-inbound/rev/2b7d400749d3 Use a similar drawtarget when painting masks. r=mstange
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3907766823e6 https://hg.mozilla.org/mozilla-central/rev/2b7d400749d3
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•