mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
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> |
||
|---|---|---|
| .. | ||
| c11 | ||
| CL | ||
| D3D9 | ||
| d3dadapter | ||
| drm-uapi | ||
| EGL | ||
| GL | ||
| GLES | ||
| GLES2 | ||
| GLES3 | ||
| HaikuGL | ||
| KHR | ||
| pci_ids | ||
| vulkan | ||
| c99_alloca.h | ||
| c99_compat.h | ||
| c99_math.h | ||
| meson.build | ||
| no_extern_c.h | ||