summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/canvas/WebGLProgram.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-05-13 16:23:25 +0100
committerBen Murdoch <benm@google.com>2011-05-16 11:35:02 +0100
commit65f03d4f644ce73618e5f4f50dd694b26f55ae12 (patch)
treef478babb801e720de7bfaee23443ffe029f58731 /Source/WebCore/html/canvas/WebGLProgram.h
parent47de4a2fb7262c7ebdb9cd133ad2c54c187454d0 (diff)
downloadexternal_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.zip
external_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.tar.gz
external_webkit-65f03d4f644ce73618e5f4f50dd694b26f55ae12.tar.bz2
Merge WebKit at r75993: Initial merge by git.
Change-Id: I602bbdc3974787a3b0450456a30a7868286921c3
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLProgram.h')
-rw-r--r--Source/WebCore/html/canvas/WebGLProgram.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/WebCore/html/canvas/WebGLProgram.h b/Source/WebCore/html/canvas/WebGLProgram.h
index 6b89ae5..f2acef8 100644
--- a/Source/WebCore/html/canvas/WebGLProgram.h
+++ b/Source/WebCore/html/canvas/WebGLProgram.h
@@ -45,15 +45,15 @@ public:
// cacheActiveAttribLocation() is only called once after linkProgram()
// succeeds.
bool cacheActiveAttribLocations();
- int numActiveAttribLocations() const;
- int getActiveAttribLocation(int index) const;
+ unsigned numActiveAttribLocations() const;
+ GC3Dint getActiveAttribLocation(GC3Duint index) const;
bool isUsingVertexAttrib0() const;
bool getLinkStatus() const { return m_linkStatus; }
void setLinkStatus(bool status) { m_linkStatus = status; }
- unsigned long getLinkCount() const { return m_linkCount; }
+ unsigned getLinkCount() const { return m_linkCount; }
// This is to be called everytime after the program is successfully linked.
// We don't deal with integer overflow here, assuming in reality a program
@@ -72,13 +72,13 @@ protected:
private:
virtual bool isProgram() const { return true; }
- Vector<int> m_activeAttribLocations;
+ Vector<GC3Dint> m_activeAttribLocations;
- bool m_linkStatus;
+ GC3Dint m_linkStatus;
// This is used to track whether a WebGLUniformLocation belongs to this
// program or not.
- unsigned long m_linkCount;
+ unsigned m_linkCount;
RefPtr<WebGLShader> m_vertexShader;
RefPtr<WebGLShader> m_fragmentShader;