Neil Roberts
9bb74988d5
cogl: Fallback to set_data when mapping a buffer to fill it
...
In the journal code and when generating the stroke path the vertices
are generated on the fly and stored in a CoglBuffer using
cogl_buffer_map. However cogl_buffer_map is allowed to fail but it
wasn't checking for a NULL return value. In particular on GLES it will
always fail because glMapBuffer is only provided by an extension. This
adds a new pair of internal functions called
_cogl_buffer_{un,}map_for_fill_or_fallback which wrap
cogl_buffer_map. If the map fails then it will instead return a
pointer into a GByteArray attached to the context. When the buffer is
unmapped the array is copied into the buffer using
cogl_buffer_set_data.
2011-01-13 16:36:32 +00:00
..
2011-01-10 16:55:00 +00:00
2010-09-12 19:25:47 +01:00
2010-11-03 18:09:23 +00:00
2011-01-13 16:36:32 +00:00
2010-11-11 13:17:26 +00:00
2010-12-13 18:59:41 +00:00
2011-01-13 11:50:09 +00:00
2010-12-13 18:59:41 +00:00
2010-12-13 18:59:41 +00:00
2010-07-15 17:24:01 +01:00
2011-01-10 16:55:01 +00:00
2011-01-10 16:55:01 +00:00
2011-01-10 16:54:58 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:28:29 +00:00
2010-12-13 17:28:29 +00:00
2010-11-24 18:06:44 +00:00
2010-06-15 15:26:27 +01:00
2011-01-13 16:36:32 +00:00
2011-01-13 16:36:32 +00:00
2010-12-22 09:52:35 +00:00
2010-08-12 11:54:42 +01:00
2010-08-12 11:54:42 +01:00
2010-12-13 17:29:14 +00:00
2010-12-03 17:16:58 +00:00
2010-12-03 17:16:57 +00:00
2010-11-19 13:27:30 +00:00
2010-12-07 16:00:32 +00:00
2010-06-15 15:26:27 +01:00
2010-06-15 15:26:27 +01:00
2011-01-13 16:36:32 +00:00
2011-01-13 16:36:32 +00:00
2010-12-07 16:00:32 +00:00
2010-12-07 16:00:32 +00:00
2010-12-07 16:00:32 +00:00
2010-07-13 14:28:51 +01:00
2010-03-01 12:56:10 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2010-06-22 12:22:43 +01:00
2010-06-22 12:22:43 +01:00
2010-11-25 18:18:51 +00:00
2010-06-01 12:08:18 +01:00
2010-11-24 15:56:35 +00:00
2010-12-13 17:29:14 +00:00
2010-12-07 12:16:50 +00:00
2010-06-04 14:44:15 +01:00
2010-11-03 18:04:00 +00:00
2010-11-03 18:04:00 +00:00
2010-12-22 09:52:35 +00:00
2010-11-19 13:27:30 +00:00
2010-11-19 13:27:30 +00:00
2010-11-19 13:27:30 +00:00
2010-12-13 17:28:29 +00:00
2010-12-03 17:16:58 +00:00
2011-01-13 16:36:32 +00:00
2010-11-03 18:09:23 +00:00
2010-12-22 09:52:35 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-12-13 17:29:13 +00:00
2010-12-13 17:29:13 +00:00
2010-12-07 12:16:50 +00:00
2010-12-07 12:16:50 +00:00
2010-09-17 17:22:16 +01:00
2010-12-07 12:16:50 +00:00
2010-12-22 09:52:35 +00:00
2010-09-06 16:11:46 +01:00
2010-12-13 17:28:28 +00:00
2010-11-11 13:17:26 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:22:57 +00:00
2011-01-13 12:23:33 +00:00
2010-12-13 17:22:57 +00:00
2011-01-13 12:23:33 +00:00
2010-12-13 17:22:57 +00:00
2011-01-13 12:23:33 +00:00
2010-12-13 17:22:57 +00:00
2011-01-13 12:23:33 +00:00
2011-01-13 12:23:33 +00:00
2010-12-13 17:28:29 +00:00
2011-01-13 12:23:33 +00:00
2010-12-13 17:22:57 +00:00
2010-12-13 17:28:28 +00:00
2010-12-13 17:28:28 +00:00
2011-01-13 12:23:33 +00:00
2011-01-13 12:23:33 +00:00
2010-12-22 09:52:35 +00:00
2010-10-26 16:16:40 +01:00
2010-12-13 17:29:14 +00:00
2010-07-05 15:20:04 +01:00
2010-11-03 18:04:31 +00:00
2010-11-19 13:27:30 +00:00
2010-11-04 17:59:28 +00:00
2010-11-04 18:10:08 +00:00
2011-01-10 17:11:41 +00:00
2010-03-25 09:33:26 +00:00
2010-11-24 15:56:34 +00:00
2010-09-14 12:43:17 +01:00
2010-09-14 12:43:17 +01:00
2010-12-13 17:22:57 +00:00
2010-12-13 17:22:57 +00:00
2010-08-12 11:57:00 +01:00
2010-08-12 11:54:42 +01:00
2010-12-13 17:28:28 +00:00
2010-12-03 15:27:17 +00:00
2010-12-13 17:29:14 +00:00
2010-09-03 16:59:01 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-11-24 15:56:35 +00:00
2010-11-03 18:09:23 +00:00
2010-11-03 18:09:23 +00:00
2010-11-24 15:56:35 +00:00
2010-12-13 17:29:14 +00:00
2010-11-03 18:09:23 +00:00
2010-12-13 17:29:14 +00:00
2010-07-13 14:28:52 +01:00
2010-07-13 14:28:52 +01:00
2010-11-11 16:25:13 +00:00
2010-11-03 18:09:23 +00:00
2010-11-11 16:25:13 +00:00
2011-01-10 16:54:58 +00:00
2010-03-01 12:56:10 +00:00
2010-12-22 09:52:35 +00:00
2011-01-10 16:55:00 +00:00
2011-01-10 16:55:00 +00:00
2010-05-20 17:18:24 +01:00
2010-06-30 18:51:31 +01:00
2010-11-03 18:04:00 +00:00
2010-11-19 13:27:30 +00:00
2010-12-22 09:52:35 +00:00
2011-01-11 14:06:09 +00:00
2011-01-11 14:06:09 +00:00
2010-11-08 16:01:19 +00:00
2010-11-03 18:09:15 +00:00
2010-11-25 18:18:51 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:29:14 +00:00
2010-12-07 12:16:50 +00:00
2009-10-16 18:58:50 +01:00
2010-12-13 17:29:14 +00:00
2010-03-03 17:02:51 +00:00