diff options
author | John Reck <jreck@google.com> | 2014-05-29 22:23:40 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-29 22:23:41 +0000 |
commit | aee470c0232afdac4256d13020fa0cf04f30395c (patch) | |
tree | 5fc37aedf16ce9aa5b6283d0c9b5665954f191f3 /libs/hwui/Properties.h | |
parent | e2960b6fd2d31f8a729ce9d180bffc947c0d6464 (diff) | |
parent | fe5e7b7346a54537b980796ceeca66bfdbd05561 (diff) | |
download | frameworks_base-aee470c0232afdac4256d13020fa0cf04f30395c.zip frameworks_base-aee470c0232afdac4256d13020fa0cf04f30395c.tar.gz frameworks_base-aee470c0232afdac4256d13020fa0cf04f30395c.tar.bz2 |
Merge "Enable debug stuffs" into lmp-preview-dev
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r-- | libs/hwui/Properties.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index 20b8f2f..12241b8 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -89,6 +89,36 @@ enum DebugLevel { #define PROPERTY_DEBUG_NV_PROFILING "debug.hwui.nv_profiling" /** + * System property used to enable or disable hardware rendering profiling. + * The default value of this property is assumed to be false. + * + * When profiling is enabled, the adb shell dumpsys gfxinfo command will + * output extra information about the time taken to execute by the last + * frames. + * + * Possible values: + * "true", to enable profiling + * "visual_bars", to enable profiling and visualize the results on screen + * "false", to disable profiling + */ +#define PROPERTY_PROFILE "debug.hwui.profile" +#define PROPERTY_PROFILE_VISUALIZE_BARS "visual_bars" + +/** + * System property used to specify the number of frames to be used + * when doing hardware rendering profiling. + * The default value of this property is #PROFILE_MAX_FRAMES. + * + * When profiling is enabled, the adb shell dumpsys gfxinfo command will + * output extra information about the time taken to execute by the last + * frames. + * + * Possible values: + * "60", to set the limit of frames to 60 + */ +#define PROPERTY_PROFILE_MAXFRAMES "debug.hwui.profile.maxframes" + +/** * Used to enable/disable non-rectangular clipping debugging. * * The accepted values are: |