[GTK] Add compilation options to enable/disable Accelerated Compositing and to choose...
[WebKit-https.git] / GNUmakefile.am
index cf2dd889560e636eb3cb8f7946fbead17c529005..b8703f924efb6fbb8726c627e98c9796cdd413ab 100644 (file)
@@ -170,6 +170,16 @@ global_cppflags += \
        -DWTF_USE_ACCELERATED_COMPOSITING=1
 endif
 
+if USE_TEXTURE_MAPPER_CAIRO
+global_cppflags += \
+       -DWTF_TEXTURE_MAPPER_CAIRO=1
+endif
+
+if USE_TEXTURE_MAPPER_GL
+global_cppflags += \
+       -DWTF_TEXTURE_MAPPER_OPENGL=1
+endif
+
 # ----
 # GTK+ 2.x/3.x support
 # ----