diff options
author | joshualitt <joshualitt@chromium.org> | 2015-07-09 13:25:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-09 13:25:02 -0700 |
commit | 7b670db2b4eb0265e69038add7ae79441d77bbc5 (patch) | |
tree | ee459690b5d275b83cd51a6639daad7f5376892c /include | |
parent | 4f6dc521f5082a65f42be8a333afe3bbda4ec400 (diff) |
Remove setFromPaint from GrPipelineBuilder
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1227153003
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrDrawContext.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 2a1d016541..4d59b8cd9d 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*, |