summaryrefslogtreecommitdiff
path: root/opengl/java/android
diff options
context:
space:
mode:
author Shane <shanewong@google.com> 2024-01-26 20:35:46 +0000
committer Shane <shanewong@google.com> 2024-01-31 23:07:36 +0000
commit710f7a592a17c8ee6807334a7377fe5ddd734390 (patch)
treeb0cc662fe2a1dade6bcea544585eecbc85fbda20 /opengl/java/android
parentff26a560fa8ebe15b2413e723ed065b3a41b725d (diff)
UI toolkit dVRR set frame rate category as HIGH by default
This CL made the following changes to enable the Step 1' for the UI toolkit dVRR project: 1. Set default frame rate category of a View as HIGH unless the size of the View is small (NORMAL). 2. Don't disable boost when typing. 3. Migrate the infrequent layter logic from SurfaceFlinger to Toolkit. The infrequent layter logic includes: - NORMAL for infrequent update: FT2-FT1 > 100 && FT3-FT2 > 100. - HIGH/NORMAL based on size for frequent update: (FT3-FT2) + (FT2 - FT1) < 100. - otherwise, use the previous category value. Bug: 278731727 Test: atest ViewRootImplTest Change-Id: I2ba2f20aa819c145eb715ae3aa609e8dae86b3b0
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions