Closed Bug 628403 Opened 13 years ago Closed 13 years ago

introduce webgl.force-enabled and webgl.disabled prefs

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

Attachments

(2 files)

This replaces the old webgl.enabled_for_all_sites by a tri-state like we already do for layers and for d2d.

force-enabled bypasses the blacklist, allowing us to land bug 623338.

This patch also removed the old mochitest_native_gl pref that we no longer use.
Attachment #506524 - Flags: review?(vladimir)
note: this patch makes the WebGL mochitest ignore the blacklist.
Comment on attachment 506524 [details] [diff] [review]
webgl force-enabled and disabled prefs

(fwiw, enabled_for_all_sites was intended to be part of a per-site permissions thing that we never implemented :)

While you're in this code, can you change prefer_gl to prefer-native-gl and add it to all.js?
Attachment #506524 - Flags: review?(vladimir) → review+
Attachment #506854 - Flags: review?(vladimir)
Comment on attachment 506854 [details] [diff] [review]
prefer-native-gl pref

great, thanks :)
Attachment #506854 - Flags: review?(vladimir) → review+
Attachment #506524 - Flags: approval2.0+
Attachment #506854 - Flags: approval2.0+
http://hg.mozilla.org/mozilla-central/rev/828decbcc564
http://hg.mozilla.org/mozilla-central/rev/2a7ac4407669
Group: mozilla-confidential
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Group: mozilla-confidential
Assignee: nobody → bjacob
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: