Closed Bug 1449271 Opened 7 years ago Closed 7 years ago

Add a pref to force an opaque GL context to be used for the window

Categories

(Core :: Widget: Cocoa, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file)

We're aware that having a transparent OpenGL context hurts performance and battery life. For testing purposes, it would be nice to have a pref to force the context to be opaque. Unfortunately, setting this pref will break the rounded window corners and any vibrancy effects (e.g. in the tab bar and the side bar).
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Summary: Add a hidden pref to force an opaque GL context to be used for the window → Add a pref to force an opaque GL context to be used for the window
Comment on attachment 8962825 [details] Bug 1449271 - Add a pref called gfx.compositor.glcontext.opaque that defaults to false and can be set to true in order to force the use of an opaque OpenGL context for the window on Mac. https://reviewboard.mozilla.org/r/231658/#review237220
Attachment #8962825 - Flags: review?(jmuizelaar) → review+
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/ae36eb8ceeca Add a pref called gfx.compositor.glcontext.opaque that defaults to false and can be set to true in order to force the use of an opaque OpenGL context for the window on Mac. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Depends on: 1491121
Depends on: 1494790
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: