Index: cc/shader.h |
diff --git a/cc/shader.h b/cc/shader.h |
index 6ae060d7f2ab1ae987b54e5fa39ed65572c9da66..1923e9e5713ebcb6725c7df356990c8d8a0c4a14 100644 |
--- a/cc/shader.h |
+++ b/cc/shader.h |
@@ -323,12 +323,27 @@ public: |
std::string getShaderString() const; |
void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUniform, int* baseUniformIndex); |
+ int edgeLocation() const { return -1; } |
int colorLocation() const { return m_colorLocation; } |
private: |
int m_colorLocation; |
}; |
+class FragmentShaderColorAA { |
+public: |
+ FragmentShaderColorAA(); |
+ std::string getShaderString() const; |
+ |
+ void init(WebKit::WebGraphicsContext3D*, unsigned program, bool usingBindUniform, int* baseUniformIndex); |
+ int edgeLocation() const { return m_edgeLocation; } |
+ int colorLocation() const { return m_colorLocation; } |
+ |
+private: |
+ int m_edgeLocation; |
+ int m_colorLocation; |
+}; |
+ |
class FragmentShaderCheckerboard { |
public: |
FragmentShaderCheckerboard(); |