summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blit.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-02-02 16:17:47 -0800
committerFredrik Höglund <fredrik@kde.org>2015-05-14 15:48:13 +0200
commit1a314f3c51bf1884cc3bf880e32461f304d5030b (patch)
treef1cd0bea444e970873fc5847197675b45c456915 /src/mesa/main/blit.h
parentdf032ef7e04977112871edc1f1e82e35e6dbac76 (diff)
downloadexternal_mesa3d-1a314f3c51bf1884cc3bf880e32461f304d5030b.zip
external_mesa3d-1a314f3c51bf1884cc3bf880e32461f304d5030b.tar.gz
external_mesa3d-1a314f3c51bf1884cc3bf880e32461f304d5030b.tar.bz2
main: Refactor glBlitFramebuffer.
Reviewed-by: Fredrik Höglund <fredrik@kde.org> Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Diffstat (limited to 'src/mesa/main/blit.h')
-rw-r--r--src/mesa/main/blit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/blit.h b/src/mesa/main/blit.h
index 01a958a..b854f5f 100644
--- a/src/mesa/main/blit.h
+++ b/src/mesa/main/blit.h
@@ -28,6 +28,13 @@
#include "glheader.h"
+extern void
+_mesa_blit_framebuffer(struct gl_context *ctx,
+ struct gl_framebuffer *readFb,
+ struct gl_framebuffer *drawFb,
+ GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
+ GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
+ GLbitfield mask, GLenum filter, const char *func);
extern void GLAPIENTRY
_mesa_BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,