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

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

Issue 2026803002: Avoid GPU readback in tex(Sub)Image2D(ImageBitmap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: staticbitmapimage does not keep provider anymore Created 4 years, 6 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/WebGL2RenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
index 73f6fe12be0c871be4cb85d7e4a07d59f7946a11..83c93cd757adcd7718f88a42b194a314529b792b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -271,7 +271,7 @@ protected:
WebGLBuffer* validateBufferDataTarget(const char* functionName, GLenum target) override;
bool validateBufferDataUsage(const char* functionName, GLenum usage) override;
- bool canUseTexImageCanvasByGPU(GLint internalformat, GLenum type) override;
+ bool canUseTexImageByGPU(GLint internalformat, GLenum type) override;
void removeBoundBuffer(WebGLBuffer*) override;

Powered by Google App Engine
This is Rietveld 408576698