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

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

Issue 1164373003: Revert of change SkDraw and all Blitters to use pixmap instead of bitmap (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « gm/fatpathfill.cpp ('k') | src/core/SkAAClip.h » ('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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDraw_DEFINED 10 #ifndef SkDraw_DEFINED
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 * for antialiasing or hairlines (i.e. device-bounds outset by 1, and then 133 * for antialiasing or hairlines (i.e. device-bounds outset by 1, and then
134 * run through the inverse of the matrix). 134 * run through the inverse of the matrix).
135 * 135 *
136 * If the matrix cannot be inverted, or the current clip is empty, return 136 * If the matrix cannot be inverted, or the current clip is empty, return
137 * false and ignore bounds parameter. 137 * false and ignore bounds parameter.
138 */ 138 */
139 bool SK_WARN_UNUSED_RESULT 139 bool SK_WARN_UNUSED_RESULT
140 computeConservativeLocalClipBounds(SkRect* bounds) const; 140 computeConservativeLocalClipBounds(SkRect* bounds) const;
141 141
142 public: 142 public:
143 // const SkBitmap* fBitmap; // required 143 const SkBitmap* fBitmap; // required
144 SkPixmap fDst;
145 const SkMatrix* fMatrix; // required 144 const SkMatrix* fMatrix; // required
146 const SkRegion* fClip; // DEPRECATED 145 const SkRegion* fClip; // DEPRECATED
147 const SkRasterClip* fRC; // required 146 const SkRasterClip* fRC; // required
148 147
149 const SkClipStack* fClipStack; // optional 148 const SkClipStack* fClipStack; // optional
150 SkBaseDevice* fDevice; // optional 149 SkBaseDevice* fDevice; // optional
151 SkDrawProcs* fProcs; // optional 150 SkDrawProcs* fProcs; // optional
152 151
153 #ifdef SK_DEBUG 152 #ifdef SK_DEBUG
154 void validate() const; 153 void validate() const;
155 #else 154 #else
156 void validate() const {} 155 void validate() const {}
157 #endif 156 #endif
158 }; 157 };
159 158
160 #endif 159 #endif
OLDNEW
« no previous file with comments | « gm/fatpathfill.cpp ('k') | src/core/SkAAClip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698