dri: Define DRI_MutableRenderBuffer extensions

Graphics / Mesa 3D Graphics Library / Mesa - Chad Versace [chromium.org] - 7 August 2018 18:11 EDT

Define extensions DRI_MutableRenderBufferDriver and DRI_MutableRenderBufferLoader. These are the two halves for EGL_KHR_mutable_render_buffer.

Outside the DRI code there is one additional change. Add gl_config::mutableRenderBuffer to match __DRI_ATTRIB_MUTABLE_RENDER_BUFFER. Neither are used yet.

bbe2d50b58 dri: Define DRI_MutableRenderBuffer extensions
include/GL/internal/dri_interface.h | 137 ++++++++++++++++++++++++++++++++-
src/mesa/drivers/dri/common/dri_util.c | 2 +
src/mesa/drivers/dri/common/dri_util.h | 4 +
src/mesa/drivers/dri/common/utils.c | 1 +
src/mesa/main/mtypes.h | 3 +
5 files changed, 144 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share