Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
index 70313e540468ec17aecdd6118cdd69a1b7ee1028..e04e9e2141c39f58930ce37241af00014f9fdd5a 100644 |
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h |
@@ -45,6 +45,10 @@ class GLInProcessContext; |
class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl |
: public NON_EXPORTED_BASE(WebKit::WebGraphicsContext3D) { |
public: |
+ // Must be called before any WebGraphicsContext3DInProcessCommandBufferImpl |
+ // instances are created. Default value is false. |
+ static void EnableVirtualizedContext(); |
+ |
static WebGraphicsContext3DInProcessCommandBufferImpl* |
CreateViewContext( |
const WebKit::WebGraphicsContext3D::Attributes& attributes, |