i965/blorp: Use blorp_address in brw_blorp_surface instead of bo+offset
[mesa.git] / src / mesa / state_tracker / st_texture.h
index d5e828189ef95669d98ec67fd578c45da0bc8046..b2ddc14ddfc622c5da039a4d4719d259d2413ef1 100644 (file)
@@ -65,7 +65,12 @@ struct st_texture_image
     */
    struct st_texture_image_transfer *transfer;
    unsigned num_transfers;
-};
+
+   /* For ETC images, keep track of the original data. This is necessary for
+    * mapping/unmapping, as well as image copies.
+    */
+   GLubyte *etc_data;
+ };
 
 
 /**