Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38bb97f6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "vulkan: avoid waiting for service.sf.present_timestamp creation" am:...

Merge "vulkan: avoid waiting for service.sf.present_timestamp creation" am: 2ea51b84 am: 6f61f657 am: d711a75d

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1401796

Change-Id: Ibf7b648e6a049a1ed7faadeb06f36a32e2455619
parents d03fcb8b d711a75d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -964,9 +964,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});