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

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

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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 | « src/core/SkRecorder.h ('k') | src/core/SkResourceCache.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 void blitH(int x, int y, int width) SK_OVERRIDE; 46 void blitH(int x, int y, int width) 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 #endif 527 #endif
528 528
529 path->incReserve(count << 1); 529 path->incReserve(count << 1);
530 do { 530 do {
531 SkASSERT(count > 1); 531 SkASSERT(count > 1);
532 count -= extract_path(start, stop, path); 532 count -= extract_path(start, stop, path);
533 } while (count > 0); 533 } while (count > 0);
534 534
535 return true; 535 return true;
536 } 536 }
OLDNEW
« no previous file with comments | « src/core/SkRecorder.h ('k') | src/core/SkResourceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698