| 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 #include "components/view_manager/gles2/command_buffer_type_conversions.h" | 5 #include "components/mus/gles2/command_buffer_type_conversions.h" |
| 6 | 6 |
| 7 #include "components/view_manager/public/interfaces/command_buffer.mojom.h" | 7 #include "components/mus/public/interfaces/command_buffer.mojom.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 | 10 |
| 11 CommandBufferStatePtr | 11 CommandBufferStatePtr |
| 12 TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State>::Convert( | 12 TypeConverter<CommandBufferStatePtr, gpu::CommandBuffer::State>::Convert( |
| 13 const gpu::CommandBuffer::State& input) { | 13 const gpu::CommandBuffer::State& input) { |
| 14 CommandBufferStatePtr result(CommandBufferState::New()); | 14 CommandBufferStatePtr result(CommandBufferState::New()); |
| 15 result->get_offset = input.get_offset; | 15 result->get_offset = input.get_offset; |
| 16 result->token = input.token; | 16 result->token = input.token; |
| 17 result->error = input.error; | 17 result->error = input.error; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 result.sync_query = input->sync_query; | 161 result.sync_query = input->sync_query; |
| 162 result.image = input->image; | 162 result.image = input->image; |
| 163 result.future_sync_points = input->future_sync_points; | 163 result.future_sync_points = input->future_sync_points; |
| 164 result.blend_equation_advanced = input->blend_equation_advanced; | 164 result.blend_equation_advanced = input->blend_equation_advanced; |
| 165 result.blend_equation_advanced_coherent = | 165 result.blend_equation_advanced_coherent = |
| 166 input->blend_equation_advanced_coherent; | 166 input->blend_equation_advanced_coherent; |
| 167 return result; | 167 return result; |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace gles2 | 170 } // namespace gles2 |
| OLD | NEW |