From: Ian Romanick <[email protected]> This allows drivers to determine whether a GPU reset has occured. It should return non-zero status if a reset was observed by the specified context. Another mechanism will be used to observe resets occuring in other contexts in the share group.
Signed-off-by: Ian Romanick <[email protected]> --- src/mesa/main/dd.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 5011921..40f8bb2 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -882,6 +882,15 @@ struct dd_function_table { struct gl_texture_object *texObj, struct gl_texture_image *texImage, const GLvoid *vdpSurface, GLuint index); + + /** + * Query reset status for GL_ARB_robustness + * + * Per \c glGetGraphicsResetStatusARB, this function should return a + * non-zero value once after a reset. If a reset is non-atomic, the + * non-zero status should be returned for the duration of the reset. + */ + GLenum (*GetGraphicsResetStatus)(struct gl_context *ctx); }; -- 1.8.1.4 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
