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

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

Issue 2791813003: Fix broken draw/upload paths from videos to 2D canvas and WebGL. (Closed)
Patch Set: Fix per review feedback from sandersd@. Created 3 years, 8 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.h
diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
index 385cc3a62fc01554d991c0381d50fc32f3ae21d9..8e3b11a76309684a3d4043f8389ed2510b50c2ea 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
@@ -75,9 +75,10 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
void paintCurrentFrame(PaintCanvas*, const IntRect&, const PaintFlags*) 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