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

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

Issue 1537403003: WebGL2: add types to fix bugs for vertexAttribPointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a small fix Created 5 years 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 f904dae6ffdc368545daa6f2a28b87b9389f922c..e85d25c26f007c4dac5c7c0a945a852418fcabe4 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -232,6 +232,7 @@ protected:
void renderbufferStorageImpl(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, const char* functionName) override;
GLenum boundFramebufferColorFormat() override;
const WebGLSamplerState* getTextureUnitSamplerState(GLenum target, GLuint unit) const override;
+ unsigned sizeInBytes(GLenum type, bool isIntegerAPI) const override;
// Helper function to validate the target for compressedTex{Sub}Image3D.
bool validateTexFunc3DTarget(const char* functionName, GLenum target);

Powered by Google App Engine
This is Rietveld 408576698