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

Unified Diff: mojo/services/gles2/command_buffer_impl.cc

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
« no previous file with comments | « mojo/services/gles2/command_buffer_impl.h ('k') | ui/gfx/gpu_memory_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gles2/command_buffer_impl.cc
diff --git a/mojo/services/gles2/command_buffer_impl.cc b/mojo/services/gles2/command_buffer_impl.cc
index 438ff903f87fda1dce04bed89ed92fd18dbf2d4b..4b836d88b538bb18d21567401c196f633d934f92 100644
--- a/mojo/services/gles2/command_buffer_impl.cc
+++ b/mojo/services/gles2/command_buffer_impl.cc
@@ -11,7 +11,6 @@
#include "gpu/command_buffer/service/command_buffer_service.h"
#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
-#include "gpu/command_buffer/service/gpu_control_service.h"
#include "gpu/command_buffer/service/gpu_scheduler.h"
#include "gpu/command_buffer/service/image_manager.h"
#include "gpu/command_buffer/service/mailbox_manager.h"
@@ -90,7 +89,6 @@ bool CommandBufferImpl::DoInitialize(
// only needs to be per-thread.
scoped_refptr<gpu::gles2::ContextGroup> context_group =
new gpu::gles2::ContextGroup(NULL,
- NULL,
new MemoryTrackerStub,
new gpu::gles2::ShaderTranslatorCache,
NULL,
@@ -120,9 +118,6 @@ bool CommandBufferImpl::DoInitialize(
attrib_vector))
return false;
- gpu_control_.reset(
- new gpu::GpuControlService(context_group->image_manager(), NULL));
-
command_buffer_->SetPutOffsetChangeCallback(base::Bind(
&gpu::GpuScheduler::PutChanged, base::Unretained(scheduler_.get())));
command_buffer_->SetGetBufferChangeCallback(base::Bind(
« no previous file with comments | « mojo/services/gles2/command_buffer_impl.h ('k') | ui/gfx/gpu_memory_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698