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

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

Issue 2040773002: Upload textures through GPU path to non-8-bit color formats won't work in WebGL2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 05f34990b621ef4b688365ad63ef979baacbb049..fd978cdac831c8d54ae244007f9fa6044ce41d39 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -271,6 +271,8 @@ protected:
WebGLBuffer* validateBufferDataTarget(const char* functionName, GLenum target) override;
bool validateBufferDataUsage(const char* functionName, GLenum usage) override;
+ bool canUseTexImageCanvasByGPU(GLint internalformat, GLenum type) override;
+
void removeBoundBuffer(WebGLBuffer*) override;
void resetUnpackParameters() override;

Powered by Google App Engine
This is Rietveld 408576698