Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/core/SkRadialShadowMapShader.h

Issue 2311223004: added in radial shadows (Closed)
Patch Set: made req changes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698