Closed Bug 990854 Opened 10 years ago Closed 10 years ago

Update CopySurface() to be as fast as DrawSurface()

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 987292 made DrawSurface faster by avoiding creating CGImageRef. We can do the same for CopySurface.
Attachment #8400363 - Flags: review?(matt.woodrow)
Bug 987292 appears to be "correctness" issue - is this also a correctness issue, or a performance one?
It's a performance one.

The goal is to fix a specific performance regression caused by the Moz2D conversion, rather than intentionally investing in the CG backend.
Avoid being screwed by integer promotion.
Attachment #8400363 - Attachment is obsolete: true
Attachment #8400363 - Flags: review?(matt.woodrow)
Attachment #8401676 - Flags: review?(matt.woodrow)
Attachment #8401676 - Flags: review?(matt.woodrow) → review+
https://hg.mozilla.org/mozilla-central/rev/56e8252c5467
Assignee: nobody → jmuizelaar
Status: NEW → 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.

Attachment

General

Created:
Updated:
Size: