mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
f79e78f648
When Cogl is compiled with support for both the GL and GLES drivers it only includes the GL header and not the GLES header. That means in that case it would not compile in the code for the GL_EXT_discard_framebuffer extension even though it could be used on the GLES driver. This patch makes it use the standard names for the GL_COLOR, GL_STENCIL etc names instead of the _EXT suffixed names and manually defines them if we are using the GLES headers. That way the discard code can be used unconditionally. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 59c30292d0f3c28d6e0e08bc5bf3b4b10545d856) |
||
---|---|---|
.. | ||
gl | ||
gles | ||
cogl-attribute-gl-private.h | ||
cogl-attribute-gl.c | ||
cogl-buffer-gl-private.h | ||
cogl-buffer-gl.c | ||
cogl-clip-stack-gl-private.h | ||
cogl-clip-stack-gl.c | ||
cogl-framebuffer-gl-private.h | ||
cogl-framebuffer-gl.c | ||
cogl-pipeline-fragend-fixed-private.h | ||
cogl-pipeline-fragend-fixed.c | ||
cogl-pipeline-fragend-glsl-private.h | ||
cogl-pipeline-fragend-glsl.c | ||
cogl-pipeline-opengl-private.h | ||
cogl-pipeline-opengl.c | ||
cogl-pipeline-progend-fixed-private.h | ||
cogl-pipeline-progend-fixed.c | ||
cogl-pipeline-progend-glsl-private.h | ||
cogl-pipeline-progend-glsl.c | ||
cogl-pipeline-vertend-fixed-private.h | ||
cogl-pipeline-vertend-fixed.c | ||
cogl-pipeline-vertend-glsl-private.h | ||
cogl-pipeline-vertend-glsl.c | ||
cogl-texture-2d-gl-private.h | ||
cogl-texture-2d-gl.c | ||
cogl-texture-gl-private.h | ||
cogl-texture-gl.c | ||
cogl-util-gl-private.h | ||
cogl-util-gl.c |