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

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

Issue 1467553002: New API for computing optimization invariants. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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/GrAtlasTextBatch.h
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h
index 63dfa30e6bb53076bc89fbd262c97c8ac8c7ad92..59b5ee95f985da2db676c29c929a58cd0667d873 100644
--- a/src/gpu/batches/GrAtlasTextBatch.h
+++ b/src/gpu/batches/GrAtlasTextBatch.h
@@ -102,10 +102,6 @@ public:
SkString dumpInfo() const override;
- void getInvariantOutputColor(GrInitInvariantOutput* out) const override;
-
- void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override;
-
static size_t GetVertexStride(GrMaskFormat maskFormat) {
switch (maskFormat) {
case kA8_GrMaskFormat:
@@ -126,6 +122,11 @@ public:
}
}
+protected:
+ void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage,
+ bool* usePLSDstRead) const override;
+
+
private:
void initBatchTracker(const GrPipelineOptimizations& opt) override;

Powered by Google App Engine
This is Rietveld 408576698