aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg/xorg_exa.h
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-05-16 17:45:10 +0200
committerMichel Dänzer <[email protected]>2012-05-16 18:30:39 +0200
commit76d6a64de30dc3af66c5aec855f1fc6560d85a89 (patch)
tree9bea9ad484c1345e81a211c74121dea2d3d3e2da /src/gallium/state_trackers/xorg/xorg_exa.h
parent0201c7d0af8424a8b8fd44243e3487898c11f96e (diff)
st/xorg: Better handling of EXA copies.
Always use the resource_copy_region hook. If a source and destination rectangle overlap, copy to/from a temporary pixmap.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.h b/src/gallium/state_trackers/xorg/xorg_exa.h
index 47501f9affe..e8f7c9f66fc 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa.h
+++ b/src/gallium/state_trackers/xorg/xorg_exa.h
@@ -35,14 +35,9 @@ struct exa_context
} transform;
struct {
- boolean use_surface_copy;
-
struct exa_pixmap_priv *src;
struct exa_pixmap_priv *dst;
-
- struct pipe_surface *dst_surface;
-
- struct pipe_resource *src_texture;
+ PixmapPtr tmp_pix;
} copy;
};