From a4adcf0239039eb8f005be252409901c41b28839 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 28 Feb 2013 12:15:35 -0800 Subject: Support 3D rotations when drawing text If a perspective transform is set on the Canvas, drawText() should not attempt to rasterize glyphs in screen space. This change uses the old behavior instead (i.e. rasterize the glyphs at the native font size and apply the transform on the resulting mesh.) This change also adds an optimization: empty glyphs (spaces) do not generate vertices anymore. This saves a lot of vertices in text heavy applications such as Gmail. Change-Id: Ib531384163f5165b5785501612a7b1474f3ff599 --- tests/HwAccelerationTest/AndroidManifest.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/HwAccelerationTest/AndroidManifest.xml') diff --git a/tests/HwAccelerationTest/AndroidManifest.xml b/tests/HwAccelerationTest/AndroidManifest.xml index 0c59f30..46a539e 100644 --- a/tests/HwAccelerationTest/AndroidManifest.xml +++ b/tests/HwAccelerationTest/AndroidManifest.xml @@ -51,6 +51,16 @@ + + + + + + + -- cgit v1.1