summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-21 02:15:28 +1000
committerDave Airlie <airlied@redhat.com>2009-01-21 02:15:28 +1000
commitddbd6ed326275de0c22011a2700f342409beee76 (patch)
tree220312e3d12a45950b6a54c2a875e6c08f74749c /src/mesa/drivers/dri/r300/r300_context.h
parent33dc14c707734df37fb02b7bcc278ddeb94036f1 (diff)
r300: move to common texture_image object
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 1c228b42ef..54844370ea 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -79,34 +79,6 @@ typedef struct r300_context *r300ContextPtr;
/************ DMA BUFFERS **************/
-
-/* Texture related */
-typedef struct _r300_texture_image r300_texture_image;
-
-
-struct _r300_texture_image {
- struct gl_texture_image base;
-
- /**
- * If mt != 0, the image is stored in hardware format in the
- * given mipmap tree. In this case, base.Data may point into the
- * mapping of the buffer object that contains the mipmap tree.
- *
- * If mt == 0, the image is stored in normal memory pointed to
- * by base.Data.
- */
- struct _radeon_mipmap_tree *mt;
- struct radeon_bo *bo;
-
- int mtlevel; /** if mt != 0, this is the image's level in the mipmap tree */
- int mtface; /** if mt != 0, this is the image's face in the mipmap tree */
-};
-
-static INLINE r300_texture_image *get_r300_texture_image(struct gl_texture_image *image)
-{
- return (r300_texture_image*)image;
-}
-
/* The blit width for texture uploads
*/
#define R300_BLIT_WIDTH_BYTES 1024