summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2019-03-14 17:16:52 -0700
committerLucas Dupin <dupin@google.com>2019-03-18 17:48:49 +0000
commit162fdc8b2a3a5a9219e4f3916fe28444210e70a6 (patch)
tree3323048e40cbf669ed7771a90aa8de937abdc3a2
parent37898d1ec141d5275541a52964bbb7ecaa5351eb (diff)
downloadtaimen-162fdc8b2a3a5a9219e4f3916fe28444210e70a6.tar.gz
Taimen offsets for GPU composition
Window animations now have rounded corners, meaning that the shader that we use is more expensive than it used to be. Because of this, we need to adjust the SF offsets, to make sure that we'll have enough time to finish the GPU composition without dropping frames. Fixes: 122347746 Test: systrace Change-Id: I81ff31344b5cae2d177fc94c0f649e3aabf73789
-rw-r--r--device.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/device.mk b/device.mk
index 8e2f65a..7929afa 100644
--- a/device.mk
+++ b/device.mk
@@ -138,7 +138,10 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
# Early phase offset for SurfaceFlinger (b/75985430)
PRODUCT_PROPERTY_OVERRIDES += \
- debug.sf.early_phase_offset_ns=1000000
+ debug.sf.early_phase_offset_ns=1500000
PRODUCT_PROPERTY_OVERRIDES += \
- debug.sf.early_gl_phase_offset_ns=1000000
-
+ debug.sf.early_app_phase_offset_ns=500000
+PRODUCT_PROPERTY_OVERRIDES += \
+ debug.sf.early_gl_phase_offset_ns=1500000
+PRODUCT_PROPERTY_OVERRIDES += \
+ debug.sf.early_gl_app_phase_offset_ns=15000000 \ No newline at end of file