Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 2a1d016541a11e83814fc19818752a86779f732d..4d59b8cd9deaa5787c82529f5e2255207b0ae4d1 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -244,15 +244,9 @@ private: |
GrDrawContext(GrContext*, GrDrawTarget*, const SkSurfaceProps&); |
- // Sets the paint. Returns true on success; false on failure. |
- bool prepareToDraw(GrPipelineBuilder*, |
- GrRenderTarget* rt, |
- const GrClip&, |
- const GrPaint* paint); |
GrTextContext* createTextContext(GrRenderTarget*, const SkSurfaceProps&); |
- // A simpler version of the above which just returns true on success; false on failure. |
- // Clip is *NOT* set |
+ // Checks if the context has been abandoned and if the rendertarget is owned by this context |
bool prepareToDraw(GrRenderTarget* rt); |
void internalDrawPath(GrDrawTarget*, |