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

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

Issue 1824433002: Remove getError() and synthesizeGLError() from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-tplus
Patch Set: errors: rebase Created 4 years, 9 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/WebGLProgram.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
index 960389a06b6b84d4d5dcb06e3c1e2ecce04eec8f..1d588bccc5473b99ef729d5f00d246ca750d79c6 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLProgram.h
@@ -40,12 +40,7 @@ public:
static WebGLProgram* create(WebGLRenderingContextBase*);
- unsigned numActiveAttribLocations();
- GLint getActiveAttribLocation(GLuint index);
-
- bool isUsingVertexAttrib0();
-
- bool linkStatus();
+ bool linkStatus(WebGLRenderingContextBase*);
unsigned linkCount() const { return m_linkCount; }
@@ -73,10 +68,7 @@ protected:
private:
bool isProgram() const override { return true; }
- void cacheActiveAttribLocations(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*);
- void cacheInfoIfNeeded();
-
- Vector<GLint> m_activeAttribLocations;
+ void cacheInfoIfNeeded(WebGLRenderingContextBase*);
GLint m_linkStatus;
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLObject.h ('k') | third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698