commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef SkTwoPointConicalGradient_gpu_DEFINED |
commit-bot@chromium.org | 1cf21d2 | 2014-04-03 18:27:11 +0000 | [diff] [blame] | 9 | #define SkTwoPointConicalGradient_gpu_DEFINED |
commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 10 | |
commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 11 | #include "SkGradientShaderPriv.h" |
| 12 | |
| 13 | class GrEffectRef; |
| 14 | class SkTwoPointConicalGradient; |
commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 15 | |
commit-bot@chromium.org | 2af1a2d | 2014-04-04 13:50:50 +0000 | [diff] [blame^] | 16 | namespace Gr2PtConicalGradientEffect { |
| 17 | /** |
| 18 | * Creates an effect that produces a two point conical gradient based on the |
| 19 | * shader passed in. |
| 20 | */ |
| 21 | GrEffectRef* Create(GrContext* ctx, const SkTwoPointConicalGradient& shader, |
| 22 | SkShader::TileMode tm); |
commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 23 | }; |
commit-bot@chromium.org | 2af1a2d | 2014-04-04 13:50:50 +0000 | [diff] [blame^] | 24 | |
commit-bot@chromium.org | aa64fbf | 2014-04-03 14:59:19 +0000 | [diff] [blame] | 25 | #endif |
commit-bot@chromium.org | 2af1a2d | 2014-04-04 13:50:50 +0000 | [diff] [blame^] | 26 | |