OLD | NEW |
---|---|
(Empty) | |
1 git mv/* | |
robertphillips
2016/09/07 17:11:55
git mv ?
vjiaoblack
2016/09/08 16:40:13
Done.
| |
2 * Copyright 2016 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 | |
robertphillips
2016/09/07 17:11:55
SkRadialShadowMapShader_DEFINED
vjiaoblack
2016/09/08 16:40:13
Done.
| |
9 #ifndef SkSk2DShadowMapShader_DEFINED | |
10 #define SkSk2DShadowMapShader_DEFINED | |
11 | |
12 #ifdef SK_EXPERIMENTAL_SHADOWING | |
13 | |
14 class SkLights; | |
15 class SkShader; | |
16 | |
17 class SK_API SkRadialShadowMapShader { | |
18 public: | |
19 /** This shader creates a 1D strip depth map for radial lights. | |
20 * It can only take in 1 light to generate one shader at a time. | |
21 */ | |
22 static sk_sp<SkShader> Make(sk_sp<SkShader> occluderShader, | |
23 sk_sp<SkLights> light, | |
24 int diffuseWidth, int diffuseHeight); | |
25 | |
26 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() | |
27 }; | |
28 | |
29 #endif | |
30 #endif | |
OLD | NEW |