summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-06-23 15:54:25 +0200
committerJakob Bornecrantz <[email protected]>2008-06-23 16:08:23 +0200
commit52501801c7107614387717e7b97e66a667f9e5b8 (patch)
tree4f6fca28030d9c0521536c55a031b5455c8dfb26 /src/mesa/state_tracker/st_public.h
parentf78cc24c4b4f253223044b7019daf3e954f38a07 (diff)
gallium: Add accessor functions to get textures from a st_framebuffer
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index b99984215f7..ca4e9577b1b 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -74,6 +74,9 @@ void st_set_framebuffer_surface(struct st_framebuffer *stfb,
struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
uint surfIndex);
+struct pipe_texture *st_get_framebuffer_texture(struct st_framebuffer *stfb,
+ uint surfIndex);
+
void *st_framebuffer_private( struct st_framebuffer *stfb );
void st_unreference_framebuffer( struct st_framebuffer **stfb );