summaryrefslogtreecommitdiff
path: root/src/glamo.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-08-06 17:07:13 +0100
committerThomas White <taw@bitwiz.org.uk>2009-08-06 17:07:13 +0100
commitd476b80f89e976166228905489e4742ae2df2e0e (patch)
treef8c4f0ec895a3356c6005b15fa477423b0ceccf6 /src/glamo.h
parent6a86258bb9dbda75dfbf6610b12fc1442b0fa7ba (diff)
Fix command queue submission
This reworks the command queue caching and submission so that it works, and makes it a lot more maintainable in the process.
Diffstat (limited to 'src/glamo.h')
-rw-r--r--src/glamo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glamo.h b/src/glamo.h
index be4a1dc..531c719 100644
--- a/src/glamo.h
+++ b/src/glamo.h
@@ -106,6 +106,11 @@ typedef struct {
* "at once", when we are happy with it.
*/
MemBuf *cmd_queue;
+
+ /* The same, when using DRM */
+ uint16_t *cmdq_drm;
+ int cmdq_drm_used;
+ int cmdq_drm_size;
int cmdq_obj_used;
uint32_t *cmdq_objs;
unsigned int *cmdq_obj_pos;