2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef SkTwoPointConicalGradient_gpu_DEFINED
9 #define SkTwoPointConicalGradient_gpu_DEFINED
11 #include "SkGradientShaderPriv.h"
14 class SkTwoPointConicalGradient;
16 namespace Gr2PtConicalGradientEffect {
18 * Creates an effect that produces a two point conical gradient based on the
21 GrFragmentProcessor* Create(GrContext* ctx, const SkTwoPointConicalGradient& shader,
22 SkShader::TileMode tm, const SkMatrix* localMatrix);