summaryrefslogtreecommitdiff
path: root/cogl/winsys/cogl-winsys-egl-x11.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-12-13 16:23:25 +0000
committerNeil Roberts <neil@linux.intel.com>2011-12-14 16:40:26 +0000
commitff5bfc4a869b5f4afc0ac90e7cf39f613f348441 (patch)
tree057d5ad6466e58ba7013213d9841e1c6d8b7e956 /cogl/winsys/cogl-winsys-egl-x11.c
parent3a4dce0c53dbcdc1b1ff0227876593c5dfacaaa8 (diff)
downloadcogl-ff5bfc4a869b5f4afc0ac90e7cf39f613f348441.tar.gz
Rename the EGL_X11 winsys to EGL_XLIB
Eventually we might want to have an XCB-based EGL winsys. We already have xlib-specific API in CoglRenderer (eg, to set a foreign display) so the application needs to be able to specifically select between XCB and XLIB. This also removes the POWERVR part while renaming COGL_HAS_EGL_PLATFORM_POWERVR_X11_SUPPORT to COGL_HAS_EGL_PLATFORM_XLIB_SUPPORT because the winsys is equally applicable to Mesa. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/winsys/cogl-winsys-egl-x11.c')
-rw-r--r--cogl/winsys/cogl-winsys-egl-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cogl/winsys/cogl-winsys-egl-x11.c b/cogl/winsys/cogl-winsys-egl-x11.c
index 3a646e95..b66a6d87 100644
--- a/cogl/winsys/cogl-winsys-egl-x11.c
+++ b/cogl/winsys/cogl-winsys-egl-x11.c
@@ -682,7 +682,7 @@ _cogl_winsys_egl_vtable =
};
const CoglWinsysVtable *
-_cogl_winsys_egl_x11_get_vtable (void)
+_cogl_winsys_egl_xlib_get_vtable (void)
{
static gboolean vtable_inited = FALSE;
static CoglWinsysVtable vtable;
@@ -694,8 +694,8 @@ _cogl_winsys_egl_x11_get_vtable (void)
vtable = *_cogl_winsys_egl_get_vtable ();
- vtable.id = COGL_WINSYS_ID_EGL_X11;
- vtable.name = "EGL_X11";
+ vtable.id = COGL_WINSYS_ID_EGL_XLIB;
+ vtable.name = "EGL_XLIB";
vtable.renderer_connect = _cogl_winsys_renderer_connect;
vtable.renderer_disconnect = _cogl_winsys_renderer_disconnect;