OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |