summaryrefslogtreecommitdiff
path: root/cogl/cogl-display.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-03-04 12:50:39 +0000
committerRobert Bragg <robert@linux.intel.com>2011-05-05 14:46:02 +0100
commit7037812ae615abe1329184f786e705124244675b (patch)
treedb89f2348865408272cf484caff3ca5c4ba93d56 /cogl/cogl-display.h
parentce2da7944055fd104e145da100ee3eaba259206b (diff)
downloadcogl-7037812ae615abe1329184f786e705124244675b.tar.gz
EGL: Updates GDL platform support
The GDL API is used for example on intel ce4100 (aka Sodaville) based systems as a way to allocate memory that can be composited using the platforms overlay hardware. This updates the Cogl EGL winsys and the support in Clutter so we can continue to support these platforms.
Diffstat (limited to 'cogl/cogl-display.h')
-rw-r--r--cogl/cogl-display.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cogl/cogl-display.h b/cogl/cogl-display.h
index 00ce4fb0..720b86b2 100644
--- a/cogl/cogl-display.h
+++ b/cogl/cogl-display.h
@@ -36,6 +36,10 @@
G_BEGIN_DECLS
+#ifdef COGL_HAS_EGL_PLATFORM_GDL_SUPPORT
+#include <@CLUTTER_CEX100_LIBGDL_PREFIX@libgdl.h>
+#endif
+
/**
* SECTION:cogl-display
* @short_description: Represents a display pipeline
@@ -82,6 +86,14 @@ gboolean
cogl_display_setup (CoglDisplay *display,
GError **error);
+#ifdef COGL_HAS_EGL_PLATFORM_GDL_SUPPORT
+#define cogl_gdl_display_set_plane \
+ cogl_gdl_display_set_plane_EXP
+void
+cogl_gdl_display_set_plane (CoglDisplay *display,
+ struct gdl_plane *plane);
+#endif
+
G_END_DECLS
#endif /* __COGL_DISPLAY_H__ */