Bug 1345899 - enable tiles by default on OpenBSD r=mattwoodrow
authorLandry Breuil <landry@openbsd.org>
Tue, 23 May 2017 04:22:00 +0200
changeset 361232 895d9a8826a3f0f609b4d604638a7b2471a0a2aa
parent 361231 c45dd304a93949f3f1ddbf4ecf60690e349c42b6
child 361233 30df9022124c78335c22ba8c54b2073544f4e993
push id90814
push usercbook@mozilla.com
push dateTue, 30 May 2017 10:04:27 +0000
treeherdermozilla-inbound@30df9022124c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1345899
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1345899 - enable tiles by default on OpenBSD r=mattwoodrow Otherwise, CrossProcessSemaphore crashes at startup since shared semaphores don't work yet on OpenBSD
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4723,17 +4723,17 @@ pref("layers.max-active", -1);
 pref("layers.tiles.adjust", true);
 
 // Compositor target frame rate. NOTE: If vsync is enabled the compositor
 // frame rate will still be capped.
 // -1 -> default (match layout.frame_rate or 60 FPS)
 // 0  -> full-tilt mode: Recomposite even if not transaction occured.
 pref("layers.offmainthreadcomposition.frame-rate", -1);
 
-#ifdef XP_MACOSX
+#if defined(XP_MACOSX) || defined (OS_OPENBSD)
 pref("layers.enable-tiles", true);
 pref("layers.tile-width", 512);
 pref("layers.tile-height", 512);
 pref("layers.tiles.edge-padding", false);
 #endif
 
 #ifdef MOZ_WIDGET_ANDROID
 pref("layers.tiles.edge-padding", true);