Closed Bug 683296 Opened 14 years ago Closed 14 years ago

Clean up GL Layers prefs and whitelisting on Android

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 9

People

(Reporter: ajuma, Assigned: ajuma)

References

Details

Attachments

(1 file, 2 obsolete files)

We have two prefs controlling the enabling of GL Layers: layers.acceleration.disabled and layers.acceleration.force-enabled. GL Layers are enabled on a device if two conditions are met: 1) layers.acceleration.disabled = false 2) layers.acceleration.force-enabled = true OR the device is whitelisted in GfxInfo::GetFeatureStatusImpl. On Android, the current default values are: 1) layers.acceleration.disabled = true 2) layers.acceleration.force-enabled = false The only whitelisted device is the Samsung Galaxy S (for historical reasons, not because we think GL Layers should be turned on there). We should change the default value of layers.acceleration.disabled to false, and remove the whitelisting of the Galaxy S. (The combination of these changes will mean that GL Layers will still be off by default on all Android devices.) Then, when we're ready to turn on GL Layers by default for a particular device, it will suffice to whitelist it in GfxInfo.
Comment on attachment 557000 [details] [diff] [review] Change default of layers.acceleration.disabled to false, and blacklist Galaxy S It's probably better to just comment out the whitelisting block. I think it's worth keeping the code for detecting Galaxy S's around.
Attachment #557000 - Flags: review?(jmuizelaar) → review+
Patch updated to address review comments. Carrying forward r=jrmuizel.
Attachment #557000 - Attachment is obsolete: true
Fixed a comment.
Attachment #558538 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → Firefox 9
Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:9.0a2) Gecko/20111017 Firefox/9.0a2 Fennec/9.0a2 Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111018 Firefox/10.0a1 Fennec/10.0a1 Device: HTC Desire Z - Android 2.3, Samsung Galaxy S - Android 2.2 Verified on both Nightly and Aurora, by default: 1) layers.acceleration.disabled = false 2) layers.acceleration.force-enabled = false
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: