Damien Lespiau d0fe479536 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
..
2009-11-06 11:48:42 +00:00
2010-02-04 21:10:02 +00:00
2009-01-20 18:47:50 +00:00
2010-02-03 16:34:27 +00:00
2010-02-01 10:40:34 +00:00
2009-10-14 11:31:26 +01:00
2010-01-20 00:38:07 +00:00
2009-07-10 11:38:42 +01:00
2010-02-04 21:10:02 +00:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-02-01 10:40:34 +00:00
2010-02-07 18:25:19 +00:00
2009-10-16 15:55:05 +01:00
2010-02-07 18:25:19 +00:00
2010-02-07 18:25:19 +00:00