Home
last modified time | relevance | path

Searched refs:wantSRGB (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp299 bool wantSRGB = VK_FORMAT_R8G8B8A8_SRGB == format; in createBuffers() local
300 GrPixelConfig config = wantSRGB ? kSRGBA_8888_GrPixelConfig : kRGBA_8888_GrPixelConfig; in createBuffers()
442 bool wantSRGB = false; in createSwapchain() local
444 wantSRGB = true; in createSwapchain()
448 VkFormat desiredFormat = wantSRGB ? VK_FORMAT_R8G8B8A8_SRGB : VK_FORMAT_R8G8B8A8_UNORM; in createSwapchain()