From: Brian Paul Date: Wed, 1 Mar 2006 01:54:59 +0000 (+0000) Subject: GL_EXT_framebuffer_blit tokens/functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a23109760923fd57fa6a652d85d245fef00bfabf;p=mesa.git GL_EXT_framebuffer_blit tokens/functions --- diff --git a/include/GL/gl.h b/include/GL/gl.h index c4becf5a14f..75b24dcc31d 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -2260,6 +2260,28 @@ typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pnam +#ifndef GL_EXT_framebuffer_blit +#define GL_EXT_framebuffer_blit 1 + +#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA + +GLAPI void GLAPIENTRY +glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, + GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, + GLbitfield mask, GLenum filter); + +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) + (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, + GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, + GLbitfield mask, GLenum filter); + +#endif /* GL_EXT_framebuffer_blit */ + + + #ifndef GL_EXT_packed_depth_stencil #define GL_EXT_packed_depth_stencil 1