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

Side by Side Diff: src/animator/SkDrawGroup.cpp

Issue 12772003: Removed unused parameters (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDump.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #include "SkDrawGroup.h" 10 #include "SkDrawGroup.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 189 }
190 } 190 }
191 *grandList = &fChildren; 191 *grandList = &fChildren;
192 return SkDisplayList::SearchForMatch(match, list, parent, found, grandList); 192 return SkDisplayList::SearchForMatch(match, list, parent, found, grandList);
193 } 193 }
194 194
195 bool SkGroup::hasEnable() const { 195 bool SkGroup::hasEnable() const {
196 return true; 196 return true;
197 } 197 }
198 198
199 bool SkGroup::ifCondition(SkAnimateMaker& maker, SkDrawable* drawable, 199 bool SkGroup::ifCondition(SkAnimateMaker& maker, SkDrawable*,
200 SkString& conditionString) { 200 SkString& conditionString) {
201 if (conditionString.size() == 0) 201 if (conditionString.size() == 0)
202 return true; 202 return true;
203 int32_t result; 203 int32_t result;
204 bool success = SkAnimatorScript::EvaluateInt(maker, this, conditionString.c_ str(), &result); 204 bool success = SkAnimatorScript::EvaluateInt(maker, this, conditionString.c_ str(), &result);
205 #ifdef SK_DUMP_ENABLED 205 #ifdef SK_DUMP_ENABLED
206 if (maker.fDumpGConditions) { 206 if (maker.fDumpGConditions) {
207 SkDebugf("group: "); 207 SkDebugf("group: ");
208 dumpBase(&maker); 208 dumpBase(&maker);
209 SkDebugf("condition=%s ", conditionString.c_str()); 209 SkDebugf("condition=%s ", conditionString.c_str());
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 bool SkSave::draw(SkAnimateMaker& maker) { 312 bool SkSave::draw(SkAnimateMaker& maker) {
313 maker.fCanvas->save(); 313 maker.fCanvas->save();
314 SkPaint* save = maker.fPaint; 314 SkPaint* save = maker.fPaint;
315 SkPaint local = SkPaint(*maker.fPaint); 315 SkPaint local = SkPaint(*maker.fPaint);
316 maker.fPaint = &local; 316 maker.fPaint = &local;
317 bool result = INHERITED::draw(maker); 317 bool result = INHERITED::draw(maker);
318 maker.fPaint = save; 318 maker.fPaint = save;
319 maker.fCanvas->restore(); 319 maker.fCanvas->restore();
320 return result; 320 return result;
321 } 321 }
OLDNEW
« no previous file with comments | « src/animator/SkDrawExtraPathEffect.cpp ('k') | src/animator/SkDump.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698