| Index: third_party/WebKit/public/platform/WebMediaPlayer.h
|
| diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| index 959631b40cca8fcf31cc8f83b13e9706a7a018e9..4f17e2e0172cee478408227f14c4209c80e7557d 100644
|
| --- a/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| +++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
|
| @@ -177,19 +177,20 @@ class WebMediaPlayer {
|
|
|
| // TODO(kbr): remove non-|target| version. crbug.com/349871
|
| //
|
| - // Do a GPU-GPU texture copy of the natural size of the current
|
| - // video frame to |texture|. Caller is responsible for allocating
|
| - // |texture| with the appropriate size. If the copy is impossible or
|
| - // fails, it returns false.
|
| + // Do a GPU-GPU texture copy of the current video frame to |texture|,
|
| + // reallocating |texture| at the appropriate size with given internal
|
| + // format, format, and type if necessary. If the copy is impossible
|
| + // or fails, it returns false.
|
| virtual bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
|
| unsigned texture,
|
| + unsigned internal_format,
|
| + unsigned format,
|
| + unsigned type,
|
| bool premultiply_alpha,
|
| bool flip_y) {
|
| return false;
|
| }
|
|
|
| - // TODO(kbr): when updating calling code to use this, remove the
|
| - // |internalFormat| and |type| parameters. crbug.com/349871
|
| // Do a GPU-GPU textures copy. If the copy is impossible or fails, it returns
|
| // false.
|
| virtual bool CopyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
|
|
|