summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-11-12 09:11:20 -0800
committerIan Romanick <[email protected]>2016-02-10 10:59:31 -0800
commiteb5bc62e97d8f66696dca7d5c6acb616a55a16d1 (patch)
treed2887c51ba9a6ea19c3cb7197529a636c42f1fcb /src/mesa/main/fbobject.h
parent9ae42ab1ec7024814494cf65c4527c1b9ad98cd0 (diff)
mesa: Refactor renderbuffer_storage to make _mesa_renderbuffer_storage
Pulls the parts of renderbuffer_storage that aren't just parameter validation out into a function that can be called from other parts of Mesa (e.g., meta). Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.h')
-rw-r--r--src/mesa/main/fbobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h
index 458e4409f98..f9a60605ea5 100644
--- a/src/mesa/main/fbobject.h
+++ b/src/mesa/main/fbobject.h
@@ -94,6 +94,11 @@ _mesa_framebuffer_renderbuffer(struct gl_context *ctx,
struct gl_renderbuffer *rb);
extern void
+_mesa_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb,
+ GLenum internalFormat, GLsizei width,
+ GLsizei height, GLsizei samples);
+
+extern void
_mesa_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb);
extern GLboolean