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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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/DEPS ('k') | components/mus/gles2/command_buffer_type_conversions.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 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "components/mus/public/interfaces/command_buffer.mojom.h" 11 #include "components/mus/public/interfaces/command_buffer.mojom.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 13
14 namespace mus { 14 namespace mus {
15 15
16 class CommandBufferDriver; 16 class CommandBufferDriver;
17 class CommandBufferImplObserver; 17 class CommandBufferImplObserver;
18 class GpuState; 18 class GpuState;
19 19
20 // This class listens to the CommandBuffer message pipe on a low-latency thread 20 // This class listens to the CommandBuffer message pipe on a low-latency thread
21 // so that we can insert sync points without blocking on the GL driver. It 21 // so that we can insert sync points without blocking on the GL driver. It
22 // forwards most method calls to the CommandBufferDriver, which runs on the 22 // forwards most method calls to the CommandBufferDriver, which runs on the
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 scoped_ptr<mojo::Binding<CommandBuffer>> binding_; 75 scoped_ptr<mojo::Binding<CommandBuffer>> binding_;
76 CommandBufferImplObserver* observer_; 76 CommandBufferImplObserver* observer_;
77 base::WeakPtrFactory<CommandBufferImpl> weak_ptr_factory_; 77 base::WeakPtrFactory<CommandBufferImpl> weak_ptr_factory_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); 79 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);
80 }; 80 };
81 81
82 } // namespace mus 82 } // namespace mus
83 83
84 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_ 84 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « components/mus/gles2/DEPS ('k') | components/mus/gles2/command_buffer_type_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698