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

Commit 34e34d3f authored by Trevor Black's avatar Trevor Black Committed by Automerger Merge Worker
Browse files

Merge "Revert "Advertise support for BT709 in the WSI"" into tm-dev am: 140bbb3a

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

Change-Id: I5d421769e0fcdb1a94a62e4495465b96a4f3276f
parents 056147e2 140bbb3a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -760,8 +760,7 @@ VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev,
    // We must support R8G8B8A8
    std::vector<VkSurfaceFormatKHR> all_formats = {
        {VK_FORMAT_R8G8B8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR},
        {VK_FORMAT_R8G8B8A8_SRGB, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR},
        {VK_FORMAT_R8G8B8A8_UNORM, VK_COLOR_SPACE_BT709_LINEAR_EXT}};
        {VK_FORMAT_R8G8B8A8_SRGB, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR}};

    if (wide_color_support) {
        all_formats.emplace_back(VkSurfaceFormatKHR{