[Mesa-dev] [PATCH] swrast: fix incorrectly positioned putImage() in swrast driver
Eric Anholt
eric at anholt.net
Wed Aug 24 20:19:49 UTC 2016
Brian Paul <brianp at vmware.com> writes:
> Some front buffer rendering was in the wrong position. This included
> scissored clears, glDrawPixels and glCopyPixels. The problem was the
> y coordinate passed to putImage() didn't match the y coordinate passed
> to getImage().
>
> We fix this by setting xrb->map_y to the inverted coordinate in
> swrast_map_renderbuffer() which is used later by the putImage() call.
> Also pass xrb->map_y to getImage() to be symmetric.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97426
> Cc: <mesa-stable at lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160824/8a787042/attachment.sig>
More information about the mesa-dev
mailing list