summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-03-28 13:56:50 -0700
committerMartijn Coenen <maco@google.com>2012-03-28 16:35:53 -0700
commitf570dca6b0fa0ce883f5c950815e43acae4f51b2 (patch)
treed3030fc50c11f6cb8d8e5cf9d7a16241eec5f6ac /Android.mk
parentee3d9ed14206e672e54a2db803484dacc0e0bbd4 (diff)
downloadpackages_apps_nfc-f570dca6b0fa0ce883f5c950815e43acae4f51b2.zip
packages_apps_nfc-f570dca6b0fa0ce883f5c950815e43acae4f51b2.tar.gz
packages_apps_nfc-f570dca6b0fa0ce883f5c950815e43acae4f51b2.tar.bz2
Dejank Android Beam animation.
After profiling, it turns out the Beam animation was mostly janky because of the initial buffer allocations that take place in the graphics driver. Modified both the animation and firefly renderers to swap the buffers three times before drawing anything, thereby making sure the buffers are allocated. Do not scale the screenshot while rendering fireflies, as that can cause jank as well. Also modified the FireflyRenderer to keep most of its state alive between subsequent Beams, causing it to come up faster. Cleaned up some old code and added documentation. Change-Id: Ica231861dd7ede178ad2ec1ab09aa00d1c876624
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions