| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkUserConfig_DEFINED | 10 #ifndef SkUserConfig_DEFINED |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 //#define SK_DEBUG | 65 //#define SK_DEBUG |
| 66 //#define SK_RELEASE | 66 //#define SK_RELEASE |
| 67 | 67 |
| 68 /* Skia has certain debug-only code that is extremely intensive even for debug | 68 /* Skia has certain debug-only code that is extremely intensive even for debug |
| 69 builds. This code is useful for diagnosing specific issues, but is not | 69 builds. This code is useful for diagnosing specific issues, but is not |
| 70 generally applicable, therefore it must be explicitly enabled to avoid | 70 generally applicable, therefore it must be explicitly enabled to avoid |
| 71 the performance impact. By default these flags are undefined, but can be | 71 the performance impact. By default these flags are undefined, but can be |
| 72 enabled by uncommenting them below. | 72 enabled by uncommenting them below. |
| 73 */ | 73 */ |
| 74 //#define SK_DEBUG_GLYPH_CACHE | 74 //#define SK_DEBUG_GLYPH_CACHE |
| 75 //#define SK_DEBUG_PATH | 75 #define SK_DEBUG_PATH |
| 76 | 76 |
| 77 /* To assist debugging, Skia provides an instance counting utility in | 77 /* To assist debugging, Skia provides an instance counting utility in |
| 78 include/core/SkInstCount.h. This flag turns on and off that utility to | 78 include/core/SkInstCount.h. This flag turns on and off that utility to |
| 79 allow instance count tracking in either debug or release builds. By | 79 allow instance count tracking in either debug or release builds. By |
| 80 default it is enabled in debug but disabled in release. | 80 default it is enabled in debug but disabled in release. |
| 81 */ | 81 */ |
| 82 //#define SK_ENABLE_INST_COUNT 1 | 82 //#define SK_ENABLE_INST_COUNT 1 |
| 83 | 83 |
| 84 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) | 84 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) |
| 85 it will call SK_CRASH(). If this is not defined it, it is defined in | 85 it will call SK_CRASH(). If this is not defined it, it is defined in |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 /* Determines whether to build code that supports the GPU backend. Some classes | 195 /* Determines whether to build code that supports the GPU backend. Some classes |
| 196 that are not GPU-specific, such as SkShader subclasses, have optional code | 196 that are not GPU-specific, such as SkShader subclasses, have optional code |
| 197 that is used allows them to interact with the GPU backend. If you'd like to | 197 that is used allows them to interact with the GPU backend. If you'd like to |
| 198 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu | 198 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu |
| 199 directories from your include search path when you're not building the GPU | 199 directories from your include search path when you're not building the GPU |
| 200 backend. Defaults to 1 (build the GPU code). | 200 backend. Defaults to 1 (build the GPU code). |
| 201 */ | 201 */ |
| 202 //#define SK_SUPPORT_GPU 1 | 202 //#define SK_SUPPORT_GPU 1 |
| 203 | 203 |
| 204 #endif | 204 #endif |
| OLD | NEW |