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

Side by Side Diff: include/gpu/effects/GrExtractAlphaFragmentProcessor.h

Issue 1334273003: Add helper for creating leaf FPs inside GrFP::TestCreate functions (Closed) Base URL: https://skia.googlesource.com/skia.git@noinputtest
Patch Set: address comment Created 5 years, 3 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
« no previous file with comments | « include/gpu/GrProcessorUnitTest.h ('k') | src/gpu/GrProcessor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « include/gpu/GrProcessorUnitTest.h ('k') | src/gpu/GrProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698