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

Side by Side Diff: tools/PictureRenderer.h

Issue 316143003: Remove SkPicture::kUsePathBoundsForClip_RecordingFlag (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add suppression for fixed GM 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 | « tests/PictureTest.cpp ('k') | tools/PictureRenderer.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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 * than 0, this will be the minimum of the current SkPicture's height and th e viewport's height. 406 * than 0, this will be the minimum of the current SkPicture's height and th e viewport's height.
407 */ 407 */
408 int getViewHeight(); 408 int getViewHeight();
409 409
410 /** 410 /**
411 * Scales the provided canvas to the scale factor set by setScaleFactor. 411 * Scales the provided canvas to the scale factor set by setScaleFactor.
412 */ 412 */
413 void scaleToScaleFactor(SkCanvas*); 413 void scaleToScaleFactor(SkCanvas*);
414 414
415 SkBBHFactory* getFactory(); 415 SkBBHFactory* getFactory();
416 uint32_t recordFlags(); 416 uint32_t recordFlags() const { return 0; }
417 SkCanvas* setupCanvas(); 417 SkCanvas* setupCanvas();
418 virtual SkCanvas* setupCanvas(int width, int height); 418 virtual SkCanvas* setupCanvas(int width, int height);
419 419
420 /** 420 /**
421 * Copy src to dest; if src==NULL, set dest to empty string. 421 * Copy src to dest; if src==NULL, set dest to empty string.
422 */ 422 */
423 static void CopyString(SkString* dest, const SkString* src); 423 static void CopyString(SkString* dest, const SkString* src);
424 424
425 private: 425 private:
426 SkISize fViewport; 426 SkISize fViewport;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 652
653 typedef PictureRenderer INHERITED; 653 typedef PictureRenderer INHERITED;
654 }; 654 };
655 655
656 extern PictureRenderer* CreateGatherPixelRefsRenderer(); 656 extern PictureRenderer* CreateGatherPixelRefsRenderer();
657 extern PictureRenderer* CreatePictureCloneRenderer(); 657 extern PictureRenderer* CreatePictureCloneRenderer();
658 658
659 } 659 }
660 660
661 #endif // PictureRenderer_DEFINED 661 #endif // PictureRenderer_DEFINED
OLDNEW
« no previous file with comments | « tests/PictureTest.cpp ('k') | tools/PictureRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698