Index: gpu/command_buffer/tests/gl_manager.h |
diff --git a/gpu/command_buffer/tests/gl_manager.h b/gpu/command_buffer/tests/gl_manager.h |
index 5f42a36f71c2a59ee7e454ab9f2a1f04281baa39..2b2433129ee5dd13cbc3acfdcef206fd025fb8ef 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 |