Bug 23359

Summary: [Tracking] Support accelerated compositing
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, dino, ml
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.5   
Bug Depends on: 23356, 23357, 23358, 23360, 23361, 23362, 23363, 23364, 23365, 23368, 23371, 23548, 23628, 23629, 23689, 23765, 23781, 23796, 23854, 23862, 23878, 23883, 23905, 23908, 23913, 23928, 23942, 23943, 24137, 24163, 24165, 24312, 24327, 24328, 24401, 24412, 24435, 24440    
Bug Blocks:    

Description Simon Fraser (smfr) 2009-01-15 14:56:47 PST
Tracking bug for the accelerated compositing feature (enabled with USE_ACCELERATED_COMPOSITING).
Comment 1 Simon Fraser (smfr) 2009-02-11 21:17:28 PST
Here's how to turn it on:

diff --git a/WebCore/config.h b/WebCore/config.h
index 9e3dcdf..88e8b4d 100644
--- a/WebCore/config.h
+++ b/WebCore/config.h
@@ -108,6 +108,12 @@
 #define WTF_USE_CORE_TEXT 0
 #endif
 #define WTF_USE_NEW_THEME 1
+
+// Eventually this will be !tiger and !leopard (i.e. SnowLeopard and later)
+#if !defined(BUILDING_ON_TIGER)
+#define WTF_USE_ACCELERATED_COMPOSITING 1
+#endif
+
 #endif
 
 #if PLATFORM(SYMBIAN)
diff --git a/WebKit/mac/WebKitPrefix.h b/WebKit/mac/WebKitPrefix.h
index 3e26ab4..3b99338 100644
--- a/WebKit/mac/WebKitPrefix.h
+++ b/WebKit/mac/WebKitPrefix.h
@@ -81,6 +81,12 @@ typedef float CGFloat;
 #define WTF_USE_PLUGIN_HOST_PROCESS 1
 #endif
 
+// Define stuff that WebCore/config.h defines (because WebKit doesn't pull in that file)
+// Eventually this will be !tiger and !leopard (i.e. SnowLeopard and later)
+#if !defined(BUILDING_ON_TIGER)
+#define WTF_USE_ACCELERATED_COMPOSITING 1
+#endif
+
 #include <wtf/Platform.h>
 
 /* WebKit has no way to pull settings from WebCore/config.h for now */
Comment 2 Simon Fraser (smfr) 2009-07-07 22:20:48 PDT
Accelerated compositing is enabled now; no need for this bug.