Towards issue #106

Adds notion of texture multiple stages but currently just uses 1.


git-svn-id: http://skia.googlecode.com/svn/trunk@694 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrContext.h b/gpu/include/GrContext.h
index 68f8f7e..a931695 100644
--- a/gpu/include/GrContext.h
+++ b/gpu/include/GrContext.h
@@ -129,9 +129,9 @@
     void setDefaultRenderTargetSize(uint32_t width, uint32_t height);

     GrRenderTarget* defaultRenderTarget() { return fGpu->defaultRenderTarget(); }

 

-    void setTexture(GrTexture* texture);

-    void setSamplerState(const GrSamplerState&);

-    void setTextureMatrix(const GrMatrix& m);

+    void setTexture(int stage, GrTexture* texture);

+    void setSamplerState(int stage, const GrSamplerState&);

+    void setTextureMatrix(int stage, const GrMatrix& m);

 

     void setAntiAlias(bool);

     void setDither(bool);