Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 2854263006: Remove non-target version of copyVideoTextureToPlatformTexture (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
index 51a54c41da490f25b510e1061dda30ecbbf35bf8..a3466a06728f0d90d5f9c40b17fdf6c67cb4c2d1 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
@@ -317,17 +317,20 @@ void HTMLVideoElement::PaintCurrentFrame(PaintCanvas* canvas,
bool HTMLVideoElement::CopyVideoTextureToPlatformTexture(
gpu::gles2::GLES2Interface* gl,
+ GLenum target,
GLuint texture,
GLenum internal_format,
GLenum format,
GLenum type,
+ GLint level,
bool premultiply_alpha,
bool flip_y) {
if (!GetWebMediaPlayer())
return false;
return GetWebMediaPlayer()->CopyVideoTextureToPlatformTexture(
- gl, texture, internal_format, format, type, premultiply_alpha, flip_y);
+ gl, target, texture, internal_format, format, type, level,
+ premultiply_alpha, flip_y);
}
bool HTMLVideoElement::TexImageImpl(

Powered by Google App Engine
This is Rietveld 408576698