diff options
author | Chris Craik <ccraik@google.com> | 2014-06-02 16:27:04 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-06-10 01:53:17 +0000 |
commit | 05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5 (patch) | |
tree | 14df3cad82b02a886b8e3a04fd4ec249e1d403e4 /libs/hwui/ShadowTessellator.h | |
parent | faecafce62ca39a7693669f7c9eabf2d71c633cf (diff) | |
download | frameworks_base-05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5.zip frameworks_base-05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5.tar.gz frameworks_base-05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5.tar.bz2 |
Tessellate on worker threads
Tessellate and cache (where possible) shadow and round rect
tessellation tasks.
Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
Diffstat (limited to 'libs/hwui/ShadowTessellator.h')
-rw-r--r-- | libs/hwui/ShadowTessellator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/ShadowTessellator.h b/libs/hwui/ShadowTessellator.h index a1606ad..cb65df5 100644 --- a/libs/hwui/ShadowTessellator.h +++ b/libs/hwui/ShadowTessellator.h @@ -66,12 +66,12 @@ namespace uirenderer { class ShadowTessellator { public: - static VertexBufferMode tessellateAmbientShadow(bool isCasterOpaque, + static void tessellateAmbientShadow(bool isCasterOpaque, const Vector3* casterPolygon, int casterVertexCount, const Vector3& centroid3d, const Rect& casterBounds, const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); - static VertexBufferMode tessellateSpotShadow(bool isCasterOpaque, + static void tessellateSpotShadow(bool isCasterOpaque, const Vector3* casterPolygon, int casterVertexCount, const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius, const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer); |