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-16 23:11:36 +0100
committerMaciej Cencora <m.cencora@gmail.com>2010-03-07 12:21:30 +0100
commit0d3835475fcb803a295dc738d90b83788bdc9472 (patch)
tree18ec8d63eb9c26ea7f5cda49ce808df316dac9b2 /src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
parentb078a613bedb76242af177bee12520203bd63d50 (diff)
radeon: minor refactoring of mipmap code
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h6
1 files changed, 6 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 424bf5181a..69103e68de 100644
--- a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
+++ b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.h
@@ -92,4 +92,10 @@ uint32_t get_base_teximage_offset(radeonTexObj *texObj);
unsigned get_texture_image_row_stride(radeonContextPtr rmesa, gl_format format, unsigned width);
+unsigned get_texture_image_size(
+ gl_format format,
+ unsigned rowStride,
+ unsigned height,
+ unsigned depth,
+ unsigned tiling);
#endif /* __RADEON_MIPMAP_TREE_H_ */