/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | SwapChainVk.cpp | 281 VulkanSurfaceInfo surfaceInfo; in Initialize() local 282 DAWN_TRY_ASSIGN(surfaceInfo, GatherSurfaceInfo(*adapter, mVkSurface)); in Initialize() 284 DAWN_TRY_ASSIGN(mConfig, ChooseConfig(surfaceInfo)); in Initialize() 328 const VulkanSurfaceInfo& surfaceInfo) const { in ChooseConfig() 355 while (!HasPresentMode(surfaceInfo.presentModes, kPresentModeFallbacks[modeIndex])) { in ChooseConfig() 364 if (GetWidth() < surfaceInfo.capabilities.minImageExtent.width || in ChooseConfig() 365 GetWidth() > surfaceInfo.capabilities.maxImageExtent.width || in ChooseConfig() 366 GetHeight() < surfaceInfo.capabilities.minImageExtent.height || in ChooseConfig() 367 GetHeight() > surfaceInfo.capabilities.maxImageExtent.height) { in ChooseConfig() 377 VkImageUsageFlags supportedUsages = surfaceInfo.capabilities.supportedUsageFlags; in ChooseConfig() [all …]
|
D | SwapChainVk.h | 77 ResultOrError<Config> ChooseConfig(const VulkanSurfaceInfo& surfaceInfo) const;
|
/third_party/flutter/skia/gm/ |
D | imagemasksubset.cpp | 40 SkImageInfo surfaceInfo = info; in onGetPixels() local 42 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels() 45 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels()
|
/third_party/skia/gm/ |
D | imagemasksubset.cpp | 40 SkImageInfo surfaceInfo = info; in onGetPixels() local 42 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels() 45 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels()
|
/third_party/flutter/skia/tests/ |
D | ReadPixelsTest.cpp | 172 SkImageInfo surfaceInfo) { in check_read() argument 195 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read() 227 if (SkColorTypeIsAlphaOnly(surfaceInfo.colorType())) { in check_read() 230 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read() 361 const SkImageInfo& surfaceInfo, BitmapInit lastBitmapInit) { in test_readpixels() argument 384 bool expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels() 388 success, surfaceInfo.colorType(), surfaceInfo.alphaType(), in test_readpixels() 395 startsWithPixels, surfaceInfo); in test_readpixels() 433 const SkImageInfo& surfaceInfo) { in test_readpixels_texture() argument 450 auto expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels_texture() [all …]
|
D | WritePixelsTest.cpp | 325 const SkImageInfo& surfaceInfo) { in test_write_pixels() argument 402 REPORTER_ASSERT(reporter, check_write(reporter, surface, surfaceInfo.alphaType(), in test_write_pixels() 410 write_should_succeed(surfaceInfo, bmp.info(), isGPU); in test_write_pixels()
|
/third_party/skia/tests/ |
D | ReadPixelsTest.cpp | 166 SkImageInfo surfaceInfo) { in check_read() argument 189 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read() 221 if (SkColorTypeIsAlphaOnly(surfaceInfo.colorType())) { in check_read() 224 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read() 326 const SkImageInfo& surfaceInfo) { in test_readpixels() argument 349 bool expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels() 353 success, surfaceInfo.colorType(), surfaceInfo.alphaType(), in test_readpixels() 360 startsWithPixels, surfaceInfo); in test_readpixels()
|
D | WritePixelsTest.cpp | 325 const SkImageInfo& surfaceInfo) { in test_write_pixels() argument 402 REPORTER_ASSERT(reporter, check_write(reporter, surface, surfaceInfo.alphaType(), in test_write_pixels() 410 write_should_succeed(surfaceInfo, bmp.info(), isGPU); in test_write_pixels()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSurfaceTests.cpp | 541 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceCapabilities2Test() local 549 deMemcpy(&infoCopy, &surfaceInfo, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)); in querySurfaceCapabilities2Test() 551 ….getPhysicalDeviceSurfaceCapabilities2KHR(physicalDevices[deviceNdx], &surfaceInfo, &extCapabiliti… in querySurfaceCapabilities2Test() 553 …results.check(deMemoryEqual(&surfaceInfo, &infoCopy, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)) == D… in querySurfaceCapabilities2Test() 605 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceProtectedCapabilitiesTest() local 613 deMemcpy(&infoCopy, &surfaceInfo, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)); in querySurfaceProtectedCapabilitiesTest() 615 ….getPhysicalDeviceSurfaceCapabilities2KHR(physicalDevices[deviceNdx], &surfaceInfo, &extCapabiliti… in querySurfaceProtectedCapabilitiesTest() 617 …results.check(deMemoryEqual(&surfaceInfo, &infoCopy, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)) == D… in querySurfaceProtectedCapabilitiesTest() 734 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceFormats2Test() local 742 …r.vki.getPhysicalDeviceSurfaceFormats2KHR(physicalDevices[deviceNdx], &surfaceInfo, &numFormats, D… in querySurfaceFormats2Test() [all …]
|
D | vktWsiFullScreenExclusiveTests.cpp | 391 VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = { in fullScreenExclusiveTest() local 397 surfaceInfo.pNext = &fseInfo; in fullScreenExclusiveTest() 406 …instHelper.vki.getPhysicalDeviceSurfaceCapabilities2KHR(devHelper.physicalDevice, &surfaceInfo, &s… in fullScreenExclusiveTest()
|
D | vktWsiSharedPresentableImageTests.cpp | 747 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in SharedPresentableImageTestInstance() local
|
D | vktWsiIncrementalPresentTests.cpp | 837 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in IncrementalPresentTestInstance() local
|
D | vktWsiDisplayTimingTests.cpp | 726 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in DisplayTimingTestInstance() local
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemWsiSwapchainTests.cpp | 1184 const vk::VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in basicRenderTest() local 1198 …VK_CHECK(vki.getPhysicalDeviceSurfaceCapabilities2KHR(context.getPhysicalDevice(), &surfaceInfo, &… in basicRenderTest()
|
/third_party/skia/third_party/externals/swiftshader/include/vulkan/ |
D | vulkan_raii.hpp | 2686 …eCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 2690 …eCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 2693 …urfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 2738 …ePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3228 const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 13095 const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR() 13105 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 13116 const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR() 13124 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 13135 const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceFormats2KHR() [all …]
|
D | vulkan_funcs.hpp | 12433 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceCapabilities2KHR() argument 12440 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 12448 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceCapabilities2KHR() argument 12457 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 12483 …ce::getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceFormats2KHR() argument 12494 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() 12502 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() 12522 …ce::getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceFormats2KHR() argument 12534 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() 12542 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() [all …]
|
D | vulkan_handles.hpp | 11201 …upSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13189 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13193 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13207 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13214 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13454 …etSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13461 …etSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
|
/third_party/vulkan-headers/include/vulkan/ |
D | vulkan_raii.hpp | 3092 …eCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3096 …eCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3099 …urfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3102 …urfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3142 …ePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 3859 …ePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; 14788 …ceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR() 14795 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 14804 …ceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR() 14812 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() [all …]
|
D | vulkan_funcs.hpp | 12708 …ities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getSurfaceCapabilities2KHR() argument 12714 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 12723 …ities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getSurfaceCapabilities2KHR() argument 12730 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR() 12754 …rmats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getSurfaceFormats2KHR() argument 12764 …m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), &surf… in getSurfaceFormats2KHR() 12769 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() 12788 …ce::getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceFormats2KHR() argument 12800 …m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), &surf… in getSurfaceFormats2KHR() 12805 … reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR() [all …]
|
D | vulkan_handles.hpp | 11079 …upSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13141 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13145 …etSurfaceCapabilities2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13158 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13165 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13172 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13180 … getSurfaceFormats2KHR( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13383 …etSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, 13390 …etSurfacePresentModes2EXT( const VULKAN_HPP_NAMESPACE::PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
|
/third_party/chromium/patch/ |
D | 0004-ohos-3.2-Beta5.patch | 44537 + WindowsSurfaceInfo* surfaceInfo = 44542 + if (surfaceInfo != nullptr) { 44544 + eglDestroySurface(surfaceInfo->display, surfaceInfo->surface); 44545 + eglDestroyContext(surfaceInfo->display, surfaceInfo->context); 44548 + new NativeViewGLSurfaceEGLOhos(EGLNativeWindowType(surfaceInfo->window)));
|