dri: Add KHR_no_error DRI extension
authorGrigori Goronzy <greg@chown.ath.cx>
Thu, 29 Jun 2017 01:24:15 +0000 (03:24 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Fri, 14 Jul 2017 19:20:31 +0000 (21:20 +0200)
commit7299e82fa444c86f4c5e22593424715454182e9a
treeea8359383822ac6b807f3dd4bf7afaaaba9c081b
parentcfbf60b0c21b105ad162a0a451cd2f65124efedc
dri: Add KHR_no_error DRI extension

This basic extension allows usage of the __DRI_CTX_FLAG_NO_ERROR flag.
This includes support code for classic Mesa drivers to switch on the
no-error mode if the flag is set.

v2: Move to common DRI code.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
include/GL/internal/dri_interface.h
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_context.c
src/gallium/state_trackers/dri/drisw.c
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/dri_util.h
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/drivers/dri/nouveau/nouveau_screen.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/swrast/swrast.c