summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2019-04-11 16:11:24 -0700
committer John Reck <jreck@google.com> 2019-04-18 14:20:56 -0700
commitcf185f5b0d30516ecb34350a585aed7f7d4e0672 (patch)
tree4235b69aa096175a3e01db7ea62e7c1bcab30603 /libs/hwui/Properties.h
parentc4a3f5c3777da82d6f452d26f684a65e97ed963c (diff)
Dynamically adjust renderahead
Tracks refresh rate changes and adjusts renderahead based off of the active refresh rate. Default is 60hz = 0 render ahead & > 70hz is render ahead 1 Bug: 127822449 Test: systraced stuff Change-Id: I9849aa065262f21f7602d44cd1761373279dc28d
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index 3105e58362ec..3e91c63fcbde 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -253,7 +253,7 @@ public:
ANDROID_API static int contextPriority;
- static uint32_t defaultRenderAhead;
+ static int defaultRenderAhead;
private:
static ProfileType sProfileType;