Turn on accelerated drawing for WebKit2 by default
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jul 2014 02:40:11 +0000 (02:40 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jul 2014 02:40:11 +0000 (02:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=134708
<rdar://problem/17584642>

Reviewed by Simon Fraser.

* Shared/WebPreferencesDefinitions.h:
Make Mac match iOS, in that accelerated drawing is on by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebPreferencesDefinitions.h

index be631437f4f007838bca2123d02a7ea6c670f45e..2cdf6801c67b201f4bc00682cd078b4fa1fa1166 100644 (file)
@@ -1,3 +1,14 @@
+2014-07-07  Tim Horton  <timothy_horton@apple.com>
+
+        Turn on accelerated drawing for WebKit2 by default
+        https://bugs.webkit.org/show_bug.cgi?id=134708
+        <rdar://problem/17584642>
+
+        Reviewed by Simon Fraser.
+
+        * Shared/WebPreferencesDefinitions.h:
+        Make Mac match iOS, in that accelerated drawing is on by default.
+
 2014-07-07  Timothy Horton  <timothy_horton@apple.com>
 
         Don't leak _WKRemoteObjectRegistry in WKBrowsingContextController
index 6808382f98c149d543c6078d3f5191f93a0b96e3..7e9d4d72e39b2ddc27dbf242c38f95280a06390b 100644 (file)
 #define DEFAULT_TEMPORARY_TILE_COHORT_RETENTION_ENABLED true
 #endif
 
-#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_ACCELERATED_DRAWING_ENABLED false
 #define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING false
 #else
+#define DEFAULT_ACCELERATED_DRAWING_ENABLED true
 #define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING true
 #endif