OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 The Android Open Source Project | 2 * Copyright (C) 2006 The Android Open Source Project |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 #define SK_SUPPORT_LEGACY_GETDEVICE | 257 #define SK_SUPPORT_LEGACY_GETDEVICE |
258 #endif | 258 #endif |
259 | 259 |
260 // Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to | 260 // Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to |
261 // test the threadsafety of SkPicture playback. | 261 // test the threadsafety of SkPicture playback. |
262 #define SK_PICTURE_CLONE_NOOP 1 | 262 #define SK_PICTURE_CLONE_NOOP 1 |
263 | 263 |
264 // Turns on new (nicer, hopefully faster) SkPicture backend. | 264 // Turns on new (nicer, hopefully faster) SkPicture backend. |
265 #define SK_PICTURE_USE_SK_RECORD 1 | 265 #define SK_PICTURE_USE_SK_RECORD 1 |
266 | 266 |
| 267 // Run a few optimization passes over the SkRecord after recording. |
| 268 #define SK_PICTURE_OPTIMIZE_SK_RECORD 1 |
| 269 |
267 // ===== End Chrome-specific definitions ===== | 270 // ===== End Chrome-specific definitions ===== |
268 | 271 |
269 #endif | 272 #endif |
OLD | NEW |