diff options
author | Mathias Fröhlich <mathias.froehlich@web.de> | 2019-12-13 17:09:56 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-02-18 08:52:35 -0800 |
commit | a0e6341fe4417e41cda0b19e4fa7f8bbe4e1dba1 (patch) | |
tree | 512e951f8e0d6e3afa2043b5085d6d6a13cc3616 /.gitignore | |
parent | 59e65b6aa27096002451bea6a0c6cf8b91f20b95 (diff) | |
download | mesa-a0e6341fe4417e41cda0b19e4fa7f8bbe4e1dba1.tar.gz |
egl: Implement getImage/putImage on pbuffer swrast.
This change adds getImage/putImage callbacks to the swrast pbuffer
loader extension.
This fixes a recent crash with Weston as well as a crashing
test with classic swrast without an official gitlab issue.
v2: Determine bytes per pixel differently and fix non X11 builds.
v3: Plug memory leak and fix crash on out of bounds access.
(Daniel Stone)
v4: Follow the code structure of the wayland get/put image
implementation - hopefully being more obvious.
Handle 64 bits formats.
Use BufferSize directly.
(Emil Velikov)
v5: Change pixel size computation.
(Eric Engestrom)
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2219
Fixes: d6edccee8da "egl: add EGL_platform_device support"
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3711>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3711>
(cherry picked from commit c7617d8908a970124321ce731b43d5996c3c5775)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions