summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/common_misc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-01-21 02:21:45 +1000
committerDave Airlie <airlied@redhat.com>2009-01-21 02:21:45 +1000
commite0ec3243e87cbdfb5db2657fe791748e145930e8 (patch)
tree884b4354be0cd485ad2448aab9fc41fc144a423d /src/mesa/drivers/dri/radeon/common_misc.h
parentddbd6ed326275de0c22011a2700f342409beee76 (diff)
r300: start migrating common functions into common code
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_misc.h')
-rw-r--r--src/mesa/drivers/dri/radeon/common_misc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_misc.h b/src/mesa/drivers/dri/radeon/common_misc.h
index e4f200d6a5..a55e00a76c 100644
--- a/src/mesa/drivers/dri/radeon/common_misc.h
+++ b/src/mesa/drivers/dri/radeon/common_misc.h
@@ -33,4 +33,13 @@ GLboolean radeonMakeCurrent(__DRIcontextPrivate * driContextPriv,
void rcommon_emit_vector(GLcontext * ctx, struct radeon_aos *aos,
GLvoid * data, int size, int stride, int count);
void radeon_print_state_atom( struct radeon_state_atom *state );
+
+struct gl_texture_image *radeonNewTextureImage(GLcontext *ctx);
+void radeonFreeTexImageData(GLcontext *ctx, struct gl_texture_image *timage);
+
+void radeon_teximage_map(radeon_texture_image *image, GLboolean write_enable);
+void radeon_teximage_unmap(radeon_texture_image *image);
+void radeonMapTexture(GLcontext *ctx, struct gl_texture_object *texObj);
+void radeonUnmapTexture(GLcontext *ctx, struct gl_texture_object *texObj);
+void radeon_generate_mipmap(GLcontext* ctx, GLenum target, struct gl_texture_object *texObj);
#endif