Closed Bug 889693 Opened 11 years ago Closed 11 years ago

Implement MaskSurface in DrawTargetCairo

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jrmuizel, Assigned: jck1089)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
This is completely untested, may currently have problems with operators other than OVER and is perhaps missing a translation.
Blocks: 603488
James, feel free to finish this patch up if you're interested.
Will do.
This is a fixed up version of Jeff's sketch.
Attachment #771112 - Flags: review?(bas)
Comment on attachment 771112 [details] [diff] [review]
Patch: Implement MaskSurface in DrawTargetCairo

Review of attachment 771112 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me as far as I can tell, has it been tested?
Attachment #771112 - Flags: review?(bas) → review+
I can confirm that it allows gfxContext::Mask to perform the same as the old version from before it used MaskSurface.

Is there an additional set of tests I should run on it? I'm not sure if it works for all the different possible uses of MaskSurface, but it probably can't be any worse than MOZ_ASSERT(0).
Can somebody check this in when they get a chance? I don't have access to check it in or change the keywords to add "checkin-needed".
(In reply to James Kolb from comment #7)
> Can somebody check this in when they get a chance? I don't have access to
> check it in or change the keywords to add "checkin-needed".
Keywords: checkin-needed
Attachment #770559 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/cf0646465523
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: