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

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

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 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 e8575f0962012044658d564ccb810f2a0f010330..87ab532f270775ff8abb99847f5dbd25242e4295 100644
--- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
@@ -80,6 +80,20 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
bool premultiplyAlpha,
bool flipY);
+ // Used by WebGL to do CPU-GPU texture upload if possible.
+ bool texImageImpl(const char* functionID,
+ GLenum target,
+ gpu::gles2::GLES2Interface*,
+ GLint level,
+ GLint internalformat,
+ GLenum format,
+ GLenum type,
+ GLint xoffset,
+ GLint yoffset,
+ GLint zoffset,
+ bool flipY,
+ bool premultiplyAlpha);
+
bool shouldDisplayPosterImage() const { return getDisplayMode() == Poster; }
bool hasAvailableVideoFrame() const;
« no previous file with comments | « media/video/gpu_memory_buffer_video_frame_pool_unittest.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