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

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

Issue 1085233004: Moves services implementations out of third_party/mojo_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unnecessary changes Created 5 years, 8 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
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_GLES2_COMMAND_BUFFER_IMPL_H_ 5 #ifndef COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_
6 #define COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_ 6 #define COMPONENTS_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/gpu/public/interfaces/command_buffer.mojom.h"
12 #include "components/gpu/public/interfaces/viewport_parameter_listener.mojom.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
12 #include "third_party/mojo_services/src/gpu/public/interfaces/command_buffer.moj om.h"
13 #include "third_party/mojo_services/src/gpu/public/interfaces/viewport_parameter _listener.mojom.h"
14 14
15 namespace gpu { 15 namespace gpu {
16 class SyncPointManager; 16 class SyncPointManager;
17 } 17 }
18 18
19 namespace gles2 { 19 namespace gles2 {
20 class CommandBufferDriver; 20 class CommandBufferDriver;
21 21
22 // This class listens to the CommandBuffer message pipe on a low-latency thread 22 // This class listens to the CommandBuffer message pipe on a low-latency thread
23 // so that we can insert sync points without blocking on the GL driver. It 23 // so that we can insert sync points without blocking on the GL driver. It
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 mojo::ViewportParameterListenerPtr viewport_parameter_listener_; 62 mojo::ViewportParameterListenerPtr viewport_parameter_listener_;
63 mojo::StrongBinding<CommandBuffer> binding_; 63 mojo::StrongBinding<CommandBuffer> binding_;
64 64
65 base::WeakPtrFactory<CommandBufferImpl> weak_factory_; 65 base::WeakPtrFactory<CommandBufferImpl> weak_factory_;
66 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); 66 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl);
67 }; 67 };
68 68
69 } // namespace gles2 69 } // namespace gles2
70 70
71 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_ 71 #endif // COMPONENTS_GLES2_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698