From a23109760923fd57fa6a652d85d245fef00bfabf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 1 Mar 2006 01:54:59 +0000 Subject: GL_EXT_framebuffer_blit tokens/functions --- include/GL/gl.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'include') diff --git a/include/GL/gl.h b/include/GL/gl.h index c4becf5a14..75b24dcc31 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 -- cgit v1.2.3