1 /*
2  * Copyright 2017 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkUserConfigManual_DEFINED
9 #define SkUserConfigManual_DEFINED
10   #define GR_TEST_UTILS 1
11   #define SK_BUILD_FOR_ANDROID_FRAMEWORK
12   #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)
13   #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)
14   #define SK_USE_FREETYPE_EMBOLDEN
15 
16   // Disable these Ganesh features
17   #define SK_DISABLE_REDUCE_OPLIST_SPLITTING
18   // Check error is expensive. HWUI historically also doesn't check its allocations
19   #define GR_GL_CHECK_ALLOC_WITH_GET_ERROR 0
20 
21   // Legacy flags
22   #define SK_SUPPORT_DEPRECATED_CLIPOPS
23 
24   // Staging flags
25   #define SK_LEGACY_PATH_ARCTO_ENDPOINT
26 
27   // Needed until we fix https://bug.skia.org/2440
28   #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
29   #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
30   #define SK_SUPPORT_LEGACY_AA_CHOICE
31   #define SK_SUPPORT_LEGACY_AAA_CHOICE
32 
33   #define SK_DISABLE_DAA  // skbug.com/6886
34 
35 #endif // SkUserConfigManual_DEFINED
36