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