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

Side by Side Diff: src/gpu/effects/GrSimpleTextureEffect.cpp

Issue 12469002: 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/gpu/effects/GrConvolutionEffect.cpp ('k') | src/gpu/effects/GrTextureDomainEffect.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 2012 Google Inc. 2 * Copyright 2012 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 7
8 #include "GrSimpleTextureEffect.h" 8 #include "GrSimpleTextureEffect.h"
9 #include "gl/GrGLEffect.h" 9 #include "gl/GrGLEffect.h"
10 #include "gl/GrGLEffectMatrix.h" 10 #include "gl/GrGLEffectMatrix.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 const GrBackendEffectFactory& GrSimpleTextureEffect::getFactory() const { 62 const GrBackendEffectFactory& GrSimpleTextureEffect::getFactory() const {
63 return GrTBackendEffectFactory<GrSimpleTextureEffect>::getInstance(); 63 return GrTBackendEffectFactory<GrSimpleTextureEffect>::getInstance();
64 } 64 }
65 65
66 /////////////////////////////////////////////////////////////////////////////// 66 ///////////////////////////////////////////////////////////////////////////////
67 67
68 GR_DEFINE_EFFECT_TEST(GrSimpleTextureEffect); 68 GR_DEFINE_EFFECT_TEST(GrSimpleTextureEffect);
69 69
70 GrEffectRef* GrSimpleTextureEffect::TestCreate(SkMWCRandom* random, 70 GrEffectRef* GrSimpleTextureEffect::TestCreate(SkMWCRandom* random,
71 GrContext* context, 71 GrContext*,
72 GrTexture* textures[]) { 72 GrTexture* textures[]) {
73 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : 73 int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx :
74 GrEffectUnitTest::kAlphaTextureIdx; 74 GrEffectUnitTest::kAlphaTextureIdx;
75 const SkMatrix& matrix = GrEffectUnitTest::TestMatrix(random); 75 const SkMatrix& matrix = GrEffectUnitTest::TestMatrix(random);
76 return GrSimpleTextureEffect::Create(textures[texIdx], matrix); 76 return GrSimpleTextureEffect::Create(textures[texIdx], matrix);
77 } 77 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrConvolutionEffect.cpp ('k') | src/gpu/effects/GrTextureDomainEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698