Neil Roberts
41539dd7f0
bitmap: Use the 'copy' blend mode when loading images on Quartz
...
When loading images on Quartz, the image is rendered into a bitmap
context using a buffer allocated with
_cogl_bitmap_new_with_malloc_buffer. However this buffer is not
initialised and by default Quartz will blend the source image with the
destination so if there are transparent parts in the source image it
will leave garbage in the destination. This patch changes the blend
mode to 'copy' so that it won't try to blend.
Before 5b785dd4 the buffer was cleared because it was allocated with
g_malloc0 so it was working in that case. Presumably it should be more
efficient to disable blending and avoid the clear though.
https://bugzilla.gnome.org/show_bug.cgi?id=680124
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 5ba7f4e6837a539d92cbe45491f79a8926fd6828)
2012-08-15 17:14:25 +01:00
..
2012-08-06 18:51:33 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:38 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-09-09 15:06:31 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-05-06 12:12:08 +01:00
2011-09-09 15:06:31 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:44 +01:00
2012-08-06 14:27:39 +01:00
2011-05-16 14:31:31 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-15 17:14:25 +01:00
2012-08-06 18:50:22 +01:00
2012-08-06 18:50:22 +01:00
2012-08-06 18:50:22 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:40 +01:00
2011-12-06 18:51:57 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2010-03-01 12:56:10 +00:00
2011-05-16 18:45:51 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 18:51:34 +01:00
2012-08-06 18:51:34 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2009-10-16 18:58:50 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-11-22 16:07:21 +00:00
2012-08-06 14:27:42 +01:00
2012-08-06 18:51:31 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-15 13:44:22 +01:00
2012-08-15 13:46:20 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 14:27:39 +01:00
2011-05-16 14:31:31 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-05-16 14:31:31 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:43 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-02-20 23:16:37 +00:00
2011-06-14 12:14:02 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2011-11-01 12:03:02 +00:00
2012-08-06 14:27:42 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2011-05-16 13:28:17 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:38 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2011-07-13 12:30:07 +01:00
2012-08-06 14:27:39 +01:00
2011-07-13 12:30:07 +01:00
2012-08-06 14:27:39 +01:00
2010-12-13 17:22:57 +00:00
2012-08-06 14:27:39 +01:00
2010-12-13 17:22:57 +00:00
2012-08-15 13:46:25 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 18:51:33 +01:00
2011-12-06 19:02:06 +00:00
2012-08-06 14:27:40 +01:00
2011-12-06 18:51:57 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2010-12-13 17:22:57 +00:00
2012-08-06 14:27:40 +01:00
2010-12-13 17:28:28 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-03-07 13:26:19 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2011-11-01 12:02:59 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2010-09-14 12:43:17 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2011-05-16 14:11:47 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2011-07-01 17:52:55 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:45 +01:00
2012-02-20 23:12:45 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-01-27 17:18:32 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:33 +01:00
2012-01-27 17:18:32 +00:00
2012-08-06 14:27:44 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:44 +01:00
2012-08-06 18:51:33 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:44 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:44 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 18:50:22 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-14 18:55:42 +01:00
2012-08-14 18:55:42 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-03-20 14:26:44 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:34 +01:00
2011-06-30 14:33:13 +01:00
2012-08-06 14:27:45 +01:00
2011-06-30 14:34:33 +01:00
2012-02-20 23:12:45 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-02-20 23:12:45 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 14:27:42 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00