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

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 logic, remove ui/gl change (into separate patch) 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 0d5c177f7ad20fd517d04ff90b2d478aea7a10c9..68a807d686f9b3889a8e9918e9a25906241388ea 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);
static WebGraphicsContext3DInProcessCommandBufferImpl*
CreateOffscreenContext(
@@ -535,7 +536,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);
// SwapBuffers callback.
void OnSwapBuffersComplete();
@@ -552,6 +554,8 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
// Only used when not offscreen.
gfx::AcceleratedWidget window_;
+ bool use_virtualized_gl_context_;
+
bool initialized_;
bool initialize_failed_;

Powered by Google App Engine
This is Rietveld 408576698