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

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

Issue 1413833006: Reland of "webgl: optimize webgl.texSubImage2D(video) path." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO comments 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 06e9ee0134aa30fd2c30469a540d2de8f9487489..0b060bf721ccc0959edee34ebd3c61520bb8a71a 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -840,6 +840,9 @@ protected:
GLenum internalformat, GLenum type, GLint xoffset, GLint yoffset, GLint zoffset, HTMLCanvasElement*);
bool canUseTexImageCanvasByGPU(GLenum internalformat, GLenum type);
+ 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