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

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

Issue 2476693002: WebGL & 16-bit video stream: upload to FLOAT texture. (Closed)
Patch Set: Nits. Created 4 years 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 acc25caa3fb3cfbb6a39828d98ff5fade68a5e1d..d9b535d7ad42cf252b18ac9926592890bd77510c 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
@@ -224,6 +224,26 @@ bool HTMLVideoElement::copyVideoTextureToPlatformTexture(
gl, texture, internalFormat, type, premultiplyAlpha, flipY);
}
+bool HTMLVideoElement::texImageImpl(
+ WebMediaPlayer::TexImageFunctionID functionID,
+ GLenum target,
+ gpu::gles2::GLES2Interface* gl,
+ GLint level,
+ GLint internalformat,
+ GLenum format,
+ GLenum type,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ bool flipY,
+ bool premultiplyAlpha) {
+ if (!webMediaPlayer())
+ return false;
+ return webMediaPlayer()->texImageImpl(
+ functionID, target, gl, level, internalformat, format, type, xoffset,
+ yoffset, zoffset, flipY, premultiplyAlpha);
+}
+
bool HTMLVideoElement::hasAvailableVideoFrame() const {
if (!webMediaPlayer())
return false;

Powered by Google App Engine
This is Rietveld 408576698