diff options
author | ztenghui <ztenghui@google.com> | 2014-04-22 11:21:49 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2014-04-24 09:53:20 -0700 |
commit | 7940dc57e3ffcf9c4a33375215f3a42250fa896c (patch) | |
tree | a8079e0c2f382b8ac79f8e912f05ac17a5300704 /libs/hwui/ShadowTessellator.h | |
parent | f4201925d9e3d01e7a2a1db07c8186e4ba9a0fb5 (diff) | |
download | frameworks_base-7940dc57e3ffcf9c4a33375215f3a42250fa896c.zip frameworks_base-7940dc57e3ffcf9c4a33375215f3a42250fa896c.tar.gz frameworks_base-7940dc57e3ffcf9c4a33375215f3a42250fa896c.tar.bz2 |
Shoot the rays to the vertices of the incoming polygon.
bug:13553955
Change-Id: I4825a49e8eaab969c40f2ee4086f7669c9c6fd29
Diffstat (limited to 'libs/hwui/ShadowTessellator.h')
-rw-r--r-- | libs/hwui/ShadowTessellator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/ShadowTessellator.h b/libs/hwui/ShadowTessellator.h index ff3de74..05370dd 100644 --- a/libs/hwui/ShadowTessellator.h +++ b/libs/hwui/ShadowTessellator.h @@ -62,6 +62,8 @@ namespace uirenderer { #define SHADOW_MIN_CASTER_Z 0.001f +#define MINIMAL_DELTA_THETA (M_PI / 180 / 1000) + class ShadowTessellator { public: static VertexBufferMode tessellateAmbientShadow(bool isCasterOpaque, |