diff options
author | 2016-07-08 06:40:56 -0700 | |
---|---|---|
committer | 2016-07-08 06:40:57 -0700 | |
commit | 88cf17d099085b8085ab11571b5094163dbb2c84 (patch) | |
tree | 0737705697caa8998453d5519a19a6f12b888104 /src/gpu/batches/GrNinePatch.cpp | |
parent | ac41bac40f5a80d2bc5ccec584c23478a6900179 (diff) |
Consolidate handling of infinitely thin primitives and aa bloat handing WRT batch bounds.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2127673002
Review-Url: https://codereview.chromium.org/2127673002
Diffstat (limited to 'src/gpu/batches/GrNinePatch.cpp')
-rw-r--r-- | src/gpu/batches/GrNinePatch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrNinePatch.cpp b/src/gpu/batches/GrNinePatch.cpp index 1c90f83dbc..62af20b2cf 100644 --- a/src/gpu/batches/GrNinePatch.cpp +++ b/src/gpu/batches/GrNinePatch.cpp @@ -44,7 +44,7 @@ public: fImageHeight = imageHeight; // setup bounds - patch.fViewMatrix.mapRect(&fBounds, patch.fDst); + this->setTransformedBounds(patch.fDst, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo); } const char* name() const override { return "NonAANinePatchBatch"; } @@ -152,7 +152,7 @@ private: } fPatches.push_back_n(that->fPatches.count(), that->fPatches.begin()); - this->joinBounds(that->bounds()); + this->joinBounds(*that); return true; } |