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

Side by Side Diff: include/core/SkRTreePicture.h

Issue 239703006: Retract SkPicture::kOptimizeForClippedPlayback_RecordingFlag from public API (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « include/core/SkPicture.h ('k') | include/core/SkTileGridPicture.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkRTreePicture_DEFINED
9 #define SkRTreePicture_DEFINED
10
11 #include "SkPicture.h"
12
13 /**
14 * Subclass of SkPicture that creates an RTree acceleration structure.
15 */
16 class SkRTreePicture : public SkPicture {
17 public:
18 virtual SkBBoxHierarchy* createBBoxHierarchy() const SK_OVERRIDE;
19
20 private:
21 typedef SkPicture INHERITED;
22 };
23
24 class SkRTreePictureFactory : public SkPictureFactory {
25 public:
26 SkRTreePictureFactory() {}
27
28 virtual SkPicture* create(int width, int height) SK_OVERRIDE {
29 return SkNEW(SkRTreePicture);
30 }
31
32 private:
33 typedef SkPictureFactory INHERITED;
34 };
35
36 #endif
OLDNEW
« no previous file with comments | « include/core/SkPicture.h ('k') | include/core/SkTileGridPicture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698