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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 1315323006: webgl: optimize webgl.texSubImage2D(video) path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: share code in texImage2D and texSubImage2D. fix win build failure Created 5 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/modules/webgl/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 450a0963c4d85abb66a548352ebad9bb043d08a8..2f6df8876eef90bf14739089b0eb79ca687b74d8 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -834,6 +834,9 @@ protected:
void texImage2DCanvasByGPU(TexImageFunctionType, WebGLTexture*, GLenum target, GLint level,
GLenum internalformat, GLenum type, GLint xoffset, GLint yoffset, HTMLCanvasElement*);
+ bool texImage2DVideoByGPU(TexImageFunctionType, WebGLTexture*, GLenum target, GLint level,
+ GLenum internalformat, GLenum type, GLint xoffset, GLint yoffset, HTMLVideoElement*);
+
void handleTextureCompleteness(const char*, bool);
void createFallbackBlackTextures1x1();

Powered by Google App Engine
This is Rietveld 408576698