summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/radeon/core/radeon_buffer.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-18 09:32:04 +1000
committerDave Airlie <airlied@redhat.com>2009-12-18 10:24:50 +1000
commit5f59e79f3a9f273c683304117802bb216171c257 (patch)
tree1697474ff912aba99fb6173042f0c89da4af7445 /src/gallium/winsys/drm/radeon/core/radeon_buffer.h
parent294bd53d4b6b15a6890599c46f14b205a3c738bf (diff)
r300g: store own copy of flush_cb and flush data.
don't go sneaking around inside the libdrm copy.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_buffer.h')
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_buffer.h b/src/gallium/winsys/drm/radeon/core/radeon_buffer.h
index 1e91e18927..950a1d66c3 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_buffer.h
+++ b/src/gallium/winsys/drm/radeon/core/radeon_buffer.h
@@ -69,6 +69,10 @@ struct radeon_winsys_priv {
/* Current CS. */
struct radeon_cs* cs;
+
+ /* Flush CB */
+ void (*flush_cb)(void *);
+ void *flush_data;
};
struct radeon_winsys* radeon_pipe_winsys(int fb);