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

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

Issue 769173002: Move native_viewport and gles2 service impls to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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.h ('k') | services/gles2/command_buffer_impl.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/services/gles2/command_buffer_driver.h" 5 #include "services/gles2/command_buffer_driver.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "gpu/command_buffer/common/constants.h" 10 #include "gpu/command_buffer/common/constants.h"
11 #include "gpu/command_buffer/service/command_buffer_service.h" 11 #include "gpu/command_buffer/service/command_buffer_service.h"
12 #include "gpu/command_buffer/service/context_group.h" 12 #include "gpu/command_buffer/service/context_group.h"
13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
14 #include "gpu/command_buffer/service/gpu_scheduler.h" 14 #include "gpu/command_buffer/service/gpu_scheduler.h"
15 #include "gpu/command_buffer/service/image_manager.h" 15 #include "gpu/command_buffer/service/image_manager.h"
16 #include "gpu/command_buffer/service/mailbox_manager.h" 16 #include "gpu/command_buffer/service/mailbox_manager.h"
17 #include "gpu/command_buffer/service/memory_tracking.h" 17 #include "gpu/command_buffer/service/memory_tracking.h"
18 #include "gpu/command_buffer/service/sync_point_manager.h" 18 #include "gpu/command_buffer/service/sync_point_manager.h"
19 #include "mojo/services/gles2/command_buffer_type_conversions.h" 19 #include "services/gles2/command_buffer_type_conversions.h"
20 #include "mojo/services/gles2/mojo_buffer_backing.h" 20 #include "services/gles2/mojo_buffer_backing.h"
21 #include "ui/gfx/vsync_provider.h" 21 #include "ui/gfx/vsync_provider.h"
22 #include "ui/gl/gl_context.h" 22 #include "ui/gl/gl_context.h"
23 #include "ui/gl/gl_surface.h" 23 #include "ui/gl/gl_surface.h"
24 24
25 namespace mojo { 25 namespace mojo {
26 26
27 namespace { 27 namespace {
28 28
29 class MemoryTrackerStub : public gpu::gles2::MemoryTracker { 29 class MemoryTrackerStub : public gpu::gles2::MemoryTracker {
30 public: 30 public:
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 client_->LostContext(reason); 233 client_->LostContext(reason);
234 } 234 }
235 235
236 void CommandBufferDriver::OnUpdateVSyncParameters( 236 void CommandBufferDriver::OnUpdateVSyncParameters(
237 const base::TimeTicks timebase, 237 const base::TimeTicks timebase,
238 const base::TimeDelta interval) { 238 const base::TimeDelta interval) {
239 client_->UpdateVSyncParameters(timebase, interval); 239 client_->UpdateVSyncParameters(timebase, interval);
240 } 240 }
241 241
242 } // namespace mojo 242 } // namespace mojo
OLDNEW
« no previous file with comments | « services/gles2/command_buffer_driver.h ('k') | services/gles2/command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698