• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // DO NOT MODIFY! This file is autogenerated by gn_to_bp.py.
2 // If need to change a define, modify SkUserConfigManual.h
3 #pragma once
4 #include "SkUserConfigManual.h"
5 
6 #ifndef SK_ASSUME_GL
7 #define SK_ASSUME_GL 1
8 #endif
9 
10 #ifndef SK_CODEC_DECODES_RAW
11 #define SK_CODEC_DECODES_RAW
12 #endif
13 
14 #ifndef SK_ENABLE_SKSL_INTERPRETER
15 #define SK_ENABLE_SKSL_INTERPRETER
16 #endif
17 
18 #ifndef SK_GAMMA_APPLY_TO_A8
19 #define SK_GAMMA_APPLY_TO_A8
20 #endif
21 
22 #ifndef SK_GAMMA_CONTRAST
23 #define SK_GAMMA_CONTRAST 0.0
24 #endif
25 
26 #ifndef SK_GAMMA_EXPONENT
27 #define SK_GAMMA_EXPONENT 1.4
28 #endif
29 
30 #ifndef SK_HAS_JPEG_LIBRARY
31 #define SK_HAS_JPEG_LIBRARY
32 #endif
33 
34 #ifndef SK_HAS_PNG_LIBRARY
35 #define SK_HAS_PNG_LIBRARY
36 #endif
37 
38 #ifndef SK_HAS_WEBP_LIBRARY
39 #define SK_HAS_WEBP_LIBRARY
40 #endif
41 
42 #ifndef SK_SUPPORT_GPU
43 #define SK_SUPPORT_GPU 0
44 #endif
45 
46 #ifndef SK_SUPPORT_PDF
47 #define SK_SUPPORT_PDF
48 #endif
49 
50 #ifndef SK_USE_LIBGIFCODEC
51 #define SK_USE_LIBGIFCODEC
52 #endif
53 
54 #ifndef SK_XML
55 #define SK_XML
56 #endif
57 
58 // Correct SK_BUILD_FOR flags that may have been set by
59 // SkTypes.h/Android.bp
60 #ifndef SK_BUILD_FOR_MAC
61     #define SK_BUILD_FOR_MAC
62 #endif
63 #ifdef SK_BUILD_FOR_ANDROID
64     #undef SK_BUILD_FOR_ANDROID
65 #endif
66 #if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_IOS) || \
67     defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN)
68     #error "Only SK_BUILD_FOR_MAC should be defined!"
69 #endif
70