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

Unified Diff: content/common/gpu/gpu_channel_manager.cc

Issue 849103002: Share SyncPointManager implementation in in-process cmd buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: create multi thread Created 5 years, 10 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: content/common/gpu/gpu_channel_manager.cc
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
index c2e9e429d2318711ea5e19e472768e1b446780c3..e62e01cfd1f1ed5f88a8667c94904bff687137f6 100644
--- a/content/common/gpu/gpu_channel_manager.cc
+++ b/content/common/gpu/gpu_channel_manager.cc
@@ -95,7 +95,7 @@ GpuChannelManager::GpuChannelManager(MessageRouter* router,
this,
GpuMemoryManager::kDefaultMaxSurfacesWithFrontbufferSoftLimit),
watchdog_(watchdog),
- sync_point_manager_(new gpu::SyncPointManager),
+ sync_point_manager_(gpu::SyncPointManager::Create()),
gpu_memory_buffer_factory_(
GpuMemoryBufferFactory::Create(GetGpuMemoryBufferFactoryType())),
channel_(channel),

Powered by Google App Engine
This is Rietveld 408576698