X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fblit.h;h=39021e7be6800ffa46ba8cd54576dd431fa4d338;hb=fb804266a38dbd4204f86fc706494b285c03fc52;hp=533d6e5d15885bec968df11c6775b35cb9b7785f;hpb=bfcb9bb20451aa7c74d8769ae043fb11503e8453;p=mesa.git diff --git a/src/mesa/main/blit.h b/src/mesa/main/blit.h index 533d6e5d158..39021e7be68 100644 --- a/src/mesa/main/blit.h +++ b/src/mesa/main/blit.h @@ -26,14 +26,39 @@ #ifndef BLIT_H #define BLIT_H -#include "compiler.h" #include "glheader.h" +extern bool +_mesa_regions_overlap(int srcX0, int srcY0, + int srcX1, int srcY1, + int dstX0, int dstY0, + int dstX1, int dstY1); + +void GLAPIENTRY +_mesa_BlitFramebuffer_no_error(GLint srcX0, GLint srcY0, GLint srcX1, + GLint srcY1, GLint dstX0, GLint dstY0, + GLint dstX1, GLint dstY1, + GLbitfield mask, GLenum filter); extern void GLAPIENTRY _mesa_BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +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); + +extern void GLAPIENTRY +_mesa_BlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, + GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, + GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, + GLbitfield mask, GLenum filter); + #endif /* BLIT_H */