[Mesa-dev] [PATCH 2/4] dri: Add KHR_no_error DRI extension

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 12 12:59:58 UTC 2017


On 11 July 2017 at 23:26, Grigori Goronzy <greg at chown.ath.cx> wrote:
> 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.
> ---
>  include/GL/internal/dri_interface.h          | 19 +++++++++++++++++++
>  src/gallium/state_trackers/dri/dri2.c        |  6 ++++++
>  src/gallium/state_trackers/dri/dri_context.c |  3 ++-
>  src/mesa/drivers/dri/common/dri_util.c       |  8 ++++++--
>  src/mesa/drivers/dri/i965/intel_screen.c     |  8 +++++++-
>  5 files changed, 40 insertions(+), 4 deletions(-)
>
We might want to split the interface changes as Patch 1/X, resolving
the issue Eric mentioned.

Note that unlike Robustness (seemingly where this patch is inspired
from) no_error has no hardware requirements.
Hence it will be better to
 a) add the extension in common/dri_util.c
 b) add it to all the DRI drivers, including classic nouveau, i915,
radeons, r200, swrast and gallium swrast (st/dri/drisw.c)

Thanks
-Emil


More information about the mesa-dev mailing list