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

Side by Side Diff: include/core/SkPostConfig.h

Issue 1128153005: Add unit tests to text context (Closed) Base URL: https://skia.googlesource.com/skia.git@randbatch9
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | src/gpu/GrAtlasTextContext.h » ('j') | src/gpu/GrAtlasTextContext.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #ifndef SkPostConfig_DEFINED 8 #ifndef SkPostConfig_DEFINED
9 #define SkPostConfig_DEFINED 9 #define SkPostConfig_DEFINED
10 10
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB) 366 #if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB)
367 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB" 367 # error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB"
368 #elif defined(SK_GAMMA_SRGB) 368 #elif defined(SK_GAMMA_SRGB)
369 # define SK_GAMMA_EXPONENT (0.0f) 369 # define SK_GAMMA_EXPONENT (0.0f)
370 #elif !defined(SK_GAMMA_EXPONENT) 370 #elif !defined(SK_GAMMA_EXPONENT)
371 # define SK_GAMMA_EXPONENT (2.2f) 371 # define SK_GAMMA_EXPONENT (2.2f)
372 #endif 372 #endif
373 373
374 ////////////////////////////////////////////////////////////////////// 374 //////////////////////////////////////////////////////////////////////
375 375
376 #ifndef GR_TEST_UTILS 376 #ifndef GR_TEST_UTILS
robertphillips 2015/05/08 17:12:12 Is this intentional ?
377 # define GR_TEST_UTILS 1 377 # define GR_TEST_UTILS 0
378 #endif 378 #endif
379 379
380 #endif // SkPostConfig_DEFINED 380 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/gpu/GrAtlasTextContext.h » ('j') | src/gpu/GrAtlasTextContext.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698