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

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

Issue 1927583002: Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix typo Created 4 years, 7 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
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 #ifndef SkClipStack_DEFINED 8 #ifndef SkClipStack_DEFINED
9 #define SkClipStack_DEFINED 9 #define SkClipStack_DEFINED
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 */ 163 */
164 bool isInverseFilled() const { 164 bool isInverseFilled() const {
165 return kPath_Type == fType && fPath.get()->isInverseFillType(); 165 return kPath_Type == fType && fPath.get()->isInverseFillType();
166 } 166 }
167 167
168 /** 168 /**
169 * Replay this clip into the visitor. 169 * Replay this clip into the visitor.
170 */ 170 */
171 void replay(SkCanvasClipVisitor*) const; 171 void replay(SkCanvasClipVisitor*) const;
172 172
173 #ifdef SK_DEVELOPER 173 #ifdef SK_DEBUG
174 /** 174 /**
175 * Dumps the element to SkDebugf. This is intended for Skia development debugging 175 * Dumps the element to SkDebugf. This is intended for Skia development debugging
176 * Don't rely on the existence of this function or the formatting of its output. 176 * Don't rely on the existence of this function or the formatting of its output.
177 */ 177 */
178 void dump() const; 178 void dump() const;
179 #endif 179 #endif
180 180
181 private: 181 private:
182 friend class SkClipStack; 182 friend class SkClipStack;
183 183
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 * (potentially ignorable) cases 346 * (potentially ignorable) cases
347 */ 347 */
348 static const int32_t kInvalidGenID = 0; //!< Invalid id that is never re turned by 348 static const int32_t kInvalidGenID = 0; //!< Invalid id that is never re turned by
349 //!< SkClipStack. Useful when ca ching clips 349 //!< SkClipStack. Useful when ca ching clips
350 //!< based on GenID. 350 //!< based on GenID.
351 static const int32_t kEmptyGenID = 1; // no pixels writeable 351 static const int32_t kEmptyGenID = 1; // no pixels writeable
352 static const int32_t kWideOpenGenID = 2; // all pixels writeable 352 static const int32_t kWideOpenGenID = 2; // all pixels writeable
353 353
354 int32_t getTopmostGenID() const; 354 int32_t getTopmostGenID() const;
355 355
356 #ifdef SK_DEVELOPER 356 #ifdef SK_DEBUG
357 /** 357 /**
358 * Dumps the contents of the clip stack to SkDebugf. This is intended for Sk ia development 358 * Dumps the contents of the clip stack to SkDebugf. This is intended for Sk ia development
359 * debugging. Don't rely on the existence of this function or the formatting of its output. 359 * debugging. Don't rely on the existence of this function or the formatting of its output.
360 */ 360 */
361 void dump() const; 361 void dump() const;
362 #endif 362 #endif
363 363
364 public: 364 public:
365 class Iter { 365 class Iter {
366 public: 366 public:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 */ 471 */
472 void restoreTo(int saveCount); 472 void restoreTo(int saveCount);
473 473
474 /** 474 /**
475 * Return the next unique generation ID. 475 * Return the next unique generation ID.
476 */ 476 */
477 static int32_t GetNextGenID(); 477 static int32_t GetNextGenID();
478 }; 478 };
479 479
480 #endif 480 #endif
OLDNEW
« no previous file with comments | « gyp/common.gypi ('k') | include/core/SkTypes.h » ('j') | src/core/SkResourceCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698