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

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

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include proper internalformat support.[D Created 7 years, 5 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_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 78c0a49aca22b6b9529e957ec4412b980f592fc4..99c3497a48e3685f7a94ebaa707b55b59ca31c18 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -394,8 +394,10 @@ void GpuCommandBufferStub::OnInitialize(
scoped_ptr<base::SharedMemory> shared_state_shm(
new base::SharedMemory(shared_state_handle, false));
- command_buffer_.reset(new gpu::CommandBufferService(
- context_group_->transfer_buffer_manager()));
+ command_buffer_.reset(
+ new gpu::CommandBufferService(context_group_->transfer_buffer_manager(),
+ context_group_->image_manager(),
+ NULL));
if (!command_buffer_->Initialize()) {
DLOG(ERROR) << "CommandBufferService failed to initialize.\n";

Powered by Google App Engine
This is Rietveld 408576698