7adf7c5e38
There were two problems stopping the KMS winsys from working with a GLES2 driver: • When creating the EGL context, it was missing the attribute to select the client version so it would end up with the GLES1 API. • When creating the depth buffer for the framebuffer it was using GL_DEPTH_COMPONENT but only GL_DEPTH_COMPONENT16 is supported on GLES. cogl-framebuffer already unconditionally uses this so it probably makes sense to do the same here. Reviewed-by: Robert Bragg <robert@linux.intel.com> |
||
---|---|---|
.. | ||
cogl-texture-pixmap-x11-private.h | ||
cogl-texture-pixmap-x11.c | ||
cogl-texture-pixmap-x11.h | ||
cogl-winsys-egl-feature-functions.h | ||
cogl-winsys-egl-private.h | ||
cogl-winsys-egl.c | ||
cogl-winsys-glx-feature-functions.h | ||
cogl-winsys-glx.c | ||
cogl-winsys-kms.c | ||
cogl-winsys-kms.h | ||
cogl-winsys-private.h | ||
cogl-winsys-sdl.c | ||
cogl-winsys-stub-private.h | ||
cogl-winsys-stub.c | ||
cogl-winsys-wgl-feature-functions.h | ||
cogl-winsys-wgl.c | ||
cogl-winsys.c |