mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126373 - Disable silk on Jelly bean and lower android versions. r=kats
This commit is contained in:
parent
b1680da6e3
commit
1aaf9bcc88
@ -1078,6 +1078,13 @@ pref("dom.mozSettings.allowForceReadOnly", false);
|
||||
// RequestSync API is enabled by default on B2G.
|
||||
pref("dom.requestSync.enabled", true);
|
||||
|
||||
// Enable hardware vsync compositor
|
||||
// Only enable for kit kat and above devices
|
||||
// kit kat == 19, L = 21, 20 is kit-kat for wearables
|
||||
// 15 is for the ICS emulators which will fallback to software vsync
|
||||
#if ANDROID_VERSION == 19 || ANDROID_VERSION == 21 || ANDROID_VERSION == 15
|
||||
pref("gfx.vsync.hw-vsync.enabled", true);
|
||||
pref("gfx.vsync.compositor", true);
|
||||
#else
|
||||
pref("gfx.vsync.hw-vsync.enabled", false);
|
||||
pref("gfx.vsync.compositor", false);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user