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

Side by Side Diff: src/pathops/SkOpCoincidence.h

Issue 2425733002: fix some fuzz (Closed)
Patch Set: Created 4 years, 2 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 | src/pathops/SkOpCoincidence.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 2013 Google Inc. 2 * Copyright 2013 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 #ifndef SkOpCoincidence_DEFINED 7 #ifndef SkOpCoincidence_DEFINED
8 #define SkOpCoincidence_DEFINED 8 #define SkOpCoincidence_DEFINED
9 9
10 #include "SkTDArray.h" 10 #include "SkTDArray.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 220 }
221 221
222 const SkOpGlobalState* globalState() const { 222 const SkOpGlobalState* globalState() const {
223 return fGlobalState; 223 return fGlobalState;
224 } 224 }
225 225
226 bool isEmpty() const { 226 bool isEmpty() const {
227 return !fHead && !fTop; 227 return !fHead && !fTop;
228 } 228 }
229 229
230 void mark(DEBUG_COIN_DECLARE_ONLY_PARAMS()); 230 bool mark(DEBUG_COIN_DECLARE_ONLY_PARAMS());
231 void markCollapsed(SkOpPtT* ); 231 void markCollapsed(SkOpPtT* );
232 232
233 static bool Ordered(const SkOpPtT* coinPtTStart, const SkOpPtT* oppPtTStart) { 233 static bool Ordered(const SkOpPtT* coinPtTStart, const SkOpPtT* oppPtTStart) {
234 return Ordered(coinPtTStart->segment(), oppPtTStart->segment()); 234 return Ordered(coinPtTStart->segment(), oppPtTStart->segment());
235 } 235 }
236 236
237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp); 237 static bool Ordered(const SkOpSegment* coin, const SkOpSegment* opp);
238 void release(const SkOpSegment* ); 238 void release(const SkOpSegment* );
239 void releaseDeleted(); 239 void releaseDeleted();
240 240
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 SkCoincidentSpans* fTop; 294 SkCoincidentSpans* fTop;
295 SkOpGlobalState* fGlobalState; 295 SkOpGlobalState* fGlobalState;
296 bool fContinue; 296 bool fContinue;
297 bool fSpanDeleted; 297 bool fSpanDeleted;
298 bool fPtAllocated; 298 bool fPtAllocated;
299 bool fCoinExtended; 299 bool fCoinExtended;
300 bool fSpanMerged; 300 bool fSpanMerged;
301 }; 301 };
302 302
303 #endif 303 #endif
OLDNEW
« no previous file with comments | « no previous file | src/pathops/SkOpCoincidence.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698