diff options
Diffstat (limited to 'content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h')
-rw-r--r-- | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h index 5545bc8..2eda115 100644 --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h @@ -495,6 +495,10 @@ class WebGraphicsContext3DCommandBufferImpl virtual void OnContextLost(ContentGLContext::ContextLostReason reason); virtual void OnErrorMessage(const std::string& message, int id); + // Check if we should call into the swap client. We can only do that on the + // main thread. + bool ShouldUseSwapClient(); + bool initialize_failed_; // The context we use for OpenGL rendering. |