/third_party/skia/src/gpu/gl/ |
H A D | GrGLCaps.h | 165 void getTexImageExternalFormatAndType(GrGLFormat surfaceFormat, GrGLenum* externalFormat, 173 void getTexSubImageExternalFormatAndType(GrGLFormat surfaceFormat, GrColorType surfaceColorType, 186 void getReadPixelsFormat(GrGLFormat surfaceFormat, GrColorType surfaceColorType, 340 const GrBackendFormat& surfaceFormat, 496 void getExternalFormat(GrGLFormat surfaceFormat, GrColorType surfaceColorType,
|
H A D | GrGLCaps.cpp | 1288 void GrGLCaps::getTexImageExternalFormatAndType(GrGLFormat surfaceFormat, GrGLenum* externalFormat, in getTexImageExternalFormatAndType() argument 1290 const auto& info = this->getFormatInfo(surfaceFormat); in getTexImageExternalFormatAndType() 1305 void GrGLCaps::getTexSubImageExternalFormatAndType(GrGLFormat surfaceFormat, in getTexSubImageExternalFormatAndType() argument 1310 this->getExternalFormat(surfaceFormat, surfaceColorType, memoryColorType, in getTexSubImageExternalFormatAndType() 1314 void GrGLCaps::getReadPixelsFormat(GrGLFormat surfaceFormat, GrColorType surfaceColorType, in getReadPixelsFormat() argument 1317 this->getExternalFormat(surfaceFormat, surfaceColorType, memoryColorType, in getReadPixelsFormat() 1321 void GrGLCaps::getExternalFormat(GrGLFormat surfaceFormat, GrColorType surfaceColorType, in getExternalFormat() argument 1325 *externalFormat = this->getFormatInfo(surfaceFormat).externalFormat( in getExternalFormat() 1327 *externalType = this->getFormatInfo(surfaceFormat).externalType( in getExternalFormat() 4512 const GrBackendFormat& surfaceFormat, in supportedWritePixelsColorType() 4511 supportedWritePixelsColorType(GrColorType surfaceColorType, const GrBackendFormat& surfaceFormat, GrColorType srcColorType) const supportedWritePixelsColorType() argument [all...] |
/third_party/skia/tools/sk_app/ |
H A D | VulkanWindowContext.cpp | 237 VkFormat surfaceFormat = VK_FORMAT_UNDEFINED; in createSwapchain() local 242 surfaceFormat = localFormat; in createSwapchain() 251 if (VK_FORMAT_UNDEFINED == surfaceFormat) { in createSwapchain() 256 switch (surfaceFormat) { in createSwapchain() 290 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/win32/ |
H A D | DisplayVkWin32.cpp | 164 for (const VkSurfaceFormatKHR &surfaceFormat : mSurfaceFormats) in checkConfigSupport() 166 if (surfaceFormat.format == formatVk.getActualRenderableImageVkFormat()) in checkConfigSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiColorSpaceTests.cpp | 282 VkSurfaceFormatKHR surfaceFormat, in getBasicSwapchainParameters() 317 surfaceFormat.format, in getBasicSwapchainParameters() 318 (setColorspaceManually ? desiredColorspace : surfaceFormat.colorSpace), in getBasicSwapchainParameters() 484 VkSurfaceFormatKHR surfaceFormat = in colorspaceCompareTest() local 491 const tcu::TextureFormat textureFormat = vk::mapVkFormat(surfaceFormat.format); in colorspaceCompareTest() 505 surfaceFormat, in colorspaceCompareTest() 278 getBasicSwapchainParameters(Type wsiType, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceFormatKHR surfaceFormat, const tcu::UVec2& desiredSize, deUint32 desiredImageCount, VkColorSpaceKHR desiredColorspace = VK_COLOR_SPACE_MAX_ENUM_KHR) getBasicSwapchainParameters() argument
|
H A D | vktWsiFullScreenExclusiveTests.cpp | 262 VkSurfaceFormatKHR surfaceFormat, in getBasicSwapchainParameters() 278 surfaceFormat.format, in getBasicSwapchainParameters() 279 surfaceFormat.colorSpace, in getBasicSwapchainParameters() 258 getBasicSwapchainParameters(Type wsiType, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceFormatKHR surfaceFormat, const tcu::UVec2& desiredSize, deUint32 desiredImageCount) getBasicSwapchainParameters() argument
|
H A D | vktWsiSurfaceTests.cpp | 846 extFormats[ndx] = formats[ndx].surfaceFormat; in querySurfaceFormats2Test() 874 formatsClone[ndx].surfaceFormat == formats[ndx].surfaceFormat, in querySurfaceFormats2Test() 1104 if (formatsSurface[i].surfaceFormat != formatsNull[i].surfaceFormat) in querySurfaceFormats2TestSurfaceless()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiColorSpaceTests.cpp | 282 VkSurfaceFormatKHR surfaceFormat, in getBasicSwapchainParameters() 317 surfaceFormat.format, in getBasicSwapchainParameters() 318 (setColorspaceManually ? desiredColorspace : surfaceFormat.colorSpace), in getBasicSwapchainParameters() 484 VkSurfaceFormatKHR surfaceFormat = in colorspaceCompareTest() local 491 const tcu::TextureFormat textureFormat = vk::mapVkFormat(surfaceFormat.format); in colorspaceCompareTest() 505 surfaceFormat, in colorspaceCompareTest() 278 getBasicSwapchainParameters(Type wsiType, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceFormatKHR surfaceFormat, const tcu::UVec2& desiredSize, deUint32 desiredImageCount, VkColorSpaceKHR desiredColorspace = VK_COLOR_SPACE_MAX_ENUM_KHR) getBasicSwapchainParameters() argument
|
H A D | vktWsiFullScreenExclusiveTests.cpp | 262 VkSurfaceFormatKHR surfaceFormat, in getBasicSwapchainParameters() 278 surfaceFormat.format, in getBasicSwapchainParameters() 279 surfaceFormat.colorSpace, in getBasicSwapchainParameters() 258 getBasicSwapchainParameters(Type wsiType, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceFormatKHR surfaceFormat, const tcu::UVec2& desiredSize, deUint32 desiredImageCount) getBasicSwapchainParameters() argument
|
H A D | vktWsiSurfaceTests.cpp | 840 extFormats[ndx] = formats[ndx].surfaceFormat; in querySurfaceFormats2Test() 868 formatsClone[ndx].surfaceFormat == formats[ndx].surfaceFormat, in querySurfaceFormats2Test() 1088 if (formatsSurface[i].surfaceFormat != formatsNull[i].surfaceFormat) in querySurfaceFormats2TestSurfaceless()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 654 for (auto& surfaceFormat : formats) in swapchainCreateTest() 656 surfaceFormat = initVulkanStructure(); in swapchainCreateTest() 666 testParams.format = format.surfaceFormat.format; in swapchainCreateTest() 674 swapchainInfo.imageFormat = format.surfaceFormat.format; in swapchainCreateTest() 675 swapchainInfo.imageColorSpace = format.surfaceFormat.colorSpace; in swapchainCreateTest()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnCaps.h | 33 const GrBackendFormat& surfaceFormat,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiImageCompressionControlTests.cpp | 828 for (auto& surfaceFormat : formats) in swapchainCreateTest() 830 surfaceFormat = initVulkanStructure(); in swapchainCreateTest() 840 testParams.format = format.surfaceFormat.format; in swapchainCreateTest() 848 swapchainInfo.imageFormat = format.surfaceFormat.format; in swapchainCreateTest() 849 swapchainInfo.imageColorSpace = format.surfaceFormat.colorSpace; in swapchainCreateTest()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCaps.h | 53 const GrBackendFormat& surfaceFormat,
|
H A D | GrD3DCaps.cpp | 890 GrColorType surfaceColorType, const GrBackendFormat& surfaceFormat, in supportedWritePixelsColorType() 893 if (!surfaceFormat.asDxgiFormat(&dxgiFormat)) { in supportedWritePixelsColorType() 889 supportedWritePixelsColorType( GrColorType surfaceColorType, const GrBackendFormat& surfaceFormat, GrColorType srcColorType) const supportedWritePixelsColorType() argument
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_win32.c | 253 f->surfaceFormat.format = sorted_formats[i]; in wsi_win32_surface_get_formats2() 254 f->surfaceFormat.colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; in wsi_win32_surface_get_formats2()
|
H A D | wsi_common_wayland.c | 835 out_fmt->surfaceFormat.format = disp_fmt->vk_format; in wsi_wl_surface_get_formats2() 836 out_fmt->surfaceFormat.colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; in wsi_wl_surface_get_formats2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageMutableTests.cpp | 2002 const VkSurfaceFormatKHR surfaceFormat, in makeSwapchain() 2012 surfaceFormat.format, in makeSwapchain() 2034 surfaceFormat.format, // VkFormat imageFormat; in makeSwapchain() 2035 surfaceFormat.colorSpace, // VkColorSpaceKHR imageColorSpace; in makeSwapchain() 2100 const VkSurfaceFormatKHR* surfaceFormat = DE_NULL; in testSwapchainMutable() local 2106 surfaceFormat = &surfaceFormats[i]; in testSwapchainMutable() 2112 if (surfaceFormat == DE_NULL) in testSwapchainMutable() 2128 *surfaceFormat, in testSwapchainMutable() 1997 makeSwapchain(const DeviceInterface& vk, const VkDevice device, const vk::wsi::Type wsiType, const VkSurfaceKHR surface, const VkSurfaceCapabilitiesKHR capabilities, const VkSurfaceFormatKHR surfaceFormat, const VkFormat viewFormat, const deUint32 numLayers, const VkImageUsageFlags usage, const tcu::UVec2& desiredSize, deUint32 desiredImageCount ) makeSwapchain() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageMutableTests.cpp | 2002 const VkSurfaceFormatKHR surfaceFormat, in makeSwapchain() 2012 surfaceFormat.format, in makeSwapchain() 2034 surfaceFormat.format, // VkFormat imageFormat; in makeSwapchain() 2035 surfaceFormat.colorSpace, // VkColorSpaceKHR imageColorSpace; in makeSwapchain() 2100 const VkSurfaceFormatKHR* surfaceFormat = DE_NULL; in testSwapchainMutable() local 2106 surfaceFormat = &surfaceFormats[i]; in testSwapchainMutable() 2112 if (surfaceFormat == DE_NULL) in testSwapchainMutable() 2128 *surfaceFormat, in testSwapchainMutable() 1997 makeSwapchain(const DeviceInterface& vk, const VkDevice device, const vk::wsi::Type wsiType, const VkSurfaceKHR surface, const VkSurfaceCapabilitiesKHR capabilities, const VkSurfaceFormatKHR surfaceFormat, const VkFormat viewFormat, const deUint32 numLayers, const VkImageUsageFlags usage, const tcu::UVec2& desiredSize, deUint32 desiredImageCount ) makeSwapchain() argument
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlCaps.h | 46 const GrBackendFormat& surfaceFormat,
|
/third_party/skia/src/gpu/mock/ |
H A D | GrMockCaps.h | 120 const GrBackendFormat& surfaceFormat,
|
/third_party/skia/src/gpu/ |
H A D | GrCaps.h | 294 const GrBackendFormat& surfaceFormat,
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkCaps.h | 57 const GrBackendFormat& surfaceFormat,
|
H A D | GrVkCaps.cpp | 1564 const GrBackendFormat& surfaceFormat, in supportedWritePixelsColorType() 1567 if (!surfaceFormat.asVkFormat(&vkFormat)) { in supportedWritePixelsColorType() 1573 if (backend_format_is_external(surfaceFormat) || GrVkFormatNeedsYcbcrSampler(vkFormat)) { in supportedWritePixelsColorType() 1563 supportedWritePixelsColorType(GrColorType surfaceColorType, const GrBackendFormat& surfaceFormat, GrColorType srcColorType) const supportedWritePixelsColorType() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | SurfaceVk.cpp | 203 if (surfaceFormat2.surfaceFormat.format == format && in DoesSurfaceSupportFormatAndColorspace() 204 surfaceFormat2.surfaceFormat.colorSpace == colorSpace) in DoesSurfaceSupportFormatAndColorspace() 236 for (const VkSurfaceFormatKHR &surfaceFormat : surfaceFormats) in DoesSurfaceSupportFormat() 238 if (surfaceFormat.format == format) in DoesSurfaceSupportFormat()
|