Index: src/gpu/GrImmediateDrawTarget.cpp |
diff --git a/src/gpu/GrImmediateDrawTarget.cpp b/src/gpu/GrImmediateDrawTarget.cpp |
index 8088eae4a02ee7bea2e62507ba9165d3dacbfed9..999446f0a46c244790c2121612bf864c3d260f3f 100644 |
--- a/src/gpu/GrImmediateDrawTarget.cpp |
+++ b/src/gpu/GrImmediateDrawTarget.cpp |
@@ -26,14 +26,6 @@ GrImmediateDrawTarget::~GrImmediateDrawTarget() { |
} |
void GrImmediateDrawTarget::onDrawBatch(GrBatch* batch) { |
- const GrXferProcessor& xp = *batch->pipeline()->getXferProcessor(); |
- GrRenderTarget* rt = batch->pipeline()->getRenderTarget(); |
- |
- GrXferBarrierType barrierType; |
- if (xp.willNeedXferBarrier(rt, *this->caps(), &barrierType)) { |
- this->getGpu()->xferBarrier(rt, barrierType); |
- } |
- |
fBatchTarget.resetNumberOfDraws(); |
batch->generateGeometry(&fBatchTarget); |