diff options
author | John Reck <jreck@google.com> | 2018-03-19 14:06:16 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-03-19 16:36:32 -0700 |
commit | 0e4864725aaca48a289ae1e0237377ed5b135f7a (patch) | |
tree | 1fd7778910c7fcd80f995b6e7b2e90a809febede /libs/hwui/ProfileData.h | |
parent | dba47fcd09a50bdddcf6509d0766dfca3a5d39a7 (diff) |
Revert "Revert "Break down jank between frame drops vs. triple buffered""
This reverts commit a6d8fbf4ea634f5f605b2b7db3ca98975f8625b5.
Fixes an out-of-bounds read in COMPARISONS by switching up
how comparisons works. Instead of requiring all jank types
to have an associated COMPARISON's entry, which kHighInputLatency
and kMissedDeadline don't, instead have each
COMPARISON indicate which JankType it applies to so it can
be independently sized from JankTypes.
Bug: 70220906
Bug: 75566601
Test: launching & using maps works
Change-Id: I7fd90daeb320b4627e42c3418c89726d860998c1
Diffstat (limited to 'libs/hwui/ProfileData.h')
-rw-r--r-- | libs/hwui/ProfileData.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/ProfileData.h b/libs/hwui/ProfileData.h index 1e688ab6fa68..564920b60328 100644 --- a/libs/hwui/ProfileData.h +++ b/libs/hwui/ProfileData.h @@ -33,6 +33,7 @@ enum JankType { kSlowUI, kSlowSync, kSlowRT, + kMissedDeadline, // must be last NUM_BUCKETS, |