Closed Bug 979883 Opened 10 years ago Closed 10 years ago

Convert the Qt widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface

Categories

(Core :: Graphics, defect)

29 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: jwatt, Assigned: jwatt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As part of converting imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface, we should convert the Qt widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface.
Attached patch patchSplinter Review
Attachment #8386108 - Flags: review?(matt.woodrow)
The GetAsReadableARGB32ImageSurface call seems to have been unnecessary since the QImage ctor seems to be capable of handling various formats.
Attachment #8386108 - Flags: review?(matt.woodrow) → review+
https://hg.mozilla.org/mozilla-central/rev/c3708cea6c40
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: