From 05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 2 Jun 2014 16:27:04 -0700 Subject: Tessellate on worker threads Tessellate and cache (where possible) shadow and round rect tessellation tasks. Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40 --- libs/hwui/ShadowTessellator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/hwui/ShadowTessellator.h') 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); -- cgit v1.1