Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: src/gpu/batches/GrStencilPathBatch.h

Issue 2127673002: Consolidate handling of infinitely thin primitives and aa bloat handing WRT batch bounds (Closed) Base URL: https://skia.googlesource.com/skia.git@AAStrokeRect
Patch Set: comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/batches/GrStencilPathBatch.h
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h
index 42cd3e9f9326f4302a500c739bc75244ae62deab..c5d1b609ed7c9042f44b3176963f38374dbdf3d9 100644
--- a/src/gpu/batches/GrStencilPathBatch.h
+++ b/src/gpu/batches/GrStencilPathBatch.h
@@ -59,7 +59,7 @@ private:
, fScissor(scissor)
, fRenderTarget(renderTarget)
, fPath(path) {
robertphillips 2016/07/07 20:26:42 xtra ' ' ?
bsalomon 2016/07/07 23:40:57 Done.
- fBounds = path->getBounds();
+ this->setBounds(path->getBounds(), HasAABloat ::kNo, IsZeroArea::kNo);
}
bool onCombineIfPossible(GrBatch* t, const GrCaps& caps) override { return false; }

Powered by Google App Engine
This is Rietveld 408576698