mesa/include/GL
Dave Airlie 2733d26011 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>
(cherry picked from commit db83a2b40f)
2019-01-29 17:44:27 +00:00
..
internal dri_interface: add put shm image2 (v2) 2019-01-29 17:44:27 +00:00
gl.h gl.h: define GLeglImageOES depending on GL_EXT_EGL_image_storage 2018-08-08 08:20:01 -06:00
gl_mangle.h mesa: regenerate gl_mangle.h 2014-08-12 08:09:45 -06:00
glcorearb.h include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
glext.h include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
glx.h includes/GL: remove duplicated extension declarations from glx.h 2015-08-01 15:47:55 +01:00
glx_mangle.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
glxext.h include: update GL & GLES headers (v2) 2018-08-04 02:43:05 -04:00
mesa_glinterop.h egl: Fix inclusion of egl.h+mesa_glinterop.h 2017-08-21 14:45:44 -07:00
osmesa.h osmesa: add new OSMesaCreateContextAttribs function 2015-12-16 19:38:51 -07:00
wglext.h include: Update GL headers from khronos opengl registry. 2017-10-12 12:45:07 -07:00