summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blit.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-31 15:57:45 +0200
committerSamuel Pitoiset <[email protected]>2017-06-07 11:04:21 +0200
commit6fedb31785970168e2070c42e6da2f9a47f683f2 (patch)
tree42c84779a55d68ad6191eb58beb8398619a2c205 /src/mesa/main/blit.c
parent25304a44da97397ff3aeb275904133fb652e5217 (diff)
mesa: add KHR_no_error support for glBlitNamedFramebuffer()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/blit.c')
-rw-r--r--src/mesa/main/blit.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index 814480c4501..bb866b1e090 100644
--- a/src/mesa/main/blit.c
+++ b/src/mesa/main/blit.c
@@ -690,6 +690,24 @@ blit_named_framebuffer(struct gl_context *ctx,
void GLAPIENTRY
+_mesa_BlitNamedFramebuffer_no_error(GLuint readFramebuffer,
+ GLuint drawFramebuffer,
+ GLint srcX0, GLint srcY0,
+ GLint srcX1, GLint srcY1,
+ GLint dstX0, GLint dstY0,
+ GLint dstX1, GLint dstY1,
+ GLbitfield mask, GLenum filter)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ blit_named_framebuffer(ctx, readFramebuffer, drawFramebuffer,
+ srcX0, srcY0, srcX1, srcY1,
+ dstX0, dstY0, dstX1, dstY1,
+ mask, filter, true);
+}
+
+
+void GLAPIENTRY
_mesa_BlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,