Home
last modified time | relevance | path

Searched refs:surfaceFormat (Results 1 - 25 of 43) sorted by relevance

12

/third_party/skia/src/gpu/gl/
H A DGrGLCaps.h165 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 DGrGLCaps.cpp1288 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 DVulkanWindowContext.cpp237 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 DDisplayVkWin32.cpp164 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 DvktWsiColorSpaceTests.cpp282 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 DvktWsiFullScreenExclusiveTests.cpp262 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 DvktWsiSurfaceTests.cpp846 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 DvktWsiColorSpaceTests.cpp282 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 DvktWsiFullScreenExclusiveTests.cpp262 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 DvktWsiSurfaceTests.cpp840 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 DvktApiImageCompressionControlTests.cpp654 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 DGrDawnCaps.h33 const GrBackendFormat& surfaceFormat,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageCompressionControlTests.cpp828 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 DGrD3DCaps.h53 const GrBackendFormat& surfaceFormat,
H A DGrD3DCaps.cpp890 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 Dwsi_common_win32.c253 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 Dwsi_common_wayland.c835 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 DvktImageMutableTests.cpp2002 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 DvktImageMutableTests.cpp2002 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 DGrMtlCaps.h46 const GrBackendFormat& surfaceFormat,
/third_party/skia/src/gpu/mock/
H A DGrMockCaps.h120 const GrBackendFormat& surfaceFormat,
/third_party/skia/src/gpu/
H A DGrCaps.h294 const GrBackendFormat& surfaceFormat,
/third_party/skia/src/gpu/vk/
H A DGrVkCaps.h57 const GrBackendFormat& surfaceFormat,
H A DGrVkCaps.cpp1564 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 DSurfaceVk.cpp203 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()

Completed in 45 milliseconds

12