[Mesa-dev] [PATCH 0/6] egl/st/dri: implement createImageFromRenderbuffer and add proper error handling
Nicolai Hähnle
nhaehnle at gmail.com
Fri Oct 6 20:16:02 UTC 2017
Hi all,
It turns out that creating an EGLImage from GL_RENDERBUFFER was never
implement in st/dri, so do that.
While at it, extend the DRIImage extension so that we can return the
correct error code when e.g. a non-existing renderbuffer handle is
passed in by the application.
Please review!
Thanks,
Nicolai
--
include/GL/internal/dri_interface.h | 19 ++++-
src/egl/drivers/dri2/egl_dri2.c | 77 +++++++++++-------
src/egl/drivers/dri2/platform_x11_dri3.c | 2 -
src/gallium/include/state_tracker/st_api.h | 37 ---------
src/gallium/state_trackers/dri/dri2.c | 8 +-
src/gallium/state_trackers/dri/dri_helpers.c | 65 +++++++++++++--
src/gallium/state_trackers/dri/dri_helpers.h | 5 ++
src/mesa/state_tracker/st_cb_fbo.h | 5 ++
8 files changed, 140 insertions(+), 78 deletions(-)
More information about the mesa-dev
mailing list