Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dtest_memory_access.cpp126 cl_dx9_surface_info_khr surfaceInfo; in memory_access() local
127 surfaceInfo.resource = in memory_access()
129 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
131 void *surfaceInfo = 0; in memory_access()
141 ctx, CL_MEM_WRITE_ONLY, adapterType, &surfaceInfo, planeIdx, in memory_access()
212 cl_dx9_surface_info_khr surfaceInfo; in memory_access() local
213 surfaceInfo.resource = in memory_access()
215 surfaceInfo.shared_handle = objectSharedHandle; in memory_access()
217 void *surfaceInfo = 0; in memory_access()
227 ctx, CL_MEM_READ_ONLY, adapterType, &surfaceInfo, planeIdx, in memory_access()
[all …]
Dtest_create_context.cpp127 cl_dx9_surface_info_khr surfaceInfo; in context_create() local
128 surfaceInfo.resource = in context_create()
130 surfaceInfo.shared_handle = objectSharedHandle; in context_create()
132 void *surfaceInfo = 0; in context_create() local
142 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in context_create()
Dtest_interop_sync.cpp134 cl_dx9_surface_info_khr surfaceInfo; in interop_user_sync() local
135 surfaceInfo.resource = in interop_user_sync()
137 surfaceInfo.shared_handle = objectSharedHandle; in interop_user_sync()
139 void *surfaceInfo = 0; in interop_user_sync() local
149 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in interop_user_sync()
Dtest_functions_api.cpp122 cl_dx9_surface_info_khr surfaceInfo; in api_functions() local
123 surfaceInfo.resource = in api_functions()
125 surfaceInfo.shared_handle = objectSharedHandle; in api_functions()
127 void *surfaceInfo = 0; in api_functions() local
137 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in api_functions()
Dutils.cpp1091 cl_dx9_surface_info_khr surfaceInfo; in GetMemObjInfo() local
1093 void *surfaceInfo = 0; in GetMemObjInfo()
1098 sizeof(surfaceInfo), &surfaceInfo, in GetMemObjInfo()
1110 if (*d3d9Surface != surfaceInfo.resource) in GetMemObjInfo()
1117 if (shareHandleExp != surfaceInfo.shared_handle) in GetMemObjInfo()
1127 if (paramSize != sizeof(surfaceInfo)) in GetMemObjInfo()
1131 paramSize, sizeof(surfaceInfo)); in GetMemObjInfo()
Dtest_other_data_types.cpp268 void *surfaceInfo = 0; in other_data_types()
/external/skqp/gm/
Dimagemasksubset.cpp33 SkImageInfo surfaceInfo = info; in onGetPixels() local
35 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels()
38 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels()
/external/skia/gm/
Dimagemasksubset.cpp40 SkImageInfo surfaceInfo = info; in onGetPixels() local
42 surfaceInfo = surfaceInfo.makeColorSpace(nullptr); in onGetPixels()
45 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels()
/external/skqp/tests/
DReadPixelsTest.cpp171 SkImageInfo surfaceInfo) { in check_read() argument
194 uint8_t surfaceAlpha = (surfaceInfo.alphaType() == kOpaque_SkAlphaType) in check_read()
226 if (SkColorTypeIsAlphaOnly(surfaceInfo.colorType())) { in check_read()
229 … if (kOpaque_SkAlphaType == surfaceInfo.alphaType() || kOpaque_SkAlphaType == bmpAT) { in check_read()
401 const SkImageInfo& surfaceInfo, BitmapInit lastBitmapInit) { in test_readpixels() argument
425 auto expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo, isGPU); in test_readpixels()
429 success, surfaceInfo.colorType(), surfaceInfo.alphaType(), in test_readpixels()
436 startsWithPixels, surfaceInfo); in test_readpixels()
481 const SkImageInfo& surfaceInfo) { in test_readpixels_texture() argument
506 surfaceInfo.alphaType() != kOpaque_SkAlphaType) { in test_readpixels_texture()
[all …]
DWritePixelsTest.cpp325 const SkImageInfo& surfaceInfo) { in test_write_pixels() argument
403 REPORTER_ASSERT(reporter, check_write(reporter, surface, surfaceInfo.alphaType(), in test_write_pixels()
411 write_should_succeed(surfaceInfo, bmp.info(), isGPU); in test_write_pixels()
/external/skia/tests/
DReadPixelsTest.cpp166 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()
DWritePixelsTest.cpp325 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()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp589 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceCapabilities2Test() local
597 deMemcpy(&infoCopy, &surfaceInfo, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)); in querySurfaceCapabilities2Test()
599 ….getPhysicalDeviceSurfaceCapabilities2KHR(physicalDevices[deviceNdx], &surfaceInfo, &extCapabiliti… in querySurfaceCapabilities2Test()
601 …results.check(deMemoryEqual(&surfaceInfo, &infoCopy, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)) == D… in querySurfaceCapabilities2Test()
653 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceProtectedCapabilitiesTest() local
661 deMemcpy(&infoCopy, &surfaceInfo, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)); in querySurfaceProtectedCapabilitiesTest()
663 ….getPhysicalDeviceSurfaceCapabilities2KHR(physicalDevices[deviceNdx], &surfaceInfo, &extCapabiliti… in querySurfaceProtectedCapabilitiesTest()
665 …results.check(deMemoryEqual(&surfaceInfo, &infoCopy, sizeof(VkPhysicalDeviceSurfaceInfo2KHR)) == D… in querySurfaceProtectedCapabilitiesTest()
782 const VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in querySurfaceFormats2Test() local
790 …r.vki.getPhysicalDeviceSurfaceFormats2KHR(physicalDevices[deviceNdx], &surfaceInfo, &numFormats, D… in querySurfaceFormats2Test()
[all …]
DvktWsiFullScreenExclusiveTests.cpp389 VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = { in fullScreenExclusiveTest() local
395 surfaceInfo.pNext = &fseInfo; in fullScreenExclusiveTest()
404 …instHelper.vki.getPhysicalDeviceSurfaceCapabilities2KHR(devHelper.physicalDevice, &surfaceInfo, &s… in fullScreenExclusiveTest()
DvktWsiSharedPresentableImageTests.cpp747 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in SharedPresentableImageTestInstance() local
DvktWsiIncrementalPresentTests.cpp837 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in IncrementalPresentTestInstance() local
DvktWsiDisplayTimingTests.cpp726 …const tcu::ScopedLogSection surfaceInfo (m_context.getTestContext().getLog(), "SurfaceCapabilities… in DisplayTimingTestInstance() local
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1299 VkWin32SurfaceCreateInfoKHR surfaceInfo = { VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR }; in InitializeApplication() local
1300 surfaceInfo.hinstance = g_hAppInstance; in InitializeApplication()
1301 surfaceInfo.hwnd = g_hWnd; in InitializeApplication()
1302 … VkResult result = vkCreateWin32SurfaceKHR(g_hVulkanInstance, &surfaceInfo, g_Allocs, &g_hSurface); in InitializeApplication()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp1184 const vk::VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = in basicRenderTest() local
1198 …VK_CHECK(vki.getPhysicalDeviceSurfaceCapabilities2KHR(context.getPhysicalDevice(), &surfaceInfo, &… in basicRenderTest()
/external/angle/third_party/vulkan-deps/vulkan-headers/src/include/vulkan/
Dvulkan_raii.hpp2179 … getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
2183 … getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
2186 … getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
2231 … getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
2731 … getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
12972 …ysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR()
12982 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR()
12993 …ysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceCapabilities2KHR()
13001 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR()
13011 … PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const in getSurfaceFormats2KHR()
[all …]
Dvulkan_funcs.hpp11631 PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceCapabilities2KHR() argument
11637 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR()
11645 … PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceCapabilities2KHR() argument
11653 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceCapabilities2KHR()
11678 …PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch… in getSurfaceFormats2KHR() argument
11687 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR()
11695 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR()
11715 PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, in getSurfaceFormats2KHR() argument
11726 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR()
11734 reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), in getSurfaceFormats2KHR()
[all …]
Dvulkan_handles.hpp10533 getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12338 getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12342 getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12356 getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12363 getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12603 getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
12610 getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo,
/external/vulkan-headers/include/vulkan/
Dvulkan.hpp48964 …getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54677 …type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54679 …type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54694 …r>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54696 …r>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Allocator cons…
54713 …type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54715 …type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Allocator cons…
86107 …getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getGroupSurfacePresentModes2EXT() argument
86110 … m_device, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), reinterpret_… in getGroupSurfacePresentModes2EXT()
90517 …ice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getSurfaceCapabilities2KHR() argument
[all …]
/external/swiftshader/include/vulkan/
Dvulkan.hpp49127 …getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54871 …type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54873 …type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54889 …r>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54891 …r>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, SurfaceFormat2…
54910 …type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const…
54912 …type getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, PresentModeKHR…
86631 …getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getGroupSurfacePresentModes2EXT() argument
86634 … m_device, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), reinterpret_… in getGroupSurfacePresentModes2EXT()
91163 …ice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const… in getSurfaceCapabilities2KHR() argument
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp12716 …VkPhysicalDeviceSurfaceInfo2KHR surfaceInfo = {VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KH… in ValidateCreateSwapchain() local
12717 surfaceInfo.surface = pCreateInfo->surface; in ValidateCreateSwapchain()
12721 …icalDeviceSurfaceCapabilities2KHR(physical_device_state->phys_device, &surfaceInfo, &surfaceCapabi… in ValidateCreateSwapchain()