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

Side by Side Diff: src/gpu/effects/GrSingleTextureEffect.h

Issue 660573002: Split GrFragmentProcessor into its own header (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add file to git Created 6 years, 2 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 | « src/gpu/GrDrawState.h ('k') | tests/GpuColorFilterTest.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 2012 Google Inc. 2 * Copyright 2012 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 GrSingleTextureEffect_DEFINED 8 #ifndef GrSingleTextureEffect_DEFINED
9 #define GrSingleTextureEffect_DEFINED 9 #define GrSingleTextureEffect_DEFINED
10 10
11 #include "GrProcessor.h" 11 #include "GrFragmentProcessor.h"
12 #include "SkMatrix.h" 12 #include "SkMatrix.h"
13 #include "GrCoordTransform.h" 13 #include "GrCoordTransform.h"
14 14
15 class GrTexture; 15 class GrTexture;
16 16
17 /** 17 /**
18 * A base class for effects that draw a single texture with a texture matrix. Th is effect has no 18 * A base class for effects that draw a single texture with a texture matrix. Th is effect has no
19 * backend implementations. One must be provided by the subclass. 19 * backend implementations. One must be provided by the subclass.
20 */ 20 */
21 class GrSingleTextureEffect : public GrFragmentProcessor { 21 class GrSingleTextureEffect : public GrFragmentProcessor {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 private: 59 private:
60 GrCoordTransform fCoordTransform; 60 GrCoordTransform fCoordTransform;
61 GrTextureAccess fTextureAccess; 61 GrTextureAccess fTextureAccess;
62 62
63 typedef GrFragmentProcessor INHERITED; 63 typedef GrFragmentProcessor INHERITED;
64 }; 64 };
65 65
66 #endif 66 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawState.h ('k') | tests/GpuColorFilterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698