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

Side by Side Diff: services/ui/gles2/command_buffer_impl.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 unified diff | Download patch
« no previous file with comments | « services/ui/gles2/command_buffer_impl.h ('k') | services/ui/gles2/command_buffer_local.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 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 "components/mus/gles2/command_buffer_impl.h" 5 #include "services/ui/gles2/command_buffer_impl.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/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "components/mus/common/gpu_type_converters.h"
11 #include "components/mus/gles2/command_buffer_driver.h"
12 #include "components/mus/gles2/gpu_state.h"
13 #include "gpu/command_buffer/service/sync_point_manager.h" 10 #include "gpu/command_buffer/service/sync_point_manager.h"
11 #include "services/ui/common/gpu_type_converters.h"
12 #include "services/ui/gles2/command_buffer_driver.h"
13 #include "services/ui/gles2/gpu_state.h"
14 14
15 namespace mus { 15 namespace mus {
16 16
17 namespace { 17 namespace {
18 18
19 uint64_t g_next_command_buffer_id = 0; 19 uint64_t g_next_command_buffer_id = 0;
20 20
21 void RunInitializeCallback( 21 void RunInitializeCallback(
22 const mojom::CommandBuffer::InitializeCallback& callback, 22 const mojom::CommandBuffer::InitializeCallback& callback,
23 mojom::CommandBufferInitializeResultPtr result) { 23 mojom::CommandBufferInitializeResultPtr result) {
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 bool CommandBufferImpl::DeleteOnGpuThread() { 292 bool CommandBufferImpl::DeleteOnGpuThread() {
293 delete this; 293 delete this;
294 return true; 294 return true;
295 } 295 }
296 296
297 void CommandBufferImpl::DeleteOnGpuThread2() { 297 void CommandBufferImpl::DeleteOnGpuThread2() {
298 delete this; 298 delete this;
299 } 299 }
300 300
301 } // namespace mus 301 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/gles2/command_buffer_impl.h ('k') | services/ui/gles2/command_buffer_local.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698