Move region transformation code to weston_transformed_region
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 28 Oct 2013 03:25:01 +0000 (22:25 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Nov 2013 00:34:59 +0000 (16:34 -0800)
commit33ff636812b8f5db20be5c4c77bc3f9f25ea274b
tree2d6c810c751b8244f88a7337694a20bd8954b4a4
parentb6a3cc7f178123d7b094c3036de32548cdeeaeb7
Move region transformation code to weston_transformed_region

Both the Pixman renderer and the X11 backend contained effectively the same
region transformation code.  This commit adds a weston_transformed_region
function and changes pixman-renderer and compositor-x11 to use it.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/compositor-x11.c
src/compositor.c
src/compositor.h
src/pixman-renderer.c