Closed Bug 1311770 Opened 8 years ago Closed 8 years ago

Basic Compositor uses gfxPlatform for 3D transforms

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

()

Details

Attachments

(1 file)

BasicCompositor uses gfxPlatform to create a temporary surface when handling 3D transforms [1]. The GPU process doesn't have gfxPlatform, so this doesn't work.

It's weird that we're using the basic compositor at all on treeherder here [2], which exposed this bug... that'll have to be investigated as well.

[1] http://searchfox.org/mozilla-central/source/gfx/layers/basic/BasicCompositor.cpp#574
[2] https://treeherder.mozilla.org/logviewer.html#?job_id=29210880&repo=try#L3057
Attached patch fix (deleted) — Splinter Review
I think this should be functionally equivalent since skia is now the default content backend everywhere.

Even when the content backend is Cairo, this should be the same except on Windows, where it looks like we'd have created a DIB-backed surface. But I don't think that matters.
Attachment #8804038 - Flags: review?(matt.woodrow)
Attachment #8804038 - Flags: review?(matt.woodrow) → review+
Pushed by danderson@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d23e41c16872
Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow)
https://hg.mozilla.org/mozilla-central/rev/d23e41c16872
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: