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 9979e856dae347c8f0d7c1aa103727dd3751640c..4e480b308d6157b1f5c9ddc277668cb5548638a9 100644 |
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h |
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h |
@@ -181,6 +181,12 @@ public: |
unsigned texture, int level, int xoffset, int yoffset, bool premultiplyAlpha, |
bool flipY) { 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(WebContentDecryptionModule* cdm, WebContentDecryptionModuleResult result) { result.completeWithError(WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR"); } |