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

Side by Side Diff: services/gles2/gpu_impl.h

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_type_conversions.cc ('k') | services/gles2/gpu_impl.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 #ifndef SERVICES_GLES2_GPU_IMPL_H_
6 #define SERVICES_GLES2_GPU_IMPL_H_
7
5 #include "base/macros.h" 8 #include "base/macros.h"
6 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
7 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
8 #include "mojo/public/cpp/bindings/interface_request.h" 11 #include "mojo/public/cpp/bindings/interface_request.h"
9 #include "mojo/public/cpp/bindings/strong_binding.h" 12 #include "mojo/public/cpp/bindings/strong_binding.h"
10 #include "mojo/services/public/interfaces/geometry/geometry.mojom.h" 13 #include "mojo/services/public/interfaces/geometry/geometry.mojom.h"
11 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h" 14 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h"
12 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h" 15 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h"
13 16
14 namespace gfx { 17 namespace gfx {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 InterfaceRequest<CommandBuffer> command_buffer_request) override; 75 InterfaceRequest<CommandBuffer> command_buffer_request) override;
73 76
74 private: 77 private:
75 StrongBinding<Gpu> binding_; 78 StrongBinding<Gpu> binding_;
76 scoped_refptr<State> state_; 79 scoped_refptr<State> state_;
77 80
78 DISALLOW_COPY_AND_ASSIGN(GpuImpl); 81 DISALLOW_COPY_AND_ASSIGN(GpuImpl);
79 }; 82 };
80 83
81 } // namespace mojo 84 } // namespace mojo
85
86 #endif // SERVICES_GLES2_GPU_IMPL_H_
OLDNEW
« no previous file with comments | « services/gles2/command_buffer_type_conversions.cc ('k') | services/gles2/gpu_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698