| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef PictureRenderer_DEFINED | 8 #ifndef PictureRenderer_DEFINED |
| 9 #define PictureRenderer_DEFINED | 9 #define PictureRenderer_DEFINED |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 #if SK_SUPPORT_GPU | 76 #if SK_SUPPORT_GPU |
| 77 kGPU_DeviceType, | 77 kGPU_DeviceType, |
| 78 #endif | 78 #endif |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 enum BBoxHierarchyType { | 81 enum BBoxHierarchyType { |
| 82 kNone_BBoxHierarchyType = 0, | 82 kNone_BBoxHierarchyType = 0, |
| 83 kQuadTree_BBoxHierarchyType, | 83 kQuadTree_BBoxHierarchyType, |
| 84 kRTree_BBoxHierarchyType, | 84 kRTree_BBoxHierarchyType, |
| 85 kTileGrid_BBoxHierarchyType, | 85 kTileGrid_BBoxHierarchyType, |
| 86 |
| 87 kLast_BBoxHierarchyType = kTileGrid_BBoxHierarchyType, |
| 86 }; | 88 }; |
| 87 | 89 |
| 88 // this uses SkPaint::Flags as a base and adds additional flags | 90 // this uses SkPaint::Flags as a base and adds additional flags |
| 89 enum DrawFilterFlags { | 91 enum DrawFilterFlags { |
| 90 kNone_DrawFilterFlag = 0, | 92 kNone_DrawFilterFlag = 0, |
| 91 kHinting_DrawFilterFlag = 0x10000, // toggles between no hinting and nor
mal hinting | 93 kHinting_DrawFilterFlag = 0x10000, // toggles between no hinting and nor
mal hinting |
| 92 kSlightHinting_DrawFilterFlag = 0x20000, // toggles between slight and n
ormal hinting | 94 kSlightHinting_DrawFilterFlag = 0x20000, // toggles between slight and n
ormal hinting |
| 93 kAAClip_DrawFilterFlag = 0x40000, // toggles between soft and hard clip | 95 kAAClip_DrawFilterFlag = 0x40000, // toggles between soft and hard clip |
| 94 kMaskFilter_DrawFilterFlag = 0x80000, // toggles on/off mask filters (e.
g., blurs) | 96 kMaskFilter_DrawFilterFlag = 0x80000, // toggles on/off mask filters (e.
g., blurs) |
| 95 }; | 97 }; |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 613 |
| 612 typedef PictureRenderer INHERITED; | 614 typedef PictureRenderer INHERITED; |
| 613 }; | 615 }; |
| 614 | 616 |
| 615 extern PictureRenderer* CreateGatherPixelRefsRenderer(); | 617 extern PictureRenderer* CreateGatherPixelRefsRenderer(); |
| 616 extern PictureRenderer* CreatePictureCloneRenderer(); | 618 extern PictureRenderer* CreatePictureCloneRenderer(); |
| 617 | 619 |
| 618 } | 620 } |
| 619 | 621 |
| 620 #endif // PictureRenderer_DEFINED | 622 #endif // PictureRenderer_DEFINED |
| OLD | NEW |