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

Unified Diff: src/gpu/GrTestBatch.h

Issue 1121463002: Move bounds to GrBatch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 8 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/GrTestBatch.h
diff --git a/src/gpu/GrTestBatch.h b/src/gpu/GrTestBatch.h
index 8e16f52946a8d1df304578bfc962cd2f7a842388..da50293637d8d5bbcd17fd341f2ebb5346e761ba 100644
--- a/src/gpu/GrTestBatch.h
+++ b/src/gpu/GrTestBatch.h
@@ -70,6 +70,8 @@ public:
protected:
GrTestBatch(const GrGeometryProcessor* gp) {
fGeometryProcessor.reset(SkRef(gp));
+
+ this->setBoundsLargest();
}
const GrGeometryProcessor* geometryProcessor() const { return fGeometryProcessor; }

Powered by Google App Engine
This is Rietveld 408576698