Home | History | Annotate | Download | only in gradients
      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
      9 #define SkTwoPointConicalGradient_gpu_DEFINED
     10 
     11 #include "SkGradientShaderPriv.h"
     12 
     13 class GrProcessor;
     14 class SkTwoPointConicalGradient;
     15 
     16 namespace Gr2PtConicalGradientEffect {
     17 
     18 /**
     19  * Creates an effect that produces a two point conical gradient based on the shader passed in.
     20  */
     21 std::unique_ptr<GrFragmentProcessor> Make(const GrGradientEffect::CreateArgs& args);
     22 
     23 };
     24 
     25 #endif
     26