mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
gles2: disable vbos until while we rework backend
The gles2 wrapper functions don't understand about the CoglBuffer API so they don't support attributes stored in a CoglVertexArray. Instead of teaching the backend about buffers we are going to wait until we have overhauled the GLES 2 backend. We are currently making progress consolidating the GLES 2 backend with a new GLSL backend for CoglMaterial. This will hugely simplify the GLES 2 support and share code with the OpenGL backend. In the end it's hoped that this problem will simply go away so it doesn't make much sense to solve it with the current design.
This commit is contained in:
parent
8034dc87d4
commit
5abdbd5f7a
@ -105,7 +105,12 @@ _cogl_features_init (void)
|
||||
flags |= COGL_FEATURE_TEXTURE_NPOT_BASIC;
|
||||
#endif
|
||||
|
||||
/* FIXME: HACK: We are in the process of overhauling the GLES 2 backend
|
||||
* and consolidating with a CoglMaterial GLSL backend. Currently though
|
||||
* use of CoglBuffers with GLES 2 is broken. */
|
||||
#ifndef HAVE_COGL_GLES2
|
||||
flags |= COGL_FEATURE_VBOS;
|
||||
#endif
|
||||
|
||||
/* Both GLES 1.1 and GLES 2.0 support point sprites in core */
|
||||
flags |= COGL_FEATURE_POINT_SPRITE;
|
||||
|
Loading…
Reference in New Issue
Block a user