mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-14 22:18:20 +02:00
mesa: Add dd_function_table::GetGraphicsResetStatus
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 <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
114d360dfa
commit
2fdc0ee19f
1 changed files with 9 additions and 0 deletions
|
|
@ -890,6 +890,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);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue