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

Side by Side Diff: src/gpu/text/GrDistanceFieldAdjustTable.cpp

Issue 1884873006: Rename lots of things from 'sRGB' to 'GammaCorrect', where appropriate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrDistanceFieldAdjustTable.h" 8 #include "GrDistanceFieldAdjustTable.h"
9 9
10 #include "SkScalerContext.h" 10 #include "SkScalerContext.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 break; 87 break;
88 } 88 }
89 } 89 }
90 } 90 }
91 91
92 return table; 92 return table;
93 } 93 }
94 94
95 void GrDistanceFieldAdjustTable::buildDistanceAdjustTables() { 95 void GrDistanceFieldAdjustTable::buildDistanceAdjustTables() {
96 fTable = build_distance_adjust_table(SK_GAMMA_EXPONENT, SK_GAMMA_EXPONENT); 96 fTable = build_distance_adjust_table(SK_GAMMA_EXPONENT, SK_GAMMA_EXPONENT);
97 fSRGBTable = build_distance_adjust_table(SK_Scalar1, SK_Scalar1); 97 fGammaCorrectTable = build_distance_adjust_table(SK_Scalar1, SK_Scalar1);
98 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698