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

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

Issue 571163002: removing GrDrawEffect (Closed) Base URL: https://skia.googlesource.com/skia.git@gp3
Patch Set: rebase after revert Created 6 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 | « src/gpu/effects/GrBezierEffect.cpp ('k') | src/gpu/effects/GrBicubicEffect.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 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 GrBicubicTextureEffect_DEFINED 8 #ifndef GrBicubicTextureEffect_DEFINED
9 #define GrBicubicTextureEffect_DEFINED 9 #define GrBicubicTextureEffect_DEFINED
10 10
11 #include "GrSingleTextureEffect.h" 11 #include "GrSingleTextureEffect.h"
12 #include "GrTextureDomain.h" 12 #include "GrTextureDomain.h"
13 #include "GrDrawEffect.h"
14 #include "gl/GrGLEffect.h" 13 #include "gl/GrGLEffect.h"
15 #include "GrTBackendEffectFactory.h" 14 #include "GrTBackendEffectFactory.h"
16 15
17 class GrGLBicubicEffect; 16 class GrGLBicubicEffect;
18 17
19 class GrBicubicEffect : public GrSingleTextureEffect { 18 class GrBicubicEffect : public GrSingleTextureEffect {
20 public: 19 public:
21 enum { 20 enum {
22 kFilterTexelPad = 2, // Given a src rect in texels to be filtered, this number of 21 kFilterTexelPad = 2, // Given a src rect in texels to be filtered, this number of
23 // surrounding texels are needed by the kernel in x and y. 22 // surrounding texels are needed by the kernel in x and y.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 GrTextureDomain fDomain; 95 GrTextureDomain fDomain;
97 96
98 GR_DECLARE_EFFECT_TEST; 97 GR_DECLARE_EFFECT_TEST;
99 98
100 static const SkScalar gMitchellCoefficients[16]; 99 static const SkScalar gMitchellCoefficients[16];
101 100
102 typedef GrSingleTextureEffect INHERITED; 101 typedef GrSingleTextureEffect INHERITED;
103 }; 102 };
104 103
105 #endif 104 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrBezierEffect.cpp ('k') | src/gpu/effects/GrBicubicEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698