mesa/src
Roland Scheidegger fec4f5de67 gallium/util: return FALSE for intersection if there's empty rectangles
It isn't really obvious if intersection test should take into account empty
rectangles or if the caller should do it. But it looks like most callers
actually verified one of the rects but not the other, but since correctly
returning an empty rect that other rect could actually be empty leading to
more bugs. Hence just verify both rects for emptyness in the intersection
test itself which makes the code easier in the caller (though it will be
slower if the caller knows the rectangles are non-empty).

Reviewed-by: Zack Rusin <zackr@vmware.com>
2015-09-01 16:29:17 -06:00
..
egl egl: scons: fix the haiku build, do not build the dri2 backend 2015-08-22 10:13:31 -05:00
gallium gallium/util: return FALSE for intersection if there's empty rectangles 2015-09-01 16:29:17 -06:00
gbm mesa/gbm: Resolve GCC sign-compare warning. 2015-08-18 11:34:43 -07:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl mesa: Move gl_vert_attrib from mtypes.h to shader_enums.h 2015-09-01 14:45:37 -07:00
glx mesa/glx: Resolve GCC sign-compare warning. 2015-08-18 11:34:43 -07:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi glapi: Inline x86_64_current_tls(). 2015-09-01 13:23:13 -07:00
mesa mesa: Move gl_vert_attrib from mtypes.h to shader_enums.h 2015-09-01 14:45:37 -07:00
util util/ra: (trivial) fix c99 loop variable initialization 2015-08-19 04:17:49 +02:00
Makefile.am automake: rework the EGL build 2015-07-22 16:35:27 +01:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00