diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-11 16:04:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-11 16:08:17 +0100 |
commit | 1a544361e845e4881990624a597f9dc2b82d1c73 (patch) | |
tree | 0add36d21a7510644333dfb2bda441d34d324464 /test/reflected-stroke.ps3.ref.png | |
parent | f74b11415a1f7682dd50c222baa8815ef93681dc (diff) |
gstate: Update cached matrix state after device transform changes on the target
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.
Diffstat (limited to 'test/reflected-stroke.ps3.ref.png')
0 files changed, 0 insertions, 0 deletions