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

Side by Side Diff: tools/PictureRenderer.h

Issue 318433003: Added grid data to logging output (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Changed from using public members to getters Created 6 years, 6 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 | no next file » | 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 } 253 }
254 if (fScaleFactor != SK_Scalar1) { 254 if (fScaleFactor != SK_Scalar1) {
255 config.appendf("_scalar_%f", SkScalarToFloat(fScaleFactor)); 255 config.appendf("_scalar_%f", SkScalarToFloat(fScaleFactor));
256 } 256 }
257 if (kRTree_BBoxHierarchyType == fBBoxHierarchyType) { 257 if (kRTree_BBoxHierarchyType == fBBoxHierarchyType) {
258 config.append("_rtree"); 258 config.append("_rtree");
259 } else if (kQuadTree_BBoxHierarchyType == fBBoxHierarchyType) { 259 } else if (kQuadTree_BBoxHierarchyType == fBBoxHierarchyType) {
260 config.append("_quadtree"); 260 config.append("_quadtree");
261 } else if (kTileGrid_BBoxHierarchyType == fBBoxHierarchyType) { 261 } else if (kTileGrid_BBoxHierarchyType == fBBoxHierarchyType) {
262 config.append("_grid"); 262 config.append("_grid");
263 config.append("_");
264 config.appendS32(fGridInfo.fTileInterval.width());
265 config.append("x");
266 config.appendS32(fGridInfo.fTileInterval.height());
263 } 267 }
264 #if SK_SUPPORT_GPU 268 #if SK_SUPPORT_GPU
265 switch (fDeviceType) { 269 switch (fDeviceType) {
266 case kGPU_DeviceType: 270 case kGPU_DeviceType:
267 if (fSampleCount) { 271 if (fSampleCount) {
268 config.appendf("_msaa%d", fSampleCount); 272 config.appendf("_msaa%d", fSampleCount);
269 } else { 273 } else {
270 config.append("_gpu"); 274 config.append("_gpu");
271 } 275 }
272 break; 276 break;
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 652
649 typedef PictureRenderer INHERITED; 653 typedef PictureRenderer INHERITED;
650 }; 654 };
651 655
652 extern PictureRenderer* CreateGatherPixelRefsRenderer(); 656 extern PictureRenderer* CreateGatherPixelRefsRenderer();
653 extern PictureRenderer* CreatePictureCloneRenderer(); 657 extern PictureRenderer* CreatePictureCloneRenderer();
654 658
655 } 659 }
656 660
657 #endif // PictureRenderer_DEFINED 661 #endif // PictureRenderer_DEFINED
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698