diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-08 22:22:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-21 12:59:34 +0000 |
commit | abb37861d9f3310fe2d16194d893682092f41087 (patch) | |
tree | f0fe39e0ca39c83951eedb9086feaf3607cfeb30 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | e476e122207e6195a16a8c7d2cab90eeba227934 (diff) |
i965: Combine vb upload buffer with the general upload buffer
Reuse the new common upload buffer for uploading temporary indices and
rebuilt vertex arrays.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index ea74530be6..4fbb554a39 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -487,14 +487,6 @@ struct brw_context struct brw_vertex_element *enabled[VERT_ATTRIB_MAX]; GLuint nr_enabled; -#define BRW_NR_UPLOAD_BUFS 17 -#define BRW_UPLOAD_INIT_SIZE (128*1024) - - struct { - drm_intel_bo *bo; - GLuint offset; - } upload; - /* Summary of size and varying of active arrays, so we can check * for changes to this state: */ |