summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2010-01-09 20:36:47 +0100
committerMaciej Cencora <m.cencora@gmail.com>2010-03-07 12:21:30 +0100
commitb078a613bedb76242af177bee12520203bd63d50 (patch)
tree04d4255bfa1424b846abdf5890e9448be927b6b2 /src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
parent8014b5f06853a5926ee772af232abdc9cd4e90c4 (diff)
radeon: add texture helper function
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
index c911688c1a..424bf5181a 100644
--- a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
+++ b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
@@ -89,4 +89,7 @@ void radeon_try_alloc_miptree(radeonContextPtr rmesa, radeonTexObj *t);
GLuint radeon_miptree_image_offset(radeon_mipmap_tree *mt,
GLuint face, GLuint level);
uint32_t get_base_teximage_offset(radeonTexObj *texObj);
+
+unsigned get_texture_image_row_stride(radeonContextPtr rmesa, gl_format format, unsigned width);
+
#endif /* __RADEON_MIPMAP_TREE_H_ */