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
..
2010-02-08 17:14:49 +00:00
2009-10-23 13:38:40 +01:00
2009-12-04 20:26:39 +00:00
2010-02-03 23:10:52 +00:00
2010-02-03 23:09:26 +00:00
2010-02-03 23:09:26 +00:00
2010-02-06 00:13:25 +00:00
2010-02-01 13:27:34 +00:00
2010-02-01 13:27:34 +00:00
2010-02-01 13:27:34 +00:00
2009-11-19 13:56:47 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2009-11-26 19:33:14 +00:00
2009-11-03 17:23:03 +00:00
2009-10-16 18:58:50 +01:00
2009-11-19 13:56:47 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-01-22 15:54:15 +00:00
2010-01-22 15:54:15 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2009-11-17 15:11:26 +00:00
2009-11-17 15:11:26 +00:00
2010-02-04 21:10:02 +00:00
2009-10-16 18:58:50 +01:00
2010-01-11 15:32:52 +00:00
2010-01-14 14:10:05 +00:00
2010-02-03 16:34:27 +00:00
2010-02-08 17:14:49 +00:00
2009-12-02 22:03:08 +00:00
2010-02-06 00:20:32 +00:00
2010-01-18 09:22:11 +00:00
2010-02-01 13:37:19 +00:00
2009-11-24 17:58:22 +00:00
2009-12-02 11:37:13 +00:00
2009-11-19 13:55:46 +00:00
2009-11-04 03:34:04 +00:00
2009-11-26 19:33:14 +00:00
2010-01-04 11:58:32 +00:00
2009-11-04 03:34:05 +00:00
2009-11-19 13:56:47 +00:00
2009-11-26 19:33:13 +00:00
2009-10-16 18:58:50 +01:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 13:35:45 +00:00
2009-10-16 18:58:50 +01:00
2010-01-08 20:19:50 +00:00
2010-01-08 20:19:50 +00:00
2010-01-12 17:10:15 +00:00
2009-10-16 18:58:52 +01:00
2009-10-16 18:58:52 +01:00
2010-01-18 09:22:04 +00:00
2010-02-05 17:03:04 +00:00
2009-12-02 22:03:27 +00:00
2009-12-02 22:03:26 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-03 23:10:52 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-08 17:14:49 +00:00
2010-02-01 10:40:34 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2010-02-06 00:20:32 +00:00
2009-11-19 14:19:59 +00:00
2010-01-28 16:52:42 +00:00
2010-02-08 17:14:49 +00:00
2009-10-16 18:58:50 +01:00
2010-02-08 17:14:49 +00:00
2010-01-05 18:02:29 +00:00