diff options
author | Eric Anholt <eric@anholt.net> | 2009-11-12 18:27:12 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-11-13 13:18:57 -0800 |
commit | 3727858ceb324c955b00ae29b8c1e12f47060fce (patch) | |
tree | 04f6f4729f87a66d2ebd58d8903720f057003cb2 /src/mesa | |
parent | b54f8eeae8e7f5c5b43cb17255fee70227713c9c (diff) | |
download | external_mesa3d-3727858ceb324c955b00ae29b8c1e12f47060fce.zip external_mesa3d-3727858ceb324c955b00ae29b8c1e12f47060fce.tar.gz external_mesa3d-3727858ceb324c955b00ae29b8c1e12f47060fce.tar.bz2 |
i965: Remove an unused cache_item field.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_cache.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_copy.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 2681913..87e8a6a 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -320,7 +320,6 @@ struct brw_cache_item { GLuint nr_reloc_bufs; dri_bo *bo; - GLuint data_size; struct brw_cache_item *next; }; diff --git a/src/mesa/drivers/dri/i965/brw_state_cache.c b/src/mesa/drivers/dri/i965/brw_state_cache.c index d2ab624..e4c9ba7 100644 --- a/src/mesa/drivers/dri/i965/brw_state_cache.c +++ b/src/mesa/drivers/dri/i965/brw_state_cache.c @@ -245,7 +245,6 @@ brw_upload_cache( struct brw_cache *cache, item->bo = bo; dri_bo_reference(bo); - item->data_size = data_size; if (cache->n_items > cache->size * 1.5) rehash(cache); diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index bb21dd5..4b5fe7b 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_copy.c +++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c @@ -109,7 +109,7 @@ do_copy_texsubimage(struct intel_context *intel, return GL_FALSE; } - intelFlush(ctx); + // intelFlush(ctx); LOCK_HARDWARE(intel); { drm_intel_bo *dst_bo = intel_region_buffer(intel, |