i965: Remove an unused cache_item field.
authorEric Anholt <eric@anholt.net>
Fri, 13 Nov 2009 02:27:12 +0000 (18:27 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 13 Nov 2009 21:18:57 +0000 (13:18 -0800)
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state_cache.c
src/mesa/drivers/dri/intel/intel_tex_copy.c

index 2681913a90406abb10e4157e10e47cbf32831a81..87e8a6aad4b3e1177ca838653d32afca6953fbb6 100644 (file)
@@ -320,7 +320,6 @@ struct brw_cache_item {
    GLuint nr_reloc_bufs;
 
    dri_bo *bo;
-   GLuint data_size;
 
    struct brw_cache_item *next;
 };   
index d2ab6247834d89c045fa8c8d9eaf45990f47b88d..e4c9ba7d870fccb95137a10ecf8e4c427a5885c2 100644 (file)
@@ -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);
index bb21dd5ed94fe668a2955d597573d662cfaaa85a..4b5fe7be9f5c22dd5b02e5011353802dd45a2aa4 100644 (file)
@@ -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,