summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-08-02 22:31:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-08-15 00:16:09 +0100
commit2220693a40a4f8d13603b3fb29273ec59fd433bc (patch)
treeaec5bf4af07b2a2c2c0d96069e028bdcdec953e9 /build
parenteed1f2efdf36173e23b7177bb34ab9a5f015fb2a (diff)
Introduce cairo_mime_surface_t
The mime surface is a user-callback surface designed for interfacing cairo with an opaque data source. For instance, in a web browser, the incoming page may be laid out and rendered to a recording surface before all the image data has finished being downloaded. In this circumstance we need to pass a place holder to cairo and to supply the image data later upon demand. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.win32.features-h1
-rw-r--r--build/configure.ac.features1
2 files changed, 2 insertions, 0 deletions
diff --git a/build/Makefile.win32.features-h b/build/Makefile.win32.features-h
index e49ad6e6d..84d65f4fe 100644
--- a/build/Makefile.win32.features-h
+++ b/build/Makefile.win32.features-h
@@ -99,6 +99,7 @@ ifeq ($(CAIRO_HAS_TEST_SURFACES),1)
@echo "#define CAIRO_HAS_TEST_SURFACES 1" >> $(top_srcdir)/src/cairo-features.h
endif
@echo "#define CAIRO_HAS_IMAGE_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h
+ @echo "#define CAIRO_HAS_MIME_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h
@echo "#define CAIRO_HAS_RECORDING_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h
@echo "#define CAIRO_HAS_OBSERVER_SURFACE 1" >> $(top_srcdir)/src/cairo-features.h
ifeq ($(CAIRO_HAS_TEE_SURFACE),1)
diff --git a/build/configure.ac.features b/build/configure.ac.features
index 4f774e308..faa762ca2 100644
--- a/build/configure.ac.features
+++ b/build/configure.ac.features
@@ -366,6 +366,7 @@ AC_DEFUN([CAIRO_REPORT],
echo " Image: yes (always builtin)"
echo " Recording: yes (always builtin)"
echo " Observer: yes (always builtin)"
+ echo " Mime: yes (always builtin)"
echo " Tee: $use_tee"
echo " XML: $use_xml"
echo " Skia: $use_skia"