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

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

Issue 345613002: Remove unused class from the Android framework build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 2014 Google Inc. 2 * Copyright 2014 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 SkPictureRecorder_DEFINED 8 #ifndef SkPictureRecorder_DEFINED
9 #define SkPictureRecorder_DEFINED 9 #define SkPictureRecorder_DEFINED
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 */ 65 */
66 void internalOnly_EnableOpts(bool enableOpts); 66 void internalOnly_EnableOpts(bool enableOpts);
67 67
68 private: 68 private:
69 void reset(); 69 void reset();
70 70
71 /** Replay the current (partially recorded) operation stream into 71 /** Replay the current (partially recorded) operation stream into
72 canvas. This call doesn't close the current recording. 72 canvas. This call doesn't close the current recording.
73 */ 73 */
74 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 74 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
75 friend class AndroidPicture; // This is temporary until we remove this from the framework
76 friend class android::Picture; 75 friend class android::Picture;
77 #endif 76 #endif
78 friend class SkPictureRecorderReplayTester; // for unit testing 77 friend class SkPictureRecorderReplayTester; // for unit testing
79 void partialReplay(SkCanvas* canvas) const; 78 void partialReplay(SkCanvas* canvas) const;
80 79
81 int fWidth; 80 int fWidth;
82 int fHeight; 81 int fHeight;
83 82
84 // Both ref counted. One of these two will be non-null: 83 // Both ref counted. One of these two will be non-null:
85 SkPictureRecord* fPictureRecord; // beginRecording() 84 SkPictureRecord* fPictureRecord; // beginRecording()
86 SkRecorder* fRecorder; // EXPERIMENTAL_beginRecording() 85 SkRecorder* fRecorder; // EXPERIMENTAL_beginRecording()
87 86
88 // Not refcounted. Used by EXPERIMENTAL_beginRecording(). 87 // Not refcounted. Used by EXPERIMENTAL_beginRecording().
89 SkRecord* fRecord; 88 SkRecord* fRecord;
90 89
91 typedef SkNoncopyable INHERITED; 90 typedef SkNoncopyable INHERITED;
92 }; 91 };
93 92
94 #endif 93 #endif
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