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

Unified Diff: src/gpu/batches/GrDrawAtlasBatch.cpp

Issue 1274513005: Rename GrPipelineInfo to GrPipelineOptimizations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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
« no previous file with comments | « src/gpu/batches/GrDrawAtlasBatch.h ('k') | src/gpu/batches/GrDrawVerticesBatch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/batches/GrDrawAtlasBatch.cpp
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp
index 3a71fcbc1bda1ac79e69804a7f3c1c3dc9bcee89..c1f244362c16691c35d698f25a437aab2aef63e1 100644
--- a/src/gpu/batches/GrDrawAtlasBatch.cpp
+++ b/src/gpu/batches/GrDrawAtlasBatch.cpp
@@ -9,19 +9,19 @@
#include "GrBatchTest.h"
#include "SkRandom.h"
-void GrDrawAtlasBatch::initBatchTracker(const GrPipelineInfo& init) {
+void GrDrawAtlasBatch::initBatchTracker(const GrPipelineOptimizations& opt) {
// Handle any color overrides
- if (!init.readsColor()) {
+ if (!opt.readsColor()) {
fGeoData[0].fColor = GrColor_ILLEGAL;
}
- init.getOverrideColorIfSet(&fGeoData[0].fColor);
+ opt.getOverrideColorIfSet(&fGeoData[0].fColor);
// setup batch properties
- fColorIgnored = !init.readsColor();
+ fColorIgnored = !opt.readsColor();
fColor = fGeoData[0].fColor;
// We'd like to assert this, but we can't because of GLPrograms test
//SkASSERT(init.readsLocalCoords());
- fCoverageIgnored = !init.readsCoverage();
+ fCoverageIgnored = !opt.readsCoverage();
}
static const GrGeometryProcessor* set_vertex_attributes(bool hasLocalCoords,
« no previous file with comments | « src/gpu/batches/GrDrawAtlasBatch.h ('k') | src/gpu/batches/GrDrawVerticesBatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698