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

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

Issue 2311223004: added in radial shadows (Closed)
Patch Set: removed extra new line, also fixed some overlength lines 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 /*
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
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 Sk2DShadowMapShader {
jvanverth1 2016/09/07 14:47:24 SkRadialShadowMapShader? (use 'git mv' to rename t
vjiaoblack 2016/09/07 15:21:40 Done.
18 public:
19 /** This shader creates a 1D strip depth map for 2D 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