OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 void OnBecamePersistentVideo(bool value) override; | 154 void OnBecamePersistentVideo(bool value) override; |
155 | 155 |
156 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, | 156 bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface* gl, |
157 unsigned int texture, | 157 unsigned int texture, |
158 bool premultiply_alpha, | 158 bool premultiply_alpha, |
159 bool flip_y) override; | 159 bool flip_y) override; |
160 | 160 |
161 bool TexImageImpl(TexImageFunctionID functionID, | 161 bool TexImageImpl(TexImageFunctionID functionID, |
162 unsigned target, | 162 unsigned target, |
163 gpu::gles2::GLES2Interface* gl, | 163 gpu::gles2::GLES2Interface* gl, |
| 164 unsigned int texture, |
164 int level, | 165 int level, |
165 int internalformat, | 166 int internalformat, |
166 unsigned format, | 167 unsigned format, |
167 unsigned type, | 168 unsigned type, |
168 int xoffset, | 169 int xoffset, |
169 int yoffset, | 170 int yoffset, |
170 int zoffset, | 171 int zoffset, |
171 bool flip_y, | 172 bool flip_y, |
172 bool premultiply_alpha) override; | 173 bool premultiply_alpha) override; |
173 | 174 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // True if playback should be started upon the next call to OnShown(). Only | 259 // True if playback should be started upon the next call to OnShown(). Only |
259 // used on Android. | 260 // used on Android. |
260 bool should_play_upon_shown_; | 261 bool should_play_upon_shown_; |
261 | 262 |
262 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); | 263 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); |
263 }; | 264 }; |
264 | 265 |
265 } // namespace content | 266 } // namespace content |
266 | 267 |
267 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ | 268 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ |
OLD | NEW |