aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blit.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2015-06-05 19:18:19 -0700
committerAnuj Phogat <[email protected]>2015-06-29 13:16:13 -0700
commit7f282d05a11e0c29bddc1fac8c7028c7e823234f (patch)
tree78b67791d584a68b657c745371fff29cc7a56555 /src/mesa/main/blit.h
parent69ee316c1daf93b4a53b1c02301ffe9df9598d28 (diff)
mesa: Add a new helper function _mesa_regions_overlap()
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/blit.h')
-rw-r--r--src/mesa/main/blit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/blit.h b/src/mesa/main/blit.h
index 54b946e3192..88dd4a9ec8d 100644
--- a/src/mesa/main/blit.h
+++ b/src/mesa/main/blit.h
@@ -28,6 +28,12 @@
#include "glheader.h"
+extern bool
+_mesa_regions_overlap(int srcX0, int srcY0,
+ int srcX1, int srcY1,
+ int dstX0, int dstY0,
+ int dstX1, int dstY1);
+
extern void
_mesa_blit_framebuffer(struct gl_context *ctx,
struct gl_framebuffer *readFb,