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

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: Disable GPU-GPU copies to floating-point textures on Android. 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 bc7e7faea680dbf4a3e4d82c1843dac4ecfdaab3..6f14c6785080a8cd8125b30d7ab20e7ca36a52f1 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
@@ -75,9 +75,11 @@ 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 internal_format,
+ GLenum format,
+ GLenum type,
bool premultiply_alpha,
bool flip_y);
« no previous file with comments | « media/renderers/skcanvas_video_renderer.cc ('k') | third_party/WebKit/Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698