mesa/src
Anuj Phogat f8679badd4 mesa: Fix region overlap conditions for rectangles with a shared edge
>From OpenGL 4.0 spec, section 4.3.2 "Copying Pixels":
"The pixels corresponding to these buffers are copied from the source
 rectangle bounded by the locations (srcX0, srcY 0) and (srcX1, srcY 1)
 to the destination rectangle bounded by the locations (dstX0, dstY 0)
 and (dstX1, dstY 1). The lower bounds of the rectangle are inclusive,
 while the upper bounds are exclusive."

So, the rectangles sharing just an edge shouldn't overlap.
     -----------
    |           |
     ------- ---
    |       |   |
    |       |   |
     ------- ---

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-06-10 14:35:21 -07:00
..
compiler glsl/ir: remove TABs in ir_constant_expression.cpp 2016-06-10 10:30:18 +10:00
egl platform_android: prevent deadlock in droid_swap_buffers 2016-06-07 12:30:25 +01:00
gallium gallivm: more 64-bit integer prep work. 2016-06-11 06:44:30 +10:00
gbm gbm: remove define _DEFAULT_SOURCE 2016-05-23 12:09:11 +01:00
getopt
glx glx: fix crash with bad fbconfig 2016-06-09 17:55:44 +03:00
gtest
hgl
intel anv/entrypoints: Rework #if guards 2016-06-10 13:21:07 -07:00
loader loader: add a libdrm case for loader_get_device_name_for_fd 2016-04-21 14:41:41 +01:00
mapi glapi/glx: Add overflow checks to the client-side indirect code 2016-06-08 14:39:46 -04:00
mesa mesa: Fix region overlap conditions for rectangles with a shared edge 2016-06-10 14:35:21 -07:00
util mesa: Add .gitignore entries for make check binaries 2016-05-25 09:41:44 -07:00
Makefile.am mesa: automake: distclean git_sha1.h when building OOT 2016-06-07 12:30:23 +01:00
SConscript