Compute bounds union while combining path range draw path batches
Compute bounds union while combining batches generated by NVPR device independent text code-path. Otherwise the overlap test of the GrDrawTarget::recordBatch violate painter's algorithm order. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1894973008 Review URL: https://codereview.chromium.org/1894973008
This commit is contained in:
parent
97920b4092
commit
c4ce72fc15
@ -102,6 +102,7 @@ bool GrDrawPathRangeBatch::onCombineIfPossible(GrBatch* t, const GrCaps& caps) {
|
||||
draw->fY = head->fY;
|
||||
that->fDraws.popHead();
|
||||
}
|
||||
this->joinBounds(that->fBounds);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user