diff options
author | Marek Olšák <[email protected]> | 2010-12-04 04:36:02 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-12-05 05:47:10 +0100 |
commit | 6947e5254889b99bfba7104d15e9526a7bc1cdfa (patch) | |
tree | 05227949ee9464928136b0abccdbda628c69a6ce /src/gallium/drivers/r300/r300_winsys.h | |
parent | c1365606c5b89872af4a0931e20f5cb78875eea6 (diff) |
r300g: cleanup winsys
Diffstat (limited to 'src/gallium/drivers/r300/r300_winsys.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_winsys.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h index c45888dbf38..0dd330d101f 100644 --- a/src/gallium/drivers/r300/r300_winsys.h +++ b/src/gallium/drivers/r300/r300_winsys.h @@ -33,6 +33,8 @@ #include "r300_defines.h" +#define R300_MAX_CMDBUF_DWORDS (16 * 1024) + struct winsys_handle; struct r300_winsys_screen; @@ -40,9 +42,8 @@ struct r300_winsys_buffer; /* for map/unmap etc. */ struct r300_winsys_cs_buffer; /* for write_reloc etc. */ struct r300_winsys_cs { - uint32_t *ptr; /* Pointer to the beginning of the CS. */ unsigned cdw; /* Number of used dwords. */ - unsigned ndw; /* Size of the CS in dwords. */ + uint32_t *buf; /* The command buffer. */ }; enum r300_value_id { |