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

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

Issue 17572010: Build fix for [-Werror=maybe-uninitialized]. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/core/SkPathRef.h » ('j') | src/core/SkPathRef.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8
9 #include "SkAAClip.h" 9 #include "SkAAClip.h"
10 #include "SkBlitter.h" 10 #include "SkBlitter.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 int fTop, fBottom; 129 int fTop, fBottom;
130 bool fDone; 130 bool fDone;
131 }; 131 };
132 132
133 SkAAClip::Iter::Iter(const SkAAClip& clip) { 133 SkAAClip::Iter::Iter(const SkAAClip& clip) {
134 if (clip.isEmpty()) { 134 if (clip.isEmpty()) {
135 fDone = true; 135 fDone = true;
136 fTop = fBottom = clip.fBounds.fBottom; 136 fTop = fBottom = clip.fBounds.fBottom;
137 fData = NULL; 137 fData = NULL;
138 fCurrYOff = NULL;
138 fStopYOff = NULL; 139 fStopYOff = NULL;
139 return; 140 return;
140 } 141 }
141 142
142 const RunHead* head = clip.fRunHead; 143 const RunHead* head = clip.fRunHead;
143 fCurrYOff = head->yoffsets(); 144 fCurrYOff = head->yoffsets();
144 fStopYOff = fCurrYOff + head->fRowCount; 145 fStopYOff = fCurrYOff + head->fRowCount;
145 fData = head->data() + fCurrYOff->fOffset; 146 fData = head->data() + fCurrYOff->fOffset;
146 147
147 // setup first value 148 // setup first value
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 rowMask.fBounds.fBottom = y + 1; 2169 rowMask.fBounds.fBottom = y + 1;
2169 fBlitter->blitMask(rowMask, rowMask.fBounds); 2170 fBlitter->blitMask(rowMask, rowMask.fBounds);
2170 src = (const void*)((const char*)src + srcRB); 2171 src = (const void*)((const char*)src + srcRB);
2171 } while (++y < localStopY); 2172 } while (++y < localStopY);
2172 } while (y < stopY); 2173 } while (y < stopY);
2173 } 2174 }
2174 2175
2175 const SkBitmap* SkAAClipBlitter::justAnOpaqueColor(uint32_t* value) { 2176 const SkBitmap* SkAAClipBlitter::justAnOpaqueColor(uint32_t* value) {
2176 return NULL; 2177 return NULL;
2177 } 2178 }
OLDNEW
« no previous file with comments | « no previous file | src/core/SkPathRef.h » ('j') | src/core/SkPathRef.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698