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

Side by Side Diff: components/mus/gles2/command_buffer_impl.cc

Issue 1976703003: Impl mus::mojom::GpuService to enable using Chrome IPC version gpu CmdBuf in mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « components/mus/gles2/BUILD.gn ('k') | components/mus/gles2/command_buffer_local.cc » ('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 "components/mus/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"
10 #include "components/mus/gles2/command_buffer_driver.h" 11 #include "components/mus/gles2/command_buffer_driver.h"
11 #include "components/mus/gles2/command_buffer_type_conversions.h"
12 #include "components/mus/gles2/gpu_state.h" 12 #include "components/mus/gles2/gpu_state.h"
13 #include "gpu/command_buffer/service/sync_point_manager.h" 13 #include "gpu/command_buffer/service/sync_point_manager.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(
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 bool CommandBufferImpl::DeleteOnGpuThread() { 289 bool CommandBufferImpl::DeleteOnGpuThread() {
290 delete this; 290 delete this;
291 return true; 291 return true;
292 } 292 }
293 293
294 void CommandBufferImpl::DeleteOnGpuThread2() { 294 void CommandBufferImpl::DeleteOnGpuThread2() {
295 delete this; 295 delete this;
296 } 296 }
297 297
298 } // namespace mus 298 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/gles2/BUILD.gn ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698