 |
Skia
2D Graphics Library
|
Go to the documentation of this file.
9 #ifndef GrConfig_DEFINED
10 #define GrConfig_DEFINED
18 #if !defined(GR_CACHE_STATS)
19 #if defined(SK_DEBUG) || defined(SK_DUMP_STATS)
20 #define GR_CACHE_STATS 1
22 #define GR_CACHE_STATS 0
26 #if !defined(GR_GPU_STATS)
27 #if defined(SK_DEBUG) || defined(SK_DUMP_STATS) || GR_TEST_UTILS
28 #define GR_GPU_STATS 1
30 #define GR_GPU_STATS 0
40 #define GR_STRING(X) GR_STRING_IMPL(X)
41 #define GR_STRING_IMPL(X) #X
47 #define GR_CONCAT(X,Y) GR_CONCAT_IMPL(X,Y)
48 #define GR_CONCAT_IMPL(X,Y) X##Y
53 #define GR_FILE_AND_LINE_STR __FILE__ "(" GR_STRING(__LINE__) ") : "