Closed
Bug 993475
Opened 10 years ago
Closed 10 years ago
Basic compositor doesn't support masks on color layers
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cwiiis, Assigned: cwiiis)
References
Details
Attachments
(2 files, 1 obsolete file)
1.61 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
11.73 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
As stated in the bug title. Patch incoming.
Assignee | ||
Comment 1•10 years ago
|
||
hmm, I said patch incoming, but my patch doesn't work completely yet... Will attach the WIP.
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Took me an embarrassingly long time to work this out :p
Attachment #8403383 -
Attachment is obsolete: true
Attachment #8403986 -
Flags: review?(matt.woodrow)
Comment 4•10 years ago
|
||
Comment on attachment 8403986 [details] [diff] [review] Support masks on color layers in BasicCompositor Review of attachment 8403986 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/basic/BasicCompositor.cpp @@ +328,5 @@ > + } else { > + dest->FillRect(aRect, > + ColorPattern(effectSolidColor->mColor), > + DrawOptions(aOpacity)); > + } Looks good, bonus points if you can share the code between this and FillRectWithMask (in BasicLayersImpl.cpp).
Attachment #8403986 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 5•10 years ago
|
||
I like the idea of bonus points, and hadn't seen BasicLayersImpl... Open to ideas for doing this in a less verbose way, but I couldn't quickly think of anything.
Attachment #8404849 -
Flags: review?(matt.woodrow)
Updated•10 years ago
|
Attachment #8404849 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/9f419e249a07 https://hg.mozilla.org/integration/mozilla-inbound/rev/16803b53b8a5
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9f419e249a07 https://hg.mozilla.org/mozilla-central/rev/16803b53b8a5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•