summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2014-05-05 17:37:40 +0300
committerTopi Pohjolainen <[email protected]>2014-05-12 17:48:45 +0300
commita2952315ac2c97311c0a967bf1c337a6c0b82a2f (patch)
tree982c7486f9c5f067fbc88fb6eb4fae6e1204530e /src/mesa/drivers/common/meta.h
parentac4db0aa559ac07262d977f35915953f97875333 (diff)
meta: Refactor binding of renderbuffer as texture image
Cc: "10.2" <[email protected]> Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r--src/mesa/drivers/common/meta.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h
index fdd8714a7a9..70b87a1d631 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -395,6 +395,13 @@ _mesa_meta_end(struct gl_context *ctx);
extern GLboolean
_mesa_meta_in_progress(struct gl_context *ctx);
+extern GLboolean
+_mesa_meta_bind_rb_as_tex_image(struct gl_context *ctx,
+ struct gl_renderbuffer *rb,
+ GLuint *tex,
+ struct gl_texture_object **texObj,
+ GLenum *target);
+
extern void
_mesa_meta_BlitFramebuffer(struct gl_context *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,