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

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

Issue 12965018: Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 "GrEllipseEdgeEffect.h" 8 #include "GrEllipseEdgeEffect.h"
9 #include "gl/GrGLEffect.h" 9 #include "gl/GrGLEffect.h"
10 #include "gl/GrGLSL.h" 10 #include "gl/GrGLSL.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const GrBackendEffectFactory& GrEllipseEdgeEffect::getFactory() const { 89 const GrBackendEffectFactory& GrEllipseEdgeEffect::getFactory() const {
90 return GrTBackendEffectFactory<GrEllipseEdgeEffect>::getInstance(); 90 return GrTBackendEffectFactory<GrEllipseEdgeEffect>::getInstance();
91 } 91 }
92 92
93 /////////////////////////////////////////////////////////////////////////////// 93 ///////////////////////////////////////////////////////////////////////////////
94 94
95 GR_DEFINE_EFFECT_TEST(GrEllipseEdgeEffect); 95 GR_DEFINE_EFFECT_TEST(GrEllipseEdgeEffect);
96 96
97 GrEffectRef* GrEllipseEdgeEffect::TestCreate(SkMWCRandom* random, 97 GrEffectRef* GrEllipseEdgeEffect::TestCreate(SkMWCRandom* random,
98 GrContext* context, 98 GrContext* context,
99 const GrDrawTargetCaps&,
99 GrTexture* textures[]) { 100 GrTexture* textures[]) {
100 return GrEllipseEdgeEffect::Create(random->nextBool()); 101 return GrEllipseEdgeEffect::Create(random->nextBool());
101 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698