|author||M Joonas Pihlaja <email@example.com>||2011-02-19 17:46:45 +0200|
|committer||M Joonas Pihlaja <firstname.lastname@example.org>||2011-02-19 18:01:27 +0200|
image: Avoid reusing pixman images for threadsafety.
The pixman_image_ref() and pixman_image_unref() functions aren't threadsafe in current pixman, so we can't share pixman images across contexts where they may end up moving between threads. The main use of these functions is in keeping a global cache of pixman_image_ts for solid colours and reusing the same pixman_image_t for patterns pointing to the same image data where possible. This patch removes those uses from cairo by wrapping them in a PIXMAN_HAS_ATOMIC_OPS conditional. There is no automatic test this, so we will have to manually turn this code back on when pixman does gain atomic ops. The only two remaining calls to pixman_image_ref() are done on locally created images so they are safe. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34177
Diffstat (limited to 'build/aclocal.makefile.m4')
0 files changed, 0 insertions, 0 deletions