• 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_ALLOW_STATIC_GLOBAL_INITIALIZERS
7 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
8 #endif
9 
10 #ifndef SK_BUILD_FOR_SKQP
11 #define SK_BUILD_FOR_SKQP
12 #endif
13 
14 #ifndef SK_CODEC_DECODES_JPEG
15 #define SK_CODEC_DECODES_JPEG
16 #endif
17 
18 #ifndef SK_CODEC_DECODES_PNG
19 #define SK_CODEC_DECODES_PNG
20 #endif
21 
22 #ifndef SK_CODEC_DECODES_WEBP
23 #define SK_CODEC_DECODES_WEBP
24 #endif
25 
26 #ifndef SK_ENABLE_DISCRETE_GPU
27 #define SK_ENABLE_DISCRETE_GPU
28 #endif
29 
30 #ifndef SK_ENABLE_DUMP_GPU
31 #define SK_ENABLE_DUMP_GPU
32 #endif
33 
34 #ifndef SK_ENABLE_SKSL
35 #define SK_ENABLE_SKSL
36 #endif
37 
38 #ifndef SK_ENCODE_JPEG
39 #define SK_ENCODE_JPEG
40 #endif
41 
42 #ifndef SK_ENCODE_PNG
43 #define SK_ENCODE_PNG
44 #endif
45 
46 #ifndef SK_ENCODE_WEBP
47 #define SK_ENCODE_WEBP
48 #endif
49 
50 #ifndef SK_GAMMA_APPLY_TO_A8
51 #define SK_GAMMA_APPLY_TO_A8
52 #endif
53 
54 #ifndef SK_GAMMA_CONTRAST
55 #define SK_GAMMA_CONTRAST 0.0
56 #endif
57 
58 #ifndef SK_GAMMA_EXPONENT
59 #define SK_GAMMA_EXPONENT 1.4
60 #endif
61 
62 #ifndef SK_GL
63 #define SK_GL
64 #endif
65 
66 #ifndef SK_HAS_ANDROID_CODEC
67 #define SK_HAS_ANDROID_CODEC
68 #endif
69 
70 #ifndef SK_HAS_WUFFS_LIBRARY
71 #define SK_HAS_WUFFS_LIBRARY
72 #endif
73 
74 #ifndef SK_TOOLS_REQUIRE_RESOURCES
75 #define SK_TOOLS_REQUIRE_RESOURCES
76 #endif
77 
78 #ifndef SK_USE_VMA
79 #define SK_USE_VMA
80 #endif
81 
82 #ifndef SK_VULKAN
83 #define SK_VULKAN
84 #endif
85 
86 #ifndef SK_XML
87 #define SK_XML
88 #endif
89 
90 #ifndef SK_BUILD_FOR_ANDROID
91     #error "SK_BUILD_FOR_ANDROID must be defined!"
92 #endif
93 #if defined(SK_BUILD_FOR_IOS) || defined(SK_BUILD_FOR_MAC) || \
94     defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN)
95     #error "Only SK_BUILD_FOR_ANDROID should be defined!"
96 #endif
97 
98 #undef SK_BUILD_FOR_ANDROID_FRAMEWORK
99