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 #ifndef GrEllipseEdgeEffect_DEFINED | 8 #ifndef GrEllipseEdgeEffect_DEFINED |
9 #define GrEllipseEdgeEffect_DEFINED | 9 #define GrEllipseEdgeEffect_DEFINED |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags
) const SK_OVERRIDE; | 32 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags
) const SK_OVERRIDE; |
33 | 33 |
34 typedef GrGLEllipseEdgeEffect GLEffect; | 34 typedef GrGLEllipseEdgeEffect GLEffect; |
35 | 35 |
36 virtual const GrBackendEffectFactory& getFactory() const SK_OVERRIDE; | 36 virtual const GrBackendEffectFactory& getFactory() const SK_OVERRIDE; |
37 | 37 |
38 private: | 38 private: |
39 GrEllipseEdgeEffect(); | 39 GrEllipseEdgeEffect(); |
40 | 40 |
41 virtual bool onIsEqual(const GrEffect& other) const SK_OVERRIDE { | 41 virtual bool onIsEqual(const GrEffect&) const SK_OVERRIDE { |
42 return true; | 42 return true; |
43 } | 43 } |
44 | 44 |
45 GR_DECLARE_EFFECT_TEST; | 45 GR_DECLARE_EFFECT_TEST; |
46 | 46 |
47 typedef GrEffect INHERITED; | 47 typedef GrEffect INHERITED; |
48 }; | 48 }; |
49 | 49 |
50 #endif | 50 #endif |
OLD | NEW |