pixman-renderer: simplify the output-to-buffer matrix computation
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 20 May 2014 20:53:19 +0000 (15:53 -0500)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 11 Mar 2015 10:26:53 +0000 (12:26 +0200)
commit8870a23fbd6a54d2290d2f5d9c4696e24cec4770
treec1502821ea4d100d8f603a6ab58a4f5b5a990b2b
parent1e05904cd3f8507bdd7b2d128739e2744306ba43
pixman-renderer: simplify the output-to-buffer matrix computation

Now that we have a buffer-to-surface matrix and the global-to-output matrix
is in pixels, we can remove a large chunk of confusing code from the pixman
renderer.  Hopefully, having this stuff in weston core will keep the pixman
renderer from gettin broken quite as often.

This patch makes attempting zoom on the pixman-renderer render funny
stuff. We didn't support zoom before, now it renders wrong instead of
not zooming at all.

[Pekka: adjust commit message]
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/pixman-renderer.c