xref: /aosp_15_r20/external/skia/skqp/include/config/SkUserConfig.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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 GPU_TEST_UTILS
7 #define GPU_TEST_UTILS 1
8 #endif
9 
10 #ifndef SKCMS_DISABLE_HSW
11 #define SKCMS_DISABLE_HSW
12 #endif
13 
14 #ifndef SKCMS_DISABLE_SKX
15 #define SKCMS_DISABLE_SKX
16 #endif
17 
18 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
19 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1
20 #endif
21 
22 #ifndef SK_BUILD_FOR_SKQP
23 #define SK_BUILD_FOR_SKQP
24 #endif
25 
26 #ifndef SK_CODEC_DECODES_BMP
27 #define SK_CODEC_DECODES_BMP
28 #endif
29 
30 #ifndef SK_CODEC_DECODES_GIF
31 #define SK_CODEC_DECODES_GIF
32 #endif
33 
34 #ifndef SK_CODEC_DECODES_ICO
35 #define SK_CODEC_DECODES_ICO
36 #endif
37 
38 #ifndef SK_CODEC_DECODES_JPEG
39 #define SK_CODEC_DECODES_JPEG
40 #endif
41 
42 #ifndef SK_CODEC_DECODES_PNG
43 #define SK_CODEC_DECODES_PNG
44 #endif
45 
46 #ifndef SK_CODEC_DECODES_WBMP
47 #define SK_CODEC_DECODES_WBMP
48 #endif
49 
50 #ifndef SK_CODEC_DECODES_WEBP
51 #define SK_CODEC_DECODES_WEBP
52 #endif
53 
54 #ifndef SK_DISABLE_TRACING
55 #define SK_DISABLE_TRACING
56 #endif
57 
58 #ifndef SK_ENABLE_AVX512_OPTS
59 #define SK_ENABLE_AVX512_OPTS
60 #endif
61 
62 #ifndef SK_ENABLE_DISCRETE_GPU
63 #define SK_ENABLE_DISCRETE_GPU
64 #endif
65 
66 #ifndef SK_ENABLE_DUMP_GPU
67 #define SK_ENABLE_DUMP_GPU
68 #endif
69 
70 #ifndef SK_ENABLE_PRECOMPILE
71 #define SK_ENABLE_PRECOMPILE
72 #endif
73 
74 #ifndef SK_GAMMA_APPLY_TO_A8
75 #define SK_GAMMA_APPLY_TO_A8
76 #endif
77 
78 #ifndef SK_GAMMA_CONTRAST
79 #define SK_GAMMA_CONTRAST 0.0
80 #endif
81 
82 #ifndef SK_GAMMA_EXPONENT
83 #define SK_GAMMA_EXPONENT 1.4
84 #endif
85 
86 #ifndef SK_GANESH
87 #define SK_GANESH
88 #endif
89 
90 #ifndef SK_GL
91 #define SK_GL
92 #endif
93 
94 #ifndef SK_GRAPHITE
95 #define SK_GRAPHITE
96 #endif
97 
98 #ifndef SK_HAS_WUFFS_LIBRARY
99 #define SK_HAS_WUFFS_LIBRARY
100 #endif
101 
102 #ifndef SK_PDF_USE_HARFBUZZ_SUBSET
103 #define SK_PDF_USE_HARFBUZZ_SUBSET
104 #endif
105 
106 #ifndef SK_TOOLS_REQUIRE_RESOURCES
107 #define SK_TOOLS_REQUIRE_RESOURCES
108 #endif
109 
110 #ifndef SK_USE_VMA
111 #define SK_USE_VMA
112 #endif
113 
114 #ifndef SK_VULKAN
115 #define SK_VULKAN
116 #endif
117 
118 #ifndef SK_XML
119 #define SK_XML
120 #endif
121 
122 #ifndef SK_BUILD_FOR_ANDROID
123     #error "SK_BUILD_FOR_ANDROID must be defined!"
124 #endif
125 #if defined(SK_BUILD_FOR_IOS) || defined(SK_BUILD_FOR_MAC) || \
126     defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN)
127     #error "Only SK_BUILD_FOR_ANDROID should be defined!"
128 #endif
129 
130 #undef SK_BUILD_FOR_ANDROID_FRAMEWORK
131