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

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

Issue 1109153004: Initial CL to create GrBatchTest infrastructure (Closed) Base URL: https://skia.googlesource.com/skia.git@rand-batch0
Patch Set: windows warnings 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
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 ////////////////////////////////////////////////////////////////////// 364 //////////////////////////////////////////////////////////////////////
365 365
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 //////////////////////////////////////////////////////////////////////
375
376 #ifndef GR_TEST_UTILS
377 # define GR_TEST_UTILS 1
378 #endif
379
374 #endif // SkPostConfig_DEFINED 380 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrTestUtils.h » ('j') | src/gpu/GrTestUtils.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698