diff options
author | bsalomon <bsalomon@google.com> | 2015-08-10 10:47:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-10 10:47:29 -0700 |
commit | 91d844de47bdc1c3f807c85293e46943dcfc712d (patch) | |
tree | 98e72b2f8b0a3f1028b149316f2bdbb1fcccb437 /src/gpu/batches/GrDrawAtlasBatch.cpp | |
parent | 7fc2a2610ec31a659fe2603f8960d376822d54cb (diff) |
Rename GrPipelineInfo to GrPipelineOptimizations
TBR=joshualitt@google.com
Review URL: https://codereview.chromium.org/1274513005
Diffstat (limited to 'src/gpu/batches/GrDrawAtlasBatch.cpp')
-rw-r--r-- | src/gpu/batches/GrDrawAtlasBatch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/batches/GrDrawAtlasBatch.cpp b/src/gpu/batches/GrDrawAtlasBatch.cpp index 3a71fcbc1b..c1f244362c 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, |