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

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

Issue 1036283002: Remove all code related to NaCl (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « gyp/views.gyp ('k') | include/core/SkPreConfig.h » ('j') | no next file with comments »
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 ////////////////////////////////////////////////////////////////////// 348 //////////////////////////////////////////////////////////////////////
349 349
350 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 350 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
351 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 351 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
352 #endif 352 #endif
353 353
354 ////////////////////////////////////////////////////////////////////// 354 //////////////////////////////////////////////////////////////////////
355 355
356 #ifndef SK_EGL 356 #ifndef SK_EGL
357 # if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_NACL) 357 # if defined(SK_BUILD_FOR_ANDROID)
358 # define SK_EGL 1 358 # define SK_EGL 1
359 # else 359 # else
360 # define SK_EGL 0 360 # define SK_EGL 0
361 # endif 361 # endif
362 #endif 362 #endif
363 363
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 #endif // SkPostConfig_DEFINED 374 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « gyp/views.gyp ('k') | include/core/SkPreConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698