OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
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 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 #else | 179 #else |
180 template <bool> class GR_STATIC_ASSERT_FAILURE; | 180 template <bool> class GR_STATIC_ASSERT_FAILURE; |
181 template <> class GR_STATIC_ASSERT_FAILURE<true> {}; | 181 template <> class GR_STATIC_ASSERT_FAILURE<true> {}; |
182 #define GR_STATIC_ASSERT(CONDITION) \ | 182 #define GR_STATIC_ASSERT(CONDITION) \ |
183 enum {GR_CONCAT(X,__LINE__) = \ | 183 enum {GR_CONCAT(X,__LINE__) = \ |
184 sizeof(GR_STATIC_ASSERT_FAILURE<CONDITION>)} | 184 sizeof(GR_STATIC_ASSERT_FAILURE<CONDITION>)} |
185 #endif | 185 #endif |
186 #endif | 186 #endif |
187 | 187 |
188 /** | 188 /** |
189 * Enable batch debugging output as json. The enabler of this flag is responsib
le for making sure | |
190 * GrAuditTrail is reset occasionally. | |
191 * TODO make this runtime configurable | |
192 */ | |
193 #if !defined(GR_BATCH_DEBUGGING_OUTPUT) | |
194 #define GR_BATCH_DEBUGGING_OUTPUT 0 | |
195 #endif | |
196 | |
197 /** | |
198 * Set to 1 to enable pixel local storage path rendering on supported devices. | 189 * Set to 1 to enable pixel local storage path rendering on supported devices. |
199 */ | 190 */ |
200 #if !defined(GR_ENABLE_PLS_PATH_RENDERING) | 191 #if !defined(GR_ENABLE_PLS_PATH_RENDERING) |
201 #define GR_ENABLE_PLS_PATH_RENDERING 0 | 192 #define GR_ENABLE_PLS_PATH_RENDERING 0 |
202 #endif | 193 #endif |
203 | 194 |
204 #endif | 195 #endif |
OLD | NEW |