mesa/include
Dave Airlie db83a2b40f dri_interface: add put shm image2 (v2)
This adds a new interface to the swrast interface to fix an shm put image bug.

The current code adds the x,y src offsets into the offset parameters,
however if the x offset is > 0, and the put image copies up to the height
of the image, this can trigger an X server validation check to fail and
the renderering to get BadMatch.

This patch fixes it to pass the x offset coord in as a src x.

We cannot pass the Y coordinate due to the horrible code mangling the
image w/h vs stride in swrastXPutImage.

v2: drop srcx,y from api

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2019-01-25 04:27:45 +10:00
..
CL clover: Update OpenCL headers to version 1.2 from Khronos. 2014-04-29 13:01:10 +02:00
D3D9 Introduce .editorconfig 2016-08-31 17:06:54 -07:00
EGL egl: update headers from Khronos 2019-01-24 14:37:44 +00:00
GL dri_interface: add put shm image2 (v2) 2019-01-25 04:27:45 +10:00
GLES gles: Restore some lost typedefs 2017-08-01 18:26:15 +01:00
GLES2 include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
GLES3 include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
HaikuGL include/haiku: fix comment typo 2014-08-28 21:41:29 -04:00
KHR egl: Update headers from Khronos 2017-08-11 11:16:00 +01:00
c11 Require Visual Studio 2015. 2018-09-10 10:10:16 +01:00
d3dadapter d3dadapter: Fix wrong naming in header file 2018-10-26 22:16:16 +02:00
drm-uapi freedreno: drm_fourcc.h header include 2019-01-22 16:33:27 -05:00
pci_ids pci_ids: add new VegaM pci id 2018-12-21 11:51:34 -05:00
vulkan vulkan: Update the XML and headers to 1.1.97 2019-01-07 10:00:01 -06:00
c99_alloca.h c99_alloca.h: Also use <alloca.h> for cygwin 2015-03-07 18:18:32 +00:00
c99_compat.h Require Visual Studio 2015. 2018-09-10 10:10:16 +01:00
c99_math.h math: Import isinf and others to global namespace 2016-04-18 11:10:25 +01:00
meson.build meson: install KHR/khrplatform.h when needed 2018-08-07 15:57:32 +01:00
no_extern_c.h include: Add helper header to help trap includes inside extern C. 2015-03-06 12:38:55 +00:00