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

Side by Side Diff: services/gles2/gpu_impl.cc

Issue 1168993002: Update the native_viewport interface to allow specification of the surface configuration, currently… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Final cleanups Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « services/gles2/command_buffer_driver.cc ('k') | services/native_viewport/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "services/gles2/gpu_impl.h" 5 #include "services/gles2/gpu_impl.h"
6 6
7 #include "gpu/command_buffer/service/mailbox_manager.h" 7 #include "gpu/command_buffer/service/mailbox_manager.h"
8 #include "gpu/command_buffer/service/mailbox_manager_impl.h" 8 #include "gpu/command_buffer/service/mailbox_manager_impl.h"
9 #include "gpu/command_buffer/service/sync_point_manager.h" 9 #include "gpu/command_buffer/service/sync_point_manager.h"
10 #include "mojo/converters/geometry/geometry_type_converters.h" 10 #include "mojo/converters/geometry/geometry_type_converters.h"
(...skipping 12 matching lines...) Expand all
23 GpuImpl::~GpuImpl() { 23 GpuImpl::~GpuImpl() {
24 } 24 }
25 25
26 void GpuImpl::CreateOffscreenGLES2Context( 26 void GpuImpl::CreateOffscreenGLES2Context(
27 mojo::InterfaceRequest<mojo::CommandBuffer> request) { 27 mojo::InterfaceRequest<mojo::CommandBuffer> request) {
28 new CommandBufferImpl(request.Pass(), mojo::ViewportParameterListenerPtr(), 28 new CommandBufferImpl(request.Pass(), mojo::ViewportParameterListenerPtr(),
29 state_->control_task_runner(), 29 state_->control_task_runner(),
30 state_->sync_point_manager(), 30 state_->sync_point_manager(),
31 make_scoped_ptr(new CommandBufferDriver( 31 make_scoped_ptr(new CommandBufferDriver(
32 state_->share_group(), state_->mailbox_manager(), 32 state_->share_group(), state_->mailbox_manager(),
33 state_->sync_point_manager()))); 33 state_->sync_point_manager(),
34 gfx::SurfaceConfiguration())));
34 } 35 }
35 36
36 } // namespace gles2 37 } // namespace gles2
OLDNEW
« no previous file with comments | « services/gles2/command_buffer_driver.cc ('k') | services/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698