diff options
| author | 2018-04-05 16:41:41 -0700 | |
|---|---|---|
| committer | 2018-04-09 10:58:15 -0700 | |
| commit | ec100976e0655acaa204c8800dfb83dadae20cc8 (patch) | |
| tree | d7bd2d10c7be8ea0ccec63e85c8365efb87edfe4 /libs/hwui/Properties.cpp | |
| parent | 413293ff626301e1ee9837f247c4d7321c59f472 (diff) | |
Add support for render-ahead
For periods of time during which latency is less important
allow a client to request a deeper render-ahead pipeline.
The latency tradeoff results in less overall visual jank
Test: none, only used by macrobench
Change-Id: I516203b70bdc75b6415fa08bf9c4fb1b598b0102
Diffstat (limited to 'libs/hwui/Properties.cpp')
| -rw-r--r-- | libs/hwui/Properties.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 0a6c45beedf9..7b143224f728 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -36,6 +36,7 @@ bool Properties::showDirtyRegions = false; bool Properties::skipEmptyFrames = true; bool Properties::useBufferAge = true; bool Properties::enablePartialUpdates = true; +bool Properties::usePresentTime = true; DebugLevel Properties::debugLevel = kDebugDisabled; OverdrawColorSet Properties::overdrawColorSet = OverdrawColorSet::Default; @@ -135,6 +136,7 @@ bool Properties::load() { skipEmptyFrames = property_get_bool(PROPERTY_SKIP_EMPTY_DAMAGE, true); useBufferAge = property_get_bool(PROPERTY_USE_BUFFER_AGE, true); enablePartialUpdates = property_get_bool(PROPERTY_ENABLE_PARTIAL_UPDATES, true); + usePresentTime = property_get_bool(PROPERTY_USE_PRESENT_TIME, true); filterOutTestOverhead = property_get_bool(PROPERTY_FILTER_TEST_OVERHEAD, false); |