Move sUsingHwc to gfxPrefs

RESOLVED FIXED in Firefox 40

Status

()

Core
Graphics
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: sotaro, Assigned: sotaro)

Tracking

Trunk
mozilla40
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(firefox40 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
layers.composer2d.enabled is stored to sUsingHwc. It is used in nsWindow::GetComposer2D(). When the pref is disabled, the function returns nullptr. But Bug 1152135 request to get Composer2D even when the pref is disabled. Because Composer2D's buffer swap is need to be done even when HWC's fast composition is disabled.
(Assignee)

Comment 1

3 years ago
Created attachment 8592293 [details] [diff] [review]
Move sUsingHwc to gfxPrefs
(Assignee)

Comment 2

3 years ago
I confirmed attachment 8592293 [details] [diff] [review] works on flame-kk.
(Assignee)

Updated

3 years ago
Attachment #8592293 - Flags: review?(nical.bugzilla)
Attachment #8592293 - Flags: review?(mwu)
(Assignee)

Comment 3

3 years ago
https://treeherder.mozilla.org/#/jobs?repo=try&revision=dc1a3a353109
(Assignee)

Updated

3 years ago
Assignee: nobody → sotaro.ikeda.g

Updated

3 years ago
Attachment #8592293 - Flags: review?(nical.bugzilla) → review+

Updated

3 years ago
Attachment #8592293 - Flags: review?(mwu) → review+
(Assignee)

Comment 4

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2704413af48
https://hg.mozilla.org/mozilla-central/rev/b2704413af48
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox40: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.