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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2767063002: 16-bit video upload to float: intermediate R16_EXT and copy to float. (Closed)
Patch Set: Created 3 years, 9 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/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index 3982dddc41d4fd2a2963f8324dfcbaff0c419407..5d07622ba0d98215276841679f3214778805ac83 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -5336,8 +5336,9 @@ void WebGLRenderingContextBase::texImageHelperHTMLVideoElement(
this, m_unpackFlipY || m_unpackPremultiplyAlpha);
if (video->texImageImpl(
static_cast<WebMediaPlayer::TexImageFunctionID>(functionID), target,
- contextGL(), level, convertTexInternalFormat(internalformat, type),
- format, type, xoffset, yoffset, zoffset, m_unpackFlipY,
+ contextGL(), texture->object(), level,
+ convertTexInternalFormat(internalformat, type), format, type,
+ xoffset, yoffset, zoffset, m_unpackFlipY,
m_unpackPremultiplyAlpha &&
m_unpackColorspaceConversion == GL_NONE)) {
texture->updateLastUploadedVideo(video->webMediaPlayer());

Powered by Google App Engine
This is Rietveld 408576698