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

Unified Diff: Source/core/html/canvas/WebGLProgram.h

Issue 17230006: Implement WEBGL_shared_resources Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/html/canvas/WebGLProgram.h
diff --git a/Source/core/html/canvas/WebGLProgram.h b/Source/core/html/canvas/WebGLProgram.h
index 7356cac4ece6703167d07c58174371ac118ab636..b343e93107b5e41f7760c6a1cd71961067629ffc 100644
--- a/Source/core/html/canvas/WebGLProgram.h
+++ b/Source/core/html/canvas/WebGLProgram.h
@@ -41,13 +41,13 @@ public:
static PassRefPtr<WebGLProgram> create(WebGLRenderingContext*);
- unsigned numActiveAttribLocations();
- GC3Dint getActiveAttribLocation(GC3Duint index);
+ unsigned numActiveAttribLocations(WebGLRenderingContext*);
+ GC3Dint getActiveAttribLocation(WebGLRenderingContext*, GC3Duint index);
- bool isUsingVertexAttrib0();
+ bool isUsingVertexAttrib0(WebGLRenderingContext*);
- bool getLinkStatus();
- void setLinkStatus(bool);
+ bool getLinkStatus(WebGLRenderingContext*);
+ void setLinkStatus(WebGLRenderingContext*, bool);
unsigned getLinkCount() const { return m_linkCount; }
@@ -70,7 +70,7 @@ private:
virtual bool isProgram() const { return true; }
void cacheActiveAttribLocations(GraphicsContext3D*);
- void cacheInfoIfNeeded();
+ void cacheInfoIfNeeded(WebGLRenderingContext*);
Vector<GC3Dint> m_activeAttribLocations;

Powered by Google App Engine
This is Rietveld 408576698