diff options
author | Ian Romanick <[email protected]> | 2012-09-05 22:30:43 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-11-07 16:41:38 -0800 |
commit | a6eb04c3d88c685de7db9c61e94c84d30325b845 (patch) | |
tree | ae094b8d073b6390f0aa62f73480c07d24804616 /src/mesa/main/context.c | |
parent | 2fdc0ee19fe17d42e3662e8c561ad03e5e66e1ad (diff) |
mesa: Add gl_shared_state::ShareGroupReset and gl_context::ShareGroupReset
These will be used to determine whether to signal a GPU reset after
another context in the share group has observed a reset.
v2: Change ShareGroupReset from GLboolean to bool. Suggested by Brian.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 913f409e416..d005d237068 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -808,6 +808,7 @@ init_attrib_groups(struct gl_context *ctx) ctx->NewState = _NEW_ALL; ctx->NewDriverState = ~0; ctx->ErrorValue = GL_NO_ERROR; + ctx->ShareGroupReset = false; ctx->varying_vp_inputs = VERT_BIT_ALL; return GL_TRUE; |