diff options
Diffstat (limited to 'gpu/command_buffer/tests/gl_manager.h')
-rw-r--r-- | gpu/command_buffer/tests/gl_manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h index 5f42a36..2b24331 100644 --- a/gpu/command_buffer/tests/gl_manager.h +++ b/gpu/command_buffer/tests/gl_manager.h @@ -48,6 +48,8 @@ class GLManager { GLManager* virtual_manager; // Whether or not glBindXXX generates a resource. bool bind_generates_resource; + // Whether or not it's ok to lose the context. + bool context_lost_allowed; }; GLManager(); ~GLManager(); @@ -87,6 +89,7 @@ class GLManager { scoped_ptr<gles2::GLES2CmdHelper> gles2_helper_; scoped_ptr<TransferBuffer> transfer_buffer_; scoped_ptr<gles2::GLES2Implementation> gles2_implementation_; + bool context_lost_allowed_; }; } // namespace gpu |