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

Unified Diff: webkit/gpu/context_provider_in_process.cc

Issue 14048018: Add create WGC3DInProcessCommandBuffer for on-screen context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove out-of-date comment. 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
« no previous file with comments | « cc/test/pixel_test.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/gpu/context_provider_in_process.cc
diff --git a/webkit/gpu/context_provider_in_process.cc b/webkit/gpu/context_provider_in_process.cc
index 8fa3fa216500bebb103ac583732e20932cb5aaf5..a8855ab41a545795fae252807835bd44a212e6c7 100644
--- a/webkit/gpu/context_provider_in_process.cc
+++ b/webkit/gpu/context_provider_in_process.cc
@@ -59,8 +59,9 @@ bool ContextProviderInProcess::InitializeOnMainThread() {
attributes.shareResources = true;
attributes.noAutomaticFlushes = true;
+ using webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl;
context3d_.reset(
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl(
+ WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
attributes));
return context3d_;
« no previous file with comments | « cc/test/pixel_test.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698