Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 14318004: Add option to use GLContextVirtual in WGC3DIPCBI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix after r195276 which uses CreateViewContext Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..be8f2220ab8ccb141dcbf2efa26cce5721cb290b 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
+++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h
@@ -48,7 +48,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
static WebGraphicsContext3DInProcessCommandBufferImpl*
CreateViewContext(
const WebKit::WebGraphicsContext3D::Attributes& attributes,
- gfx::AcceleratedWidget window);
+ gfx::AcceleratedWidget window,
+ bool use_virtualized_gl_context_if_possible);
static WebGraphicsContext3DInProcessCommandBufferImpl*
CreateOffscreenContext(
@@ -540,7 +541,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
WebGraphicsContext3DInProcessCommandBufferImpl(
const WebKit::WebGraphicsContext3D::Attributes& attributes,
bool is_offscreen,
- gfx::AcceleratedWidget window);
+ gfx::AcceleratedWidget window,
+ bool use_virtualized_gl_context_if_possible);
// SwapBuffers callback.
void OnSwapBuffersComplete();
@@ -557,6 +559,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
// Only used when not offscreen.
gfx::AcceleratedWidget window_;
+ bool use_virtualized_gl_context_if_possible_;
+
bool initialized_;
bool initialize_failed_;

Powered by Google App Engine
This is Rietveld 408576698