Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: tools/PictureRenderer.h

Issue 186973005: New version of the bbh shootout (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix bbh_shootout break for mac Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/bbh_shootout.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | tools/bbh_shootout.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698