Home
last modified time | relevance | path

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

123

/external/mesa3d/src/vulkan/wsi/
Dwsi_common.c29 wsi_device_init(struct wsi_device *wsi, in wsi_device_init() argument
36 memset(wsi, 0, sizeof(*wsi)); in wsi_device_init()
44 GetPhysicalDeviceMemoryProperties(pdevice, &wsi->memory_props); in wsi_device_init()
45 GetPhysicalDeviceQueueFamilyProperties(pdevice, &wsi->queue_family_count, NULL); in wsi_device_init()
48 wsi->func = (PFN_vk##func)proc_addr(pdevice, "vk" #func) in wsi_device_init()
77 result = wsi_x11_init_wsi(wsi, alloc); in wsi_device_init()
83 result = wsi_wl_init_wsi(wsi, alloc, pdevice); in wsi_device_init()
86 wsi_x11_finish_wsi(wsi, alloc); in wsi_device_init()
96 wsi_device_finish(struct wsi_device *wsi, in wsi_device_finish() argument
100 wsi_wl_finish_wsi(wsi, alloc); in wsi_device_finish()
[all …]
Dwsi_common_wayland.c70 struct wsi_device *wsi; member
88 display->wsi_wl->wsi->GetPhysicalDeviceFormatProperties(display->wsi_wl->physical_device, in wsi_wl_display_add_vk_format()
344 wsi_wl_display_create(struct wsi_wayland *wsi, struct wl_display *wl_display, in wsi_wl_display_create() argument
348 vk_alloc(wsi->alloc, sizeof(*display), 8, in wsi_wl_display_create()
353 VkResult result = wsi_wl_display_init(wsi, display, wl_display, true); in wsi_wl_display_create()
355 vk_free(wsi->alloc, display); in wsi_wl_display_create()
378 struct wsi_wayland *wsi = display->wsi_wl; in wsi_wl_display_unref() local
380 vk_free(wsi->alloc, display); in wsi_wl_display_unref()
387 struct wsi_wayland *wsi = in wsi_wl_get_presentation_support() local
388 (struct wsi_wayland *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_WAYLAND]; in wsi_wl_get_presentation_support()
[all …]
Dwsi_common_x11.c206 struct wsi_x11 *wsi = in wsi_x11_get_connection() local
207 (struct wsi_x11 *)wsi_dev->wsi[VK_ICD_WSI_PLATFORM_XCB]; in wsi_x11_get_connection()
209 pthread_mutex_lock(&wsi->mutex); in wsi_x11_get_connection()
211 struct hash_entry *entry = _mesa_hash_table_search(wsi->connections, conn); in wsi_x11_get_connection()
216 pthread_mutex_unlock(&wsi->mutex); in wsi_x11_get_connection()
223 pthread_mutex_lock(&wsi->mutex); in wsi_x11_get_connection()
225 entry = _mesa_hash_table_search(wsi->connections, conn); in wsi_x11_get_connection()
230 entry = _mesa_hash_table_insert(wsi->connections, conn, wsi_conn); in wsi_x11_get_connection()
234 pthread_mutex_unlock(&wsi->mutex); in wsi_x11_get_connection()
1180 struct wsi_x11 *wsi; in wsi_x11_init_wsi() local
[all …]
Dwsi_common.h87 struct wsi_interface * wsi[VK_ICD_WSI_PLATFORM_MAX]; member
93 wsi_device_init(struct wsi_device *wsi,
99 wsi_device_finish(struct wsi_device *wsi,
163 wsi_common_acquire_next_image(const struct wsi_device *wsi,
171 wsi_common_create_swapchain(struct wsi_device *wsi,
183 wsi_common_queue_present(const struct wsi_device *wsi,
/external/deqp/framework/platform/lnx/
DtcuLnxVulkanPlatform.cpp58 class VulkanWindowXlib : public vk::wsi::XlibWindowInterface
62 : vk::wsi::XlibWindowInterface (vk::pt::XlibWindow(window->getXID())) in VulkanWindowXlib()
76 class VulkanDisplayXlib : public vk::wsi::XlibDisplayInterface
80 …: vk::wsi::XlibDisplayInterface (vk::pt::XlibDisplayPtr(((x11::XlibDisplay*)display.get())->getXDi… in VulkanDisplayXlib()
85 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
101 class VulkanWindowXcb : public vk::wsi::XcbWindowInterface
105 : vk::wsi::XcbWindowInterface (vk::pt::XcbWindow(window->getXID())) in VulkanWindowXcb()
119 class VulkanDisplayXcb : public vk::wsi::XcbDisplayInterface
123 …: vk::wsi::XcbDisplayInterface (vk::pt::XcbConnectionPtr(((x11::XcbDisplay*)display.get())->getCon… in VulkanDisplayXcb()
128 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
[all …]
DtcuLnxVulkanPlatform.hpp40 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
42 bool hasDisplay (vk::wsi::Type wsiType) const;
/external/mesa3d/src/vulkan/
DMakefile.sources3 wsi/wsi_common.c \
4 wsi/wsi_common.h \
5 wsi/wsi_common_private.h \
6 wsi/wsi_common_queue.h
9 wsi/wsi_common_wayland.c \
10 wsi/wsi_common_wayland.h
13 wsi/wayland-drm-protocol.c \
14 wsi/wayland-drm-client-protocol.h
17 wsi/wsi_common_x11.c \
18 wsi/wsi_common_x11.h
DMakefile.am16 wsi/meson.build \
65 wsi/wayland-drm-protocol.c : $(WL_DRM_XML)
69 wsi/wayland-drm-client-protocol.h : $(WL_DRM_XML)
75 -I$(top_builddir)/src/vulkan/wsi \
/external/deqp/framework/platform/osx/
DtcuOSXVulkanPlatform.cpp43 class VulkanWindow : public vk::wsi::MacOSWindowInterface
47 : vk::wsi::MacOSWindowInterface(view->getView()) in VulkanWindow()
60 class VulkanDisplay : public vk::wsi::Display
67 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
103 vk::wsi::Display* VulkanPlatform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
105 if (wsiType != vk::wsi::TYPE_MACOS) in createWsiDisplay()
111 bool VulkanPlatform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
113 if (wsiType != vk::wsi::TYPE_MACOS) in hasDisplay()
DtcuOSXVulkanPlatform.hpp39 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
41 bool hasDisplay (vk::wsi::Type wsiType) const;
/external/deqp/android/cts/master/src/
Dvk-not-applicable.txt2 dEQP-VK.wsi.xlib.*
3 dEQP-VK.wsi.xcb.*
4 dEQP-VK.wsi.mir.*
5 dEQP-VK.wsi.wayland.*
6 dEQP-VK.wsi.win32.*
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp83 vk::wsi::Type wsiType) in getRequiredWsiExtensions()
119 de::MovePtr<vk::wsi::Display> createDisplay (const vk::Platform& platform, in createDisplay()
121 vk::wsi::Type wsiType) in createDisplay()
125 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
141 de::MovePtr<vk::wsi::Window> createWindow (const vk::wsi::Display& display, const tcu::Maybe<tcu::U… in createWindow()
145 return de::MovePtr<vk::wsi::Window>(display.createWindow(initialSize)); in createWindow()
157 const de::UniquePtr<vk::wsi::Display> display;
158 const de::UniquePtr<vk::wsi::Window> window;
162 vk::wsi::Type wsiType, in NativeObjects()
205 vk::wsi::Type wsiType;
[all …]
DvktProtectedMemContext.cpp48 vk::wsi::Type wsiType, in ProtectedContext()
49 vk::wsi::Display& display, in ProtectedContext()
50 vk::wsi::Window& window, in ProtectedContext()
58 , m_surface (vk::wsi::createSurface(m_vki, *m_instance, wsiType, display, window)) in ProtectedContext()
/external/deqp/framework/platform/win32/
DtcuWin32VulkanPlatform.cpp49 class VulkanWindow : public vk::wsi::Win32WindowInterface
53 : vk::wsi::Win32WindowInterface (vk::pt::Win32WindowHandle(window->getHandle())) in VulkanWindow()
67 class VulkanDisplay : public vk::wsi::Win32DisplayInterface
71 : vk::wsi::Win32DisplayInterface (vk::pt::Win32InstanceHandle(instance)) in VulkanDisplay()
75 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
289 vk::wsi::Display* VulkanPlatform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
291 if (wsiType != vk::wsi::TYPE_WIN32) in createWsiDisplay()
297 bool VulkanPlatform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
299 if (wsiType != vk::wsi::TYPE_WIN32) in hasDisplay()
DtcuWin32VulkanPlatform.hpp42 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
43 bool hasDisplay (vk::wsi::Type wsiType) const;
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiTests.cpp38 namespace wsi namespace
44 void createTypeSpecificTests (tcu::TestCaseGroup* testGroup, vk::wsi::Type wsiType) in createTypeSpecificTests()
56 for (int typeNdx = 0; typeNdx < vk::wsi::TYPE_LAST; ++typeNdx) in createWsiTests()
58 const vk::wsi::Type wsiType = (vk::wsi::Type)typeNdx; in createWsiTests()
DvktWsiSharedPresentableImageTests.cpp57 namespace wsi namespace
84 vk::wsi::Type wsiType) in createInstanceWithWsi()
125 …if (vk::wsi::getPhysicalDeviceSurfaceSupport(vki, physicalDevice, queueFamilyNdx, surface) != VK_F… in getSupportedQueueFamilyIndices()
193 de::MovePtr<vk::wsi::Display> createDisplay (const vk::Platform& platform, in createDisplay()
195 vk::wsi::Type wsiType) in createDisplay()
199 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); in createDisplay()
215 de::MovePtr<vk::wsi::Window> createWindow (const vk::wsi::Display& display, const Maybe<UVec2>& ini… in createWindow()
219 return de::MovePtr<vk::wsi::Window>(display.createWindow(initialSize)); in createWindow()
229 bool wsiTypeSupportsScaling (vk::wsi::Type wsiType) in wsiTypeSupportsScaling()
231 …return vk::wsi::getPlatformProperties(wsiType).swapchainExtent == vk::wsi::PlatformProperties::SWA… in wsiTypeSupportsScaling()
[all …]
/external/autotest/server/site_tests/cheets_CTS_P/
Dcontrol.x86.CtsDeqpTestCases.dEQP-VK.wsi8 NAME = 'cheets_CTS_P.x86.CtsDeqpTestCases.dEQP-VK.wsi'
16 DOC = 'Run module CtsDeqpTestCases.dEQP-VK.wsi of the Android Compatibility Test Suite (CTS) using …
25 tag='x86.CtsDeqpTestCases.dEQP-VK.wsi',
26 test_name='cheets_CTS_P.x86.CtsDeqpTestCases.dEQP-VK.wsi',
27 …'--include-filter', 'CtsDeqpTestCases', '--module', 'CtsDeqpTestCases', '--test', 'dEQP-VK.wsi.*'],
Dcontrol.arm.CtsDeqpTestCases.dEQP-VK.wsi8 NAME = 'cheets_CTS_P.arm.CtsDeqpTestCases.dEQP-VK.wsi'
16 DOC = 'Run module CtsDeqpTestCases.dEQP-VK.wsi of the Android Compatibility Test Suite (CTS) using …
25 tag='arm.CtsDeqpTestCases.dEQP-VK.wsi',
26 test_name='cheets_CTS_P.arm.CtsDeqpTestCases.dEQP-VK.wsi',
27 …'--include-filter', 'CtsDeqpTestCases', '--module', 'CtsDeqpTestCases', '--test', 'dEQP-VK.wsi.*'],
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.cpp220 class VulkanWindow : public vk::wsi::AndroidWindowInterface
224 : vk::wsi::AndroidWindowInterface (vk::pt::AndroidNativeWindowPtr(window.getNativeWindow())) in VulkanWindow()
238 class VulkanDisplay : public vk::wsi::Display
246 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const in createWindow()
346 vk::wsi::Display* Platform::createWsiDisplay (vk::wsi::Type wsiType) const in createWsiDisplay()
348 if (wsiType == vk::wsi::TYPE_ANDROID) in createWsiDisplay()
354 bool Platform::hasDisplay (vk::wsi::Type wsiType) const in hasDisplay()
356 if (wsiType == vk::wsi::TYPE_ANDROID) in hasDisplay()
DtcuAndroidPlatform.hpp57 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const;
58 bool hasDisplay (vk::wsi::Type wsiType) const;
/external/deqp/external/vulkancts/framework/vulkan/
DvkPlatform.hpp102 namespace wsi namespace
143 virtual wsi::Display* createWsiDisplay (wsi::Type wsiType) const;
144 virtual bool hasDisplay (wsi::Type wsiType) const;
DvkPlatform.cpp76 wsi::Display* Platform::createWsiDisplay (wsi::Type) const in createWsiDisplay()
81 bool Platform::hasDisplay (wsi::Type) const in hasDisplay()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorPreserveSpace.java71 WhiteSpaceInfo wsi = new WhiteSpaceInfo((XPath) xpaths.elementAt(i), false, thisSheet); in startElement() local
72 wsi.setUid(handler.nextUid()); in startElement()
74 thisSheet.setPreserveSpaces(wsi); in startElement()
DProcessorStripSpace.java70 WhiteSpaceInfo wsi = new WhiteSpaceInfo((XPath) xpaths.elementAt(i), true, thisSheet); in startElement() local
71 wsi.setUid(handler.nextUid()); in startElement()
73 thisSheet.setStripSpaces(wsi); in startElement()

123