OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrExtractAlphaFragmentProcessor_DEFINED | 8 #ifndef GrExtractAlphaFragmentProcessor_DEFINED |
9 #define GrExtractAlphaFragmentProcessor_DEFINED | 9 #define GrExtractAlphaFragmentProcessor_DEFINED |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 } | 32 } |
33 | 33 |
34 GrGLFragmentProcessor* onCreateGLInstance() const override; | 34 GrGLFragmentProcessor* onCreateGLInstance() const override; |
35 | 35 |
36 void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const ov
erride; | 36 void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const ov
erride; |
37 | 37 |
38 bool onIsEqual(const GrFragmentProcessor&) const override; | 38 bool onIsEqual(const GrFragmentProcessor&) const override; |
39 | 39 |
40 void onComputeInvariantOutput(GrInvariantOutput* inout) const override; | 40 void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
41 | 41 |
| 42 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
| 43 |
42 typedef GrFragmentProcessor INHERITED; | 44 typedef GrFragmentProcessor INHERITED; |
43 }; | 45 }; |
44 | 46 |
45 #endif | 47 #endif |
OLD | NEW |