| 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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ |
| 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ | 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ |
| 7 | 7 |
| 8 #include "components/mus/public/interfaces/command_buffer.mojom.h" | 8 #include "components/mus/public/interfaces/command_buffer.mojom.h" |
| 9 #include "gpu/command_buffer/common/capabilities.h" | 9 #include "gpu/command_buffer/common/capabilities.h" |
| 10 #include "gpu/command_buffer/common/command_buffer.h" | 10 #include "gpu/command_buffer/common/command_buffer.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 template <> | 55 template <> |
| 56 struct TypeConverter<GpuCapabilitiesPtr, gpu::Capabilities> { | 56 struct TypeConverter<GpuCapabilitiesPtr, gpu::Capabilities> { |
| 57 static GpuCapabilitiesPtr Convert(const gpu::Capabilities& input); | 57 static GpuCapabilitiesPtr Convert(const gpu::Capabilities& input); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 template <> | 60 template <> |
| 61 struct TypeConverter<gpu::Capabilities, GpuCapabilitiesPtr> { | 61 struct TypeConverter<gpu::Capabilities, GpuCapabilitiesPtr> { |
| 62 static gpu::Capabilities Convert(const GpuCapabilitiesPtr& input); | 62 static gpu::Capabilities Convert(const GpuCapabilitiesPtr& input); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace gles2 | 65 } // namespace mojo |
| 66 | 66 |
| 67 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ | 67 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_TYPE_CONVERSIONS_H_ |
| OLD | NEW |