| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |