summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_texture.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-27 11:32:25 -0600
committerBrian Paul <brianp@vmware.com>2010-04-27 11:32:25 -0600
commit1db3a55b9c59093f7bf4df39579287eeb0cf0a2b (patch)
treebefed1725b8b568106b42a95353dee0a66187e04 /src/gallium/drivers/llvmpipe/lp_texture.h
parent85ab6d2447784c417c705ec3c91be2893a801213 (diff)
llvmpipe: added llvmpipe_resource_size()
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h
index 7d0ae263e51..a8d08d6247f 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.h
+++ b/src/gallium/drivers/llvmpipe/lp_texture.h
@@ -184,6 +184,10 @@ void *
llvmpipe_resource_data(struct pipe_resource *resource);
+unsigned
+llvmpipe_resource_size(const struct pipe_resource *resource);
+
+
ubyte *
llvmpipe_get_texture_image_address(struct llvmpipe_resource *lpr,
unsigned face_slice, unsigned level,