Add wayland backend
This adds a clutter backend for running under the wayland window system. Initial cogl framebuffer integration by Robert Bragg.
This commit is contained in:
parent
a80a65ce8f
commit
963a0662b4
@ -294,6 +294,10 @@ if SUPPORT_EGL_PLATFORM_FRUITY
|
||||
cogl_sources_c += \
|
||||
$(srcdir)/winsys/cogl-fruity.c
|
||||
endif
|
||||
if SUPPORT_EGL_PLATFORM_DRM_SURFACELESS
|
||||
cogl_sources_c += \
|
||||
$(srcdir)/winsys/cogl-egl.c
|
||||
endif
|
||||
if SUPPORT_WIN32
|
||||
cogl_sources_c += \
|
||||
$(srcdir)/winsys/cogl-win32.c
|
||||
|
@ -27,11 +27,15 @@
|
||||
|
||||
#include "cogl.h"
|
||||
|
||||
#ifdef HAVE_COGL_GLES2
|
||||
#ifdef HAVE_STANDALONE_EGL
|
||||
#include <EGL/egl.h>
|
||||
#else /* HAVE_COGL_GLES2 */
|
||||
#include <EGL/eglext.h>
|
||||
#define NativeDisplayType EGLNativeDisplayType
|
||||
#define NativeWindowType EGLNativeWindowType
|
||||
#else
|
||||
#include <GLES/egl.h>
|
||||
#endif /* HAVE_COGL_GLES2 */
|
||||
#include <GLES/eglext.h>
|
||||
#endif
|
||||
|
||||
CoglFuncPtr
|
||||
_cogl_winsys_get_proc_address (const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user