diff options
author | 2020-08-17 17:00:45 +0000 | |
---|---|---|
committer | 2020-08-17 17:00:45 +0000 | |
commit | 6f61f6578a7f1deb350d246334cb53e8be1c2741 (patch) | |
tree | a2371d1c710e0b31d4a2cb3f52c146e72ac2a78d /vulkan/libvulkan/driver.cpp | |
parent | f2dd123fb73704f486c489f5b804d04171ba4084 (diff) | |
parent | 2ea51b847864f55ce006f87a51294af15db79fe4 (diff) |
Merge "vulkan: avoid waiting for service.sf.present_timestamp creation" am: 2ea51b8478
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1401796
Change-Id: I16c69060c833944150c29fbb3abefbe041d86b35
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
-rw-r--r-- | vulkan/libvulkan/driver.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vulkan/libvulkan/driver.cpp b/vulkan/libvulkan/driver.cpp index bdf5ddfcd8..6ddb9d9b9a 100644 --- a/vulkan/libvulkan/driver.cpp +++ b/vulkan/libvulkan/driver.cpp @@ -970,9 +970,7 @@ VkResult EnumerateDeviceExtensionProperties( // conditionally add VK_GOOGLE_display_timing if present timestamps are // supported by the driver: - const std::string timestamp_property("service.sf.present_timestamp"); - android::base::WaitForPropertyCreation(timestamp_property); - if (android::base::GetBoolProperty(timestamp_property, true)) { + if (android::base::GetBoolProperty("service.sf.present_timestamp", false)) { loader_extensions.push_back({ VK_GOOGLE_DISPLAY_TIMING_EXTENSION_NAME, VK_GOOGLE_DISPLAY_TIMING_SPEC_VERSION}); |