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

Side by Side Diff: src/core/SkRegion_path.cpp

Issue 808463002: Add SK_OVERRIDE to a few places that are missing it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years 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 | « src/core/SkImageFilter.cpp ('k') | src/core/SkScan_Path.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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #include "SkRegionPriv.h" 8 #include "SkRegionPriv.h"
9 #include "SkBlitter.h" 9 #include "SkBlitter.h"
10 #include "SkScan.h" 10 #include "SkScan.h"
(...skipping 25 matching lines...) Expand all
36 if (!this->collapsWithPrev()) { // flush the last line 36 if (!this->collapsWithPrev()) { // flush the last line
37 fCurrScanline = fCurrScanline->nextScanline(); 37 fCurrScanline = fCurrScanline->nextScanline();
38 } 38 }
39 } 39 }
40 } 40 }
41 41
42 int computeRunCount() const; 42 int computeRunCount() const;
43 void copyToRect(SkIRect*) const; 43 void copyToRect(SkIRect*) const;
44 void copyToRgn(SkRegion::RunType runs[]) const; 44 void copyToRgn(SkRegion::RunType runs[]) const;
45 45
46 virtual void blitH(int x, int y, int width); 46 virtual void blitH(int x, int y, int width) SK_OVERRIDE;
47 47
48 #ifdef SK_DEBUG 48 #ifdef SK_DEBUG
49 void dump() const { 49 void dump() const {
50 SkDebugf("SkRgnBuilder: Top = %d\n", fTop); 50 SkDebugf("SkRgnBuilder: Top = %d\n", fTop);
51 const Scanline* line = (Scanline*)fStorage; 51 const Scanline* line = (Scanline*)fStorage;
52 while (line < fCurrScanline) { 52 while (line < fCurrScanline) {
53 SkDebugf("SkRgnBuilder::Scanline: LastY=%d, fXCount=%d", line->fLast Y, line->fXCount); 53 SkDebugf("SkRgnBuilder::Scanline: LastY=%d, fXCount=%d", line->fLast Y, line->fXCount);
54 for (int i = 0; i < line->fXCount; i++) { 54 for (int i = 0; i < line->fXCount; i++) {
55 SkDebugf(" %d", line->firstX()[i]); 55 SkDebugf(" %d", line->firstX()[i]);
56 } 56 }
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 #endif 518 #endif
519 519
520 path->incReserve(count << 1); 520 path->incReserve(count << 1);
521 do { 521 do {
522 SkASSERT(count > 1); 522 SkASSERT(count > 1);
523 count -= extract_path(start, stop, path); 523 count -= extract_path(start, stop, path);
524 } while (count > 0); 524 } while (count > 0);
525 525
526 return true; 526 return true;
527 } 527 }
OLDNEW
« no previous file with comments | « src/core/SkImageFilter.cpp ('k') | src/core/SkScan_Path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698