diff options
author | 2017-05-25 15:29:13 -0400 | |
---|---|---|
committer | 2017-05-25 20:05:08 +0000 | |
commit | fabe0b26d05624ce7374f6ca89bd66df6142534e (patch) | |
tree | f32b5873b31185d7e86e6c48fbdbd654efb8af7a /src/shaders/gradients/SkTwoPointConicalGradient_gpu.h | |
parent | 1c214313248a4b5a69af14539608c54fb67c2bf8 (diff) |
Relocate shaders to own dir
Consolidate all shader impls under src/shaders/.
Change-Id: I450e37541214704c1ad9e379d9d753b7cc62fac3
Reviewed-on: https://skia-review.googlesource.com/17927
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'src/shaders/gradients/SkTwoPointConicalGradient_gpu.h')
-rw-r--r-- | src/shaders/gradients/SkTwoPointConicalGradient_gpu.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/shaders/gradients/SkTwoPointConicalGradient_gpu.h b/src/shaders/gradients/SkTwoPointConicalGradient_gpu.h new file mode 100644 index 0000000000..46edb1f7d1 --- /dev/null +++ b/src/shaders/gradients/SkTwoPointConicalGradient_gpu.h @@ -0,0 +1,24 @@ +/* + * Copyright 2014 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkTwoPointConicalGradient_gpu_DEFINED +#define SkTwoPointConicalGradient_gpu_DEFINED + +#include "SkGradientShaderPriv.h" + +class GrProcessor; +class SkTwoPointConicalGradient; + +namespace Gr2PtConicalGradientEffect { + /** + * Creates an effect that produces a two point conical gradient based on the + * shader passed in. + */ + sk_sp<GrFragmentProcessor> Make(const GrGradientEffect::CreateArgs& args); +}; + +#endif |