Index: src/gpu/batches/GrAtlasTextBatch.h |
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h |
index 629027a0030f551073505a3236c210ce09714fb3..72e299d3fa9b8e3beb2154d8a37a1abdf5feecea 100644 |
--- a/src/gpu/batches/GrAtlasTextBatch.h |
+++ b/src/gpu/batches/GrAtlasTextBatch.h |
@@ -58,7 +58,7 @@ public: |
static GrAtlasTextBatch* CreateDistanceField( |
int glyphCount, GrBatchFontCache* fontCache, |
const GrDistanceFieldAdjustTable* distanceAdjustTable, |
- bool useSRGBDistanceTable, |
+ bool useGammaCorrectDistanceTable, |
SkColor filteredColor, bool isLCD, |
bool useBGR) { |
GrAtlasTextBatch* batch = new GrAtlasTextBatch; |
@@ -66,7 +66,7 @@ public: |
batch->fFontCache = fontCache; |
batch->fMaskType = isLCD ? kLCDDistanceField_MaskType : kGrayscaleDistanceField_MaskType; |
batch->fDistanceAdjustTable.reset(SkRef(distanceAdjustTable)); |
- batch->fUseSRGBDistanceTable = useSRGBDistanceTable; |
+ batch->fUseGammaCorrectDistanceTable = useGammaCorrectDistanceTable; |
batch->fFilteredColor = filteredColor; |
batch->fUseBGR = useBGR; |
batch->fBatch.fNumGlyphs = glyphCount; |
@@ -184,7 +184,7 @@ private: |
// Distance field properties |
SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; |
SkColor fFilteredColor; |
- bool fUseSRGBDistanceTable; |
+ bool fUseGammaCorrectDistanceTable; |
friend class GrBlobRegenHelper; // Needs to trigger flushes |