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

Side by Side Diff: src/effects/gradients/SkTwoPointConicalGradient_gpu.h

Issue 372053003: Revert of Make GrDrawState and GrPaint take GrEffect* instead of GrEffectRef*. (Closed) Base URL: https://skia.googlesource.com/skia.git@no_ref
Patch Set: Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 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 SkTwoPointConicalGradient_gpu_DEFINED 8 #ifndef SkTwoPointConicalGradient_gpu_DEFINED
9 #define SkTwoPointConicalGradient_gpu_DEFINED 9 #define SkTwoPointConicalGradient_gpu_DEFINED
10 10
11 #include "SkGradientShaderPriv.h" 11 #include "SkGradientShaderPriv.h"
12 12
13 class GrEffect; 13 class GrEffectRef;
14 class SkTwoPointConicalGradient; 14 class SkTwoPointConicalGradient;
15 15
16 namespace Gr2PtConicalGradientEffect { 16 namespace Gr2PtConicalGradientEffect {
17 /** 17 /**
18 * Creates an effect that produces a two point conical gradient based on the 18 * Creates an effect that produces a two point conical gradient based on the
19 * shader passed in. 19 * shader passed in.
20 */ 20 */
21 GrEffect* Create(GrContext* ctx, const SkTwoPointConicalGradient& shader, 21 GrEffectRef* Create(GrContext* ctx, const SkTwoPointConicalGradient& shader,
22 SkShader::TileMode tm, const SkMatrix* localMatrix); 22 SkShader::TileMode tm, const SkMatrix* localMatrix);
23 }; 23 };
24 24
25 #endif 25 #endif
OLDNEW
« no previous file with comments | « src/effects/gradients/SkTwoPointConicalGradient.cpp ('k') | src/effects/gradients/SkTwoPointRadialGradient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698