diff options
author | 2016-05-12 11:52:02 -0700 | |
---|---|---|
committer | 2016-05-12 11:52:02 -0700 | |
commit | 193d9cf8f2280cd4f8e509c6f3af6b47cea04935 (patch) | |
tree | 212cf22458870c76b50fb0d17db993ae98877217 /src/gpu/GrDrawContext.cpp | |
parent | dde2c0356c33d488fecfb455403e1de5057914ee (diff) |
Eliminate special case nvpr batch handling
Removes drawPathBatch methods from GrDrawTarget and GrDrawContext, and
integrates nvpr batches in with all the other batches.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1966763002
Review-Url: https://codereview.chromium.org/1966763002
Diffstat (limited to 'src/gpu/GrDrawContext.cpp')
-rw-r--r-- | src/gpu/GrDrawContext.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp index 7f5cdc78ed..10b9b63b42 100644 --- a/src/gpu/GrDrawContext.cpp +++ b/src/gpu/GrDrawContext.cpp @@ -782,18 +782,6 @@ void GrDrawContext::drawBatch(const GrClip& clip, this->getDrawTarget()->drawBatch(pipelineBuilder, batch); } -void GrDrawContext::drawPathBatch(const GrPipelineBuilder& pipelineBuilder, - GrDrawPathBatchBase* batch) { - ASSERT_SINGLE_OWNER - RETURN_IF_ABANDONED - SkDEBUGCODE(this->validate();) - GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawPathBatch"); - - AutoCheckFlush acf(fDrawingManager); - - this->getDrawTarget()->drawPathBatch(pipelineBuilder, batch); -} - void GrDrawContext::drawPath(const GrClip& clip, const GrPaint& paint, const SkMatrix& viewMatrix, |