summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ana Krulec <akrulec@google.com> 2019-01-25 10:46:18 -0800
committer Ana Krulec <akrulec@google.com> 2019-01-31 09:49:58 -0800
commit757f63aa3f2e955dfcbd9e901fc35b72a0f26cbd (patch)
treef0d173c27da9bd6a5c224c6fd4fac2bfeb1fd118 /vulkan/libvulkan/api.cpp
parenta71e1c3c68e90078a01625acc01b68f783c2ca2c (diff)
SF: Offsets should be dependend on the refresh rate.
When switching to 90Hz, the time between vsync pulses is only 11ms, so it doesn't make sense to have 6msec offsets. Adding the flags will allow us to experiment with different offsets in the later stages through device.mk file for two different refresh rates. Eventually, the refresh rates should be coupled with the configs that indicate the refresh rate. Bug: 122905996 Test: Added Fake class to inject into tests to keep consistant results. Change-Id: Iffe7eb9dae6cd655c83e5b576306e3883ef1a56d
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions