mutter/cogl/winsys
Robert Bragg 804082abd3 Expose EGL context/display and GLX context
To help facilitate integration with third party frameworks this exposes
the EGL context and display to applications as well as the GLX context.
(Note that the GLX display is already available via
cogl_xlib_renderer_get_display())

This adds a new top-level <cogl/cogl-glx.h> header that needs to be
included explicitly to access the glx specific api.

Anyone using these apis will be responsible for checking that Cogl
is indeed using EGL or GLX by calling cogl_renderer_get_winsys_id()

This will enable GStreamer, for example, to be able to create a GL
context that shares resources with Cogl's context.

https://bugzilla.gnome.org/show_bug.cgi?id=724992

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2014-03-20 17:34:04 +00:00
..
cogl-texture-pixmap-x11-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-texture-pixmap-x11.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-texture-pixmap-x11.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-android-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-android.c egl: remove NativeWindowType/NativeDisplayType defines 2014-03-20 17:34:04 +00:00
cogl-winsys-egl-feature-functions.h egl: fix incorrect #ifdef guarding of features 2014-03-20 17:34:01 +00:00
cogl-winsys-egl-gdl-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-gdl.c egl: remove NativeWindowType/NativeDisplayType defines 2014-03-20 17:34:04 +00:00
cogl-winsys-egl-kms-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-kms.c egl: remove NativeWindowType/NativeDisplayType defines 2014-03-20 17:34:04 +00:00
cogl-winsys-egl-null-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-null.c egl: remove NativeWindowType/NativeDisplayType defines 2014-03-20 17:34:04 +00:00
cogl-winsys-egl-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-wayland-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-wayland.c cogl-winsys-egl-wayland: Report an error if we can't find the globals we need 2014-03-12 14:41:01 +00:00
cogl-winsys-egl-x11-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-egl-x11.c egl: remove NativeWindowType/NativeDisplayType defines 2014-03-20 17:34:04 +00:00
cogl-winsys-egl.c Expose EGL context/display and GLX context 2014-03-20 17:34:04 +00:00
cogl-winsys-glx-feature-functions.h glx-feature-functions: update misleading comment 2014-03-20 17:34:04 +00:00
cogl-winsys-glx-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-glx.c Expose EGL context/display and GLX context 2014-03-20 17:34:04 +00:00
cogl-winsys-private.h Expose EGL context/display and GLX context 2014-03-20 17:34:04 +00:00
cogl-winsys-sdl2.c sdl2: fix GL driver selection 2014-03-20 17:34:04 +00:00
cogl-winsys-sdl-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-sdl.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-stub-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-stub.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-wgl-feature-functions.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-wgl-private.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys-wgl.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-winsys.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00