OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/common/gpu/media/avda_codec_image.h" | 5 #include "content/common/gpu/media/avda_codec_image.h" |
6 | 6 |
| 7 #include <string.h> |
| 8 |
7 #include "content/common/gpu/media/avda_shared_state.h" | 9 #include "content/common/gpu/media/avda_shared_state.h" |
8 #include "gpu/command_buffer/service/context_group.h" | 10 #include "gpu/command_buffer/service/context_group.h" |
9 #include "gpu/command_buffer/service/context_state.h" | 11 #include "gpu/command_buffer/service/context_state.h" |
10 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 12 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
11 #include "gpu/command_buffer/service/texture_manager.h" | 13 #include "gpu/command_buffer/service/texture_manager.h" |
12 #include "ui/gl/android/surface_texture.h" | 14 #include "ui/gl/android/surface_texture.h" |
13 #include "ui/gl/gl_context.h" | 15 #include "ui/gl/gl_context.h" |
14 #include "ui/gl/scoped_make_current.h" | 16 #include "ui/gl/scoped_make_current.h" |
15 | 17 |
16 namespace content { | 18 namespace content { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // Only try once. | 215 // Only try once. |
214 need_shader_info_ = false; | 216 need_shader_info_ = false; |
215 } | 217 } |
216 | 218 |
217 if (texmatrix_uniform_location_ >= 0) { | 219 if (texmatrix_uniform_location_ >= 0) { |
218 glUniformMatrix4fv(texmatrix_uniform_location_, 1, false, gl_matrix_); | 220 glUniformMatrix4fv(texmatrix_uniform_location_, 1, false, gl_matrix_); |
219 } | 221 } |
220 } | 222 } |
221 | 223 |
222 } // namespace content | 224 } // namespace content |
OLD | NEW |