summaryrefslogtreecommitdiff
path: root/src/sna/fb
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-25 13:50:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-09-25 13:54:05 +0100
commit0a00c3765c3ba464bb4e9cde12e964c979421ed6 (patch)
tree17aad040c39af131858f240d6744e8aed2d62f87 /src/sna/fb
parent8f5a6d107bb30fa218ff3c1d07532ca834b82edc (diff)
sna: Accommodate changes to the Damage extension not unwrapping the GC
commit 4dc2a76740d921c824a4d8193f39dd373475f02a Author: Adam Jackson <ajax@redhat.com> Date: Thu Sep 20 17:57:00 2012 -0400 miext/damage: Only wrap into the GC ops chain if there's a listener (v3) leaves the GC->funcs still pointing to the damage layer as it calls into the driver functions, so we need to be careful to restore the correct function table after we manipulate the GC for fallbacks. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/fb')
-rw-r--r--src/sna/fb/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/fb/fb.h b/src/sna/fb/fb.h
index adefaa19..e58e0396 100644
--- a/src/sna/fb/fb.h
+++ b/src/sna/fb/fb.h
@@ -278,6 +278,7 @@ typedef int FbStride;
typedef struct {
long changes;
long serial;
+ GCFuncs *old_funcs;
void *priv;
FbBits and, xor; /* reduced rop values */