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

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayer.h

Issue 2428263004: 16 bpp video stream capture, render and createImageBitmap(video) using (CPU) shared memory buffers (Closed)
Patch Set: fixes 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/public/platform/WebMediaPlayer.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
index 87c058c8da7cf3760c0fa3293db6c6c03b65dd3d..694bf72fee6e46a26f93e2fd394ba27355396b1c 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -206,6 +206,23 @@ class WebMediaPlayer {
return false;
}
+ // Do tex(Sub)Image2D/3D for current frame. If it is not implemented for given
+ // parameters or fails, it returns false.
+ virtual bool texImageImpl(const char* functionID,
+ unsigned target,
+ gpu::gles2::GLES2Interface* gl,
+ int level,
+ int internalformat,
+ unsigned format,
+ unsigned type,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ bool flipY,
+ bool premultiplyAlpha) {
+ return false;
+ }
+
virtual WebAudioSourceProvider* getAudioSourceProvider() { return nullptr; }
virtual void setContentDecryptionModule(

Powered by Google App Engine
This is Rietveld 408576698