| 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 "SkLumaColorFilter.h" | 8 #include "SkLumaColorFilter.h" |
| 9 | 9 |
| 10 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 private: | 114 private: |
| 115 typedef GrGLEffect INHERITED; | 115 typedef GrGLEffect INHERITED; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 private: | 118 private: |
| 119 virtual bool onIsEqual(const GrEffect&) const SK_OVERRIDE { | 119 virtual bool onIsEqual(const GrEffect&) const SK_OVERRIDE { |
| 120 return true; | 120 return true; |
| 121 } | 121 } |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 GrEffect* SkLumaColorFilter::asNewEffect(GrContext*) const { | 124 GrEffectRef* SkLumaColorFilter::asNewEffect(GrContext*) const { |
| 125 return LumaColorFilterEffect::Create(); | 125 return LumaColorFilterEffect::Create(); |
| 126 } | 126 } |
| 127 #endif | 127 #endif |
| OLD | NEW |