From c1fa3e64b88ab81cf1faeaccb40cbc73e9f1f829 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 27 Apr 2012 15:27:54 -0700 Subject: [PATCH] Add three new developer settings - Show hw screen updates: show where apps udpate the screen when running with hw acceleration - Profile hw rendering: add extra profiling info to dumpsys gfxinfo for performance tracking - Debug layout: show layout info on screen Change-Id: I6f7cad762d65ec3be2debfb4a88c25d35bf11079 --- res/values/strings.xml | 15 +++ res/xml/development_prefs.xml | 15 +++ .../android/settings/DevelopmentSettings.java | 111 ++++++++++++------ 3 files changed, 104 insertions(+), 37 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 58e2cfb99b8..2810a95cbdb 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3589,11 +3589,21 @@ Flash areas of screen when they update + + Show GPU screen updates + + Flash areas of screen when they update with the GPU + Disable overlays Don\'t use overlays for screen compositing + + Show layout bounds + + Display information about boumds, padding, etc. + Show CPU usage @@ -3604,6 +3614,11 @@ Use 2D hardware acceleration in applications + + Profile GPU rendering + + Measure rendering time in adb shell dumpsys gfxinfo + Window animation scale diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index fc41f5e4e8d..ab8aad3d292 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -88,6 +88,11 @@ android:title="@string/show_touches" android:summary="@string/show_touches_summary"/> + + + + + +