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

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

Issue 2562003003: Fix the size of video textures uploaded to WebGL. (Closed)
Patch Set: 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.h
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
index 8d340367e133ff04bea47e9eea36e3193d052ee6..4d57b9ed62cc84be3ae37f96497d63896936867e 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
@@ -72,10 +72,9 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
void paintCurrentFrame(SkCanvas*, const IntRect&, const SkPaint*) const;
// Used by WebGL to do GPU-GPU textures copy if possible.
+ // The caller is responsible for allocating the destination texture.
bool copyVideoTextureToPlatformTexture(gpu::gles2::GLES2Interface*,
GLuint texture,
- GLenum internalFormat,
- GLenum type,
bool premultiplyAlpha,
bool flipY);

Powered by Google App Engine
This is Rietveld 408576698