[GTK] Add compilation options to enable/disable Accelerated Compositing and to choose...
[WebKit-https.git] / Source / WebCore / platform / graphics / GraphicsLayer.h
index 967fd1bbfa84e6ed024db471ac71fc961a060858..f288ddc13af232915c0fd55258aab7c87fecc351 100644 (file)
@@ -68,11 +68,18 @@ namespace WebCore {
 class LayerChromium;
 typedef LayerChromium PlatformLayer;
 }
-#elif PLATFORM(EFL) || PLATFORM(GTK)
+#elif PLATFORM(EFL)
 namespace WebCore {
 class TextureMapperPlatformLayer;
 typedef TextureMapperPlatformLayer PlatformLayer;
 };
+#elif PLATFORM(GTK)
+#if USE(TEXTURE_MAPPER_CAIRO) || USE(TEXTURE_MAPPER_GL)
+namespace WebCore {
+class TextureMapperPlatformLayer;
+typedef TextureMapperPlatformLayer PlatformLayer;
+};
+#endif
 #else
 typedef void* PlatformLayer;
 #endif