Closed Bug 1293693 Opened 5 years ago Closed 5 years ago

canvas should not skip the copy-on-write if the composite op is OP_DEST_OUT.

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 file)

On the other hand it is safe to skip the copy if the composite op is SOURCE.
Attached patch canvas-opSplinter Review
Attachment #8779404 - Flags: review?(ethlin)
Attachment #8779404 - Flags: review?(ethlin) → review+
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/91628f5a38c6
FillRect covering the entire canvas can skip copying the previous frame if the composite op is SOURCE, but not DEST_OUT. r=ethlin
https://hg.mozilla.org/mozilla-central/rev/91628f5a38c6
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.