Robert Bragg
8ae53cea08
auto-texture: revert _new_with_size semantics
...
This reverts the change in semantics for cogl_texture_new_with_size so
that it goes back to allocating textures synchronously and returning
NULL if there was a failure to allocate. Only the new/2.0 texture apis
will have the lazy allocation behaviour so we avoid breaking existing
code. This also fixes a potential crasher by removing a code path
that was passing NULL to cogl_texture_allocate() that would have caused
and abort if there were an error.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
2013-09-02 16:49:33 +01:00
..
2013-09-02 16:22:08 +01:00
2013-05-29 19:30:44 +01:00
2013-08-23 13:55:42 +01:00
2013-08-19 22:44:45 +01:00
2013-08-19 22:44:35 +01:00
2013-07-29 16:38:53 +01:00
2013-07-29 16:57:33 +01:00
2013-07-29 16:38:53 +01:00
2013-07-29 16:57:33 +01:00
2013-07-29 16:57:33 +01:00
2013-06-07 16:53:29 +01:00
2013-06-07 16:53:29 +01:00
2013-06-07 16:53:29 +01:00
2013-09-02 16:49:33 +01:00
2013-08-30 12:02:54 +01:00
2013-04-04 13:37:51 +01:00
2013-07-29 16:31:44 +01:00
2013-07-29 16:59:37 +01:00
2013-07-29 18:31:36 +01:00
2013-06-06 21:45:11 +01:00
2013-08-19 22:44:44 +01:00
2013-03-06 16:46:03 +00:00
2013-08-19 22:44:35 +01:00
2013-08-19 22:44:35 +01:00
2013-08-19 22:44:35 +01:00
2013-08-19 22:44:35 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-08-19 22:44:45 +01:00
2013-07-09 22:52:49 +01:00
2013-08-20 19:18:40 -04:00
2013-09-02 16:22:01 +01:00
2013-08-23 14:51:43 +01:00
2013-06-07 16:53:29 +01:00
2013-05-29 19:30:44 +01:00
2013-08-30 12:04:36 +01:00
2013-08-30 12:04:36 +01:00
2013-08-23 16:44:07 +01:00
2013-08-23 16:44:07 +01:00
2013-07-29 16:31:44 +01:00
2013-07-29 18:31:36 +01:00
2013-06-27 14:29:51 +01:00
2013-05-29 11:58:48 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-05-28 21:36:03 +01:00
2013-07-04 11:40:40 +01:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-08-19 22:44:44 +01:00
2013-08-20 01:06:25 +01:00
2013-08-20 01:06:25 +01:00
2013-06-13 13:45:47 +01:00
2013-08-19 22:44:44 +01:00
2013-04-30 16:39:31 +01:00
2013-04-30 16:39:31 +01:00
2013-09-02 16:22:08 +01:00
2013-09-02 16:22:01 +01:00
2013-09-02 16:22:01 +01:00
2013-04-30 16:39:31 +01:00
2013-04-30 16:39:31 +01:00
2013-08-19 22:44:45 +01:00
2013-05-29 19:30:44 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-08-23 13:55:42 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-07-04 11:40:39 +01:00
2013-08-19 22:44:45 +01:00
2013-08-23 14:51:43 +01:00
2013-08-19 22:44:45 +01:00
2013-06-13 13:45:47 +01:00
2013-07-30 15:08:39 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-02-22 16:36:38 +01:00
2013-08-30 12:04:36 +01:00
2013-07-11 14:22:12 +01:00
2013-07-11 14:22:12 +01:00
2013-08-19 22:44:45 +01:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-06-21 14:18:37 +01:00
2013-06-06 21:49:14 +01:00
2013-04-04 13:38:43 +01:00
2013-04-04 13:38:41 +01:00
2013-04-04 13:38:43 +01:00
2013-06-06 21:27:09 +01:00
2013-06-13 13:45:47 +01:00
2013-06-21 14:18:37 +01:00
2013-06-13 13:45:46 +01:00
2013-06-13 13:45:46 +01:00
2013-06-21 14:18:37 +01:00
2013-06-21 14:18:37 +01:00
2013-06-21 14:18:37 +01:00
2013-07-19 13:54:07 +01:00
2013-07-29 18:31:36 +01:00
2013-07-01 13:47:48 +01:00
2013-07-11 14:22:12 +01:00
2013-04-30 16:39:31 +01:00
2013-07-29 18:31:36 +01:00
2013-07-30 15:08:39 +01:00
2013-07-29 18:31:36 +01:00
2013-07-29 18:31:36 +01:00
2013-08-23 15:22:30 +01:00
2013-05-29 19:30:44 +01:00
2013-08-23 16:49:59 +01:00
2013-08-23 16:50:51 +01:00
2013-08-23 15:22:30 +01:00
2013-06-13 13:45:47 +01:00
2013-09-02 16:22:01 +01:00
2013-08-19 22:44:45 +01:00
2013-09-02 16:22:08 +01:00
2013-07-29 16:31:44 +01:00
2013-07-29 16:49:01 +01:00
2013-07-29 16:49:01 +01:00
2013-07-29 16:49:01 +01:00
2013-07-29 16:48:49 +01:00
2013-07-29 16:48:49 +01:00
2013-08-23 14:51:43 +01:00
2013-07-29 16:31:44 +01:00
2013-08-26 23:19:27 +01:00
2013-08-19 22:44:44 +01:00
2013-09-02 16:49:33 +01:00
2013-07-04 11:40:39 +01:00
2013-08-19 22:44:45 +01:00
2013-07-29 18:31:36 +01:00
2013-08-19 22:44:45 +01:00
2013-07-09 15:46:46 +01:00
2013-07-01 13:48:22 +01:00
2013-05-30 13:41:44 +01:00
2013-05-30 13:41:44 +01:00
2013-01-30 20:09:49 +00:00
2013-04-30 16:39:31 +01:00
2013-05-28 21:36:03 +01:00
2013-08-19 22:44:45 +01:00
2013-06-06 21:27:09 +01:00
2013-08-20 12:14:12 +01:00
2013-08-30 12:04:36 +01:00
2013-08-30 12:04:36 +01:00
2013-08-19 22:44:35 +01:00