mutter/cogl/driver/gl
Damien Lespiau ca80e8802b cogl-pixel-buffer: Add a fallback path
First, let's add a new public feature called, surprisingly,
COGL_FEATURE_PBOS to check the availability of PBOs and provide a
fallback path when running on older GL implementations or on OpenGL ES

In case the underlying OpenGL implementation does not provide PBOs, we
need a fallback path (a malloc'ed buffer). The CoglPixelBufer
constructors will instanciate a subclass of CoglBuffer that handles
map/unmap and set_data() with a malloc'ed buffer.

The public feature is useful to check before using set_data() on a
buffer as it will mean doing a memcpy() when not supporting PBOs (in
that case, it's better to create the texture directly instead of using a
CoglBuffer).
2010-02-08 17:14:49 +00:00
..
cogl-context-driver.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-context-driver.h cogl: Use APIENTRY for GL function pointer declarations 2009-11-18 19:24:09 +00:00
cogl-defines.h.in cogl: Remove the CGL_* defines 2010-01-12 17:10:15 +00:00
cogl-feature-functions.h cogl-pixel-buffer: Add a fallback path 2010-02-08 17:14:49 +00:00
cogl-program.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-program.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-shader-private.h Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-shader.c cogl: Make it easier to add checks for GL extensions 2009-11-17 15:11:26 +00:00
cogl-texture-driver.c cogl: new textures sould have GL_TEXTURE_MIN_FILTER set to GL_LINEAR 2010-02-08 17:14:49 +00:00
cogl.c cogl: Add the missing terminators for the arrays of feature functions 2009-11-18 13:23:10 +00:00
Makefile.am build: Add cogl-feature-functions.h to the dist 2009-11-18 14:43:46 +00:00