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

Unified Diff: gpu/gles2_conform_support/egl/display.cc

Issue 205193006: gpu: Remove map_image field from gpu::Capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move TODO Created 6 years, 9 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 | « gpu/command_buffer/tests/gl_manager.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index 9885cd69286e8525f672b2d87e05450ceb17db21..ae13eece4088beca9f6938fa1fda193f7e054e2d 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -171,7 +171,7 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
}
gpu_control_.reset(new gpu::GpuControlService(
- NULL, NULL, group->mailbox_manager(), NULL, decoder_->GetCapabilities()));
+ NULL, NULL, group->mailbox_manager(), NULL));
command_buffer->SetPutOffsetChangeCallback(
base::Bind(&gpu::GpuScheduler::PutChanged,
@@ -235,7 +235,8 @@ EGLContext Display::CreateContext(EGLConfig config,
NULL,
transfer_buffer_.get(),
bind_generates_resources,
- gpu_control_.get()));
+ gpu_control_.get(),
+ decoder_->GetCapabilities()));
if (!context_->Initialize(
kTransferBufferSize,
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698