summaryrefslogtreecommitdiff
path: root/src/cairo-observer.c
Commit message (Collapse)AuthorAgeFilesLines
* Split cairo-list into struct+inlinesChris Wilson2012-04-191-0/+2
| | | | | References: https://bugs.freedesktop.org/show_bug.cgi?id=48577 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* gstate: Update cached matrix state after device transform changes on the targetChris Wilson2010-06-111-0/+50
Commit 8d67186cb291cb877e52b987e2ac18c2a1175a57 caches whether the device transform is identity on context creation. However, the api is quite lax and allows the user to modify the device transform *after* he has started to use the surface in a context, as apparently WebKit does. Since this is not the only instance where we may need to invalidate caches if the user modifies state, introduce a simple mechanism for hooking into notifications of property changes. Fixes test/clip-device-offset.