From bf11c195a59a3d545d91917f503dcee81d48ab09 Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Fri, 13 Feb 2015 15:35:48 +0200 Subject: main: Added entry points for NamedRenderbufferStorage/Multisample v2: Review from Laura Ekstrand - get rid of a change that should not have happened in this patch - improve the error messages - fix alignments - fix a capitalization in a function name in an error message v3: Review from Laura Ekstrand - move the test for the validity of the renderbuffer to less generic functions - get rid of some changes that accidentally landed in the wrong commit - revert some alignment fixes v3: Review from Laura Ekstrand - check that the lookup returns a valid renderbuffer - cosmetic changes to some error messages Reviewed-by: Laura Ekstrand Signed-off-by: Martin Peres --- src/mesa/main/fbobject.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mesa/main/fbobject.h') diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index b92149b8741..61aa1f50308 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -130,6 +130,15 @@ extern void GLAPIENTRY _es_RenderbufferStorageEXT(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height); +extern void GLAPIENTRY +_mesa_NamedRenderbufferStorage(GLuint renderbuffer, GLenum internalformat, + GLsizei width, GLsizei height); + +extern void GLAPIENTRY +_mesa_NamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples, + GLenum internalformat, + GLsizei width, GLsizei height); + extern void GLAPIENTRY _mesa_EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); -- cgit v1.2.3