Modified: trunk/Source/WebKit2/ChangeLog (163601 => 163602)
--- trunk/Source/WebKit2/ChangeLog 2014-02-07 02:29:51 UTC (rev 163601)
+++ trunk/Source/WebKit2/ChangeLog 2014-02-07 02:30:11 UTC (rev 163602)
@@ -1,3 +1,16 @@
+2014-02-03 Tim Horton <[email protected]>
+
+ [wk2] iOS should use accelerated drawing by default, except in the simulator
+ https://bugs.webkit.org/show_bug.cgi?id=128140
+ <rdar://problem/15974171>
+
+ Reviewed by Anders Carlsson.
+
+ * Shared/WebPreferencesStore.h:
+ Turn full-page accelerated drawing on for iOS, except the simulator which doesn't support it.
+ Turn canvas accelerated drawing on for all platforms except the iOS simulator, for the same reason.
+ The defaults remain the same for non-iOS platforms.
+
2014-02-06 Jeremy Jones <[email protected]>
Add support for AVKit fullscreen to WebKit2
Modified: trunk/Source/WebKit2/Shared/WebPreferencesStore.h (163601 => 163602)
--- trunk/Source/WebKit2/Shared/WebPreferencesStore.h 2014-02-07 02:29:51 UTC (rev 163601)
+++ trunk/Source/WebKit2/Shared/WebPreferencesStore.h 2014-02-07 02:30:11 UTC (rev 163602)
@@ -70,7 +70,13 @@
#define DEFAULT_FRAME_FLATTENING_ENABLED false
#endif
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
+#define DEFAULT_ACCELERATED_DRAWING_ENABLED true
+#else
+#define DEFAULT_ACCELERATED_DRAWING_ENABLED false
+#endif
+
+#if PLATFORM(IOS) && PLATFORM(IOS_SIMULATOR)
#define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING false
#else
#define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING true
@@ -98,7 +104,7 @@
macro(NeedsSiteSpecificQuirks, needsSiteSpecificQuirks, Bool, bool, false) \
macro(AcceleratedCompositingEnabled, acceleratedCompositingEnabled, Bool, bool, true) \
macro(ForceCompositingMode, forceCompositingMode, Bool, bool, false) \
- macro(AcceleratedDrawingEnabled, acceleratedDrawingEnabled, Bool, bool, false) \
+ macro(AcceleratedDrawingEnabled, acceleratedDrawingEnabled, Bool, bool, DEFAULT_ACCELERATED_DRAWING_ENABLED) \
macro(CanvasUsesAcceleratedDrawing, canvasUsesAcceleratedDrawing, Bool, bool, DEFAULT_CANVAS_USES_ACCELERATED_DRAWING) \
macro(CompositingBordersVisible, compositingBordersVisible, Bool, bool, false) \
macro(CompositingRepaintCountersVisible, compositingRepaintCountersVisible, Bool, bool, false) \