summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-30 08:34:13 +0100
committerMarek Olšák <[email protected]>2012-01-31 23:12:30 +0100
commit4fd97b46a071a8dcec6ec6658dfc835e08f4e2c6 (patch)
tree1bfedf5736d2591ac094d30e5e4991564cdce662 /src/gallium/winsys
parent0813e58a3e41faf6f2072d034dfdc6198a3a1fee (diff)
r600g: remove unused flush code
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.h4
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h10
2 files changed, 1 insertions, 13 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
index 21cfe995510..82ea14105df 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.h
@@ -47,10 +47,6 @@ struct radeon_bo_desc {
struct radeon_bo {
struct pb_buffer base;
- /* Don't move these! */
- unsigned last_flush;
- unsigned binding;
-
struct radeon_bomgr *mgr;
struct radeon_drm_winsys *rws;
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index d33eaa7059c..9afd7f8ac82 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -70,15 +70,7 @@ enum radeon_bo_usage { /* bitfield */
};
struct winsys_handle;
-
-struct radeon_winsys_cs_handle { /* for write_reloc etc. */
- struct {
- struct pb_buffer base;
- } _private;
-
- unsigned last_flush;
- unsigned binding;
-};
+struct radeon_winsys_cs_handle;
struct radeon_winsys_cs {
unsigned cdw; /* Number of used dwords. */