diff options
author | Dave Airlie <[email protected]> | 2018-12-27 14:26:04 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-01-25 04:27:45 +1000 |
commit | db83a2b40f95fa3b9a741e9797dbf3e18f065a71 (patch) | |
tree | a410471e142e0f589fcb1f7ac2b5dbae2e588258 /include/GL/glcorearb.h | |
parent | 281421e1bc1415f608514eb633c47d3f3a72e1eb (diff) |
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: <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'include/GL/glcorearb.h')
0 files changed, 0 insertions, 0 deletions