summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_winsys.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-12 22:07:41 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-13 17:43:38 +0200
commitae182296ce28f1efc8a08d9ddcf6b8a79b1bc14b (patch)
treecfaee68b1cd212978b2172411f9e3caa160d1eb7 /src/gallium/drivers/r300/r300_winsys.h
parent7d5230ce90b5271b440da81c64ef20cdcb61491d (diff)
r300g: replace r300_cs_info with simplier get_cs_free_dwords
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r--src/gallium/drivers/r300/r300_winsys.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index 6ce218923b..6ef1c996a2 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -47,13 +47,6 @@ enum r300_reference_domain { /* bitfield */
R300_REF_HW = 2
};
-struct r300_cs_info {
- /* In DWORDs. */
- unsigned used;
- unsigned free;
- unsigned capacity;
-};
-
struct r300_winsys_screen {
void (*destroy)(struct r300_winsys_screen *ws);
@@ -109,9 +102,8 @@ struct r300_winsys_screen {
* Returns TRUE if a flush is required. */
boolean (*validate)(struct r300_winsys_screen* winsys);
- /* Return current CS info. */
- void (*get_cs_info)(struct r300_winsys_screen *winsys,
- struct r300_cs_info *info);
+ /* Return the number of free dwords in CS. */
+ unsigned (*get_cs_free_dwords)(struct r300_winsys_screen *winsys);
/* Start a command emit. */
void (*begin_cs)(struct r300_winsys_screen* winsys,