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_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"
11  #define GR_TEST_UTILS 1
12  #define SK_BUILD_FOR_ANDROID_FRAMEWORK
13  #define SK_DEFAULT_FONT_CACHE_LIMIT   (768 * 1024)
14  #define SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)
15  #define SK_USE_FREETYPE_EMBOLDEN
16
17  // Disable these Ganesh features
18  #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
19  #define SK_DISABLE_RENDER_TARGET_SORTING
20
21  // Legacy flags
22  #define SK_IGNORE_GPU_DITHER
23  #define SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
24  #define SK_SUPPORT_DEPRECATED_CLIPOPS
25  #define SK_SUPPORT_LEGACY_BILERP_IGNORING_HACK
26  // Needed until we fix https://bug.skia.org/2440
27  #define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
28  #define SK_SUPPORT_LEGACY_DRAWFILTER
29  #define SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
30  #define SK_SUPPORT_LEGACY_GRADIENT_DITHERING
31  #define SK_SUPPORT_LEGACY_SHADER_ISABITMAP
32  #define SK_SUPPORT_LEGACY_TILED_BITMAPS
33  #define SK_COLOR_SPACE_XFORM_LEGACY_PIPELINE
34  #define SK_SUPPORT_LEGACY_RECTMAKELARGEST
35#endif // SkUserConfigManual_DEFINED
36