/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_display.c | 85 struct wsi_display *wsi; member 148 struct wsi_display *wsi; member 163 struct wsi_display *wsi; member 182 wsi_display_mode_matches_drm(wsi_display_mode *wsi, in ICD_DEFINE_NONDISP_HANDLE_CASTS() 185 return wsi->clock == drm->clock && in ICD_DEFINE_NONDISP_HANDLE_CASTS() 186 wsi->hdisplay == drm->hdisplay && in ICD_DEFINE_NONDISP_HANDLE_CASTS() 187 wsi->hsync_start == drm->hsync_start && in ICD_DEFINE_NONDISP_HANDLE_CASTS() 188 wsi->hsync_end == drm->hsync_end && in ICD_DEFINE_NONDISP_HANDLE_CASTS() 189 wsi->htotal == drm->htotal && in ICD_DEFINE_NONDISP_HANDLE_CASTS() 190 wsi->hskew == drm->hskew && in ICD_DEFINE_NONDISP_HANDLE_CASTS() [all …]
|
D | wsi_common.c | 62 wsi_device_init(struct wsi_device *wsi, in wsi_device_init() argument 77 memset(wsi, 0, sizeof(*wsi)); in wsi_device_init() 79 wsi->instance_alloc = *alloc; in wsi_device_init() 80 wsi->pdevice = pdevice; in wsi_device_init() 81 wsi->supports_scanout = true; in wsi_device_init() 82 wsi->sw = device_options->sw_device || (WSI_DEBUG & WSI_DEBUG_SW); in wsi_device_init() 83 wsi->wants_linear = (WSI_DEBUG & WSI_DEBUG_LINEAR) != 0; in wsi_device_init() 84 wsi->x11.extra_xwayland_image = device_options->extra_xwayland_image; in wsi_device_init() 93 wsi->drm_info.sType = in wsi_device_init() 95 wsi->pci_bus_info.sType = in wsi_device_init() [all …]
|
D | wsi_common_headless.c | 49 struct wsi_device *wsi; member 150 struct wsi_headless *wsi = in wsi_headless_surface_get_formats() local 151 (struct wsi_headless *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_HEADLESS]; in wsi_headless_surface_get_formats() 155 if (wsi->wsi->force_bgra8_unorm_first) { in wsi_headless_surface_get_formats() 185 struct wsi_headless *wsi = in wsi_headless_surface_get_formats2() local 186 (struct wsi_headless *)wsi_device->wsi[VK_ICD_WSI_PLATFORM_HEADLESS]; in wsi_headless_surface_get_formats2() 190 if (wsi->wsi->force_bgra8_unorm_first) { in wsi_headless_surface_get_formats2() 368 const struct wsi_device *wsi = chain->wsi; in wsi_create_null_image_mem() local 372 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs); in wsi_create_null_image_mem() 385 wsi_select_device_memory_type(wsi, reqs.memoryTypeBits), in wsi_create_null_image_mem() [all …]
|
D | wsi_common_win32.cpp | 52 struct wsi_device *wsi; member 101 struct wsi_win32 *wsi; member 425 const struct wsi_device *wsi = chain->base.wsi; in wsi_create_dxgi_image_mem() local 439 wsi->win32.create_image_memory(chain->base.device, in wsi_create_dxgi_image_mem() 455 result = wsi->CreateImage(chain->base.device, &create, in wsi_create_dxgi_image_mem() 460 result = wsi->BindImageMemory(chain->base.device, image->blit.image, in wsi_create_dxgi_image_mem() 466 wsi->GetImageMemoryRequirements(chain->base.device, image->image, &reqs); in wsi_create_dxgi_image_mem() 478 info->select_image_memory_type(wsi, reqs.memoryTypeBits), in wsi_create_dxgi_image_mem() 481 return wsi->AllocateMemory(chain->base.device, &memory_info, in wsi_create_dxgi_image_mem() 486 wsi_dxgi_image_needs_blit(const struct wsi_device *wsi, in wsi_dxgi_image_needs_blit() argument [all …]
|
D | wsi_common_drm.c | 103 if (!(chain->wsi->semaphore_export_handle_types & in prepare_signal_dma_buf_from_semaphore() 126 result = chain->wsi->CreateSemaphore(chain->device, &semaphore_info, in prepare_signal_dma_buf_from_semaphore() 165 result = chain->wsi->GetSemaphoreFdKHR(chain->device, &get_fd_info, in wsi_signal_dma_buf_from_semaphore() 257 wsi_device_matches_drm_fd(const struct wsi_device *wsi, int drm_fd) in wsi_device_matches_drm_fd() argument 259 if (wsi->can_present_on_device) in wsi_device_matches_drm_fd() 260 return wsi->can_present_on_device(wsi->pdevice, drm_fd); in wsi_device_matches_drm_fd() 270 match = wsi->pci_bus_info.pciDomain == fd_device->businfo.pci->domain && in wsi_device_matches_drm_fd() 271 wsi->pci_bus_info.pciBus == fd_device->businfo.pci->bus && in wsi_device_matches_drm_fd() 272 wsi->pci_bus_info.pciDevice == fd_device->businfo.pci->dev && in wsi_device_matches_drm_fd() 273 wsi->pci_bus_info.pciFunction == fd_device->businfo.pci->func; in wsi_device_matches_drm_fd() [all …]
|
D | wsi_common_private.h | 77 typedef uint32_t (*wsi_memory_type_select_cb)(const struct wsi_device *wsi, 82 struct wsi_image_create_info wsi; member 148 const struct wsi_device *wsi; member 201 wsi_device_matches_drm_fd(const struct wsi_device *wsi, int drm_fd); 212 wsi_swapchain_init(const struct wsi_device *wsi, 220 wsi_swapchain_get_present_mode(struct wsi_device *wsi, 226 wsi_select_memory_type(const struct wsi_device *wsi, 231 wsi_select_device_memory_type(const struct wsi_device *wsi, 235 wsi_drm_image_needs_buffer_blit(const struct wsi_device *wsi, 239 wsi_dxgi_image_needs_blit(const struct wsi_device *wsi, [all …]
|
D | wsi_common.h | 267 struct wsi_interface * wsi[VK_ICD_WSI_PLATFORM_MAX]; member 278 wsi_device_init(struct wsi_device *wsi, 287 wsi_device_finish(struct wsi_device *wsi, 323 wsi_common_acquire_next_image2(const struct wsi_device *wsi, 329 wsi_common_queue_present(const struct wsi_device *wsi, 336 wsi_common_create_swapchain_image(const struct wsi_device *wsi, 341 wsi_common_bind_swapchain_image(const struct wsi_device *wsi,
|
D | wsi_common_wayland.c | 125 struct wsi_device *wsi; member 228 display->wsi_wl->wsi->GetPhysicalDeviceFormatProperties(display->wsi_wl->physical_device, in wsi_wl_display_add_vk_format() 904 if (wsi_wl->wsi->drm_info.hasRender || in wsi_wl_display_init() 905 wsi_wl->wsi->drm_info.hasPrimary) { in wsi_wl_display_init() 910 (wsi_wl->wsi->drm_info.hasRender && in wsi_wl_display_init() 911 major(display->main_device) == wsi_wl->wsi->drm_info.renderMajor && in wsi_wl_display_init() 912 minor(display->main_device) == wsi_wl->wsi->drm_info.renderMinor) || in wsi_wl_display_init() 913 (wsi_wl->wsi->drm_info.hasPrimary && in wsi_wl_display_init() 914 major(display->main_device) == wsi_wl->wsi->drm_info.primaryMajor && in wsi_wl_display_init() 915 minor(display->main_device) == wsi_wl->wsi->drm_info.primaryMinor); in wsi_wl_display_init() [all …]
|
D | wsi_common_x11.c | 407 struct wsi_x11 *wsi = in wsi_x11_get_connection() local 408 (struct wsi_x11 *)wsi_dev->wsi[VK_ICD_WSI_PLATFORM_XCB]; in wsi_x11_get_connection() 410 pthread_mutex_lock(&wsi->mutex); in wsi_x11_get_connection() 412 struct hash_entry *entry = _mesa_hash_table_search(wsi->connections, conn); in wsi_x11_get_connection() 417 pthread_mutex_unlock(&wsi->mutex); in wsi_x11_get_connection() 424 pthread_mutex_lock(&wsi->mutex); in wsi_x11_get_connection() 426 entry = _mesa_hash_table_search(wsi->connections, conn); in wsi_x11_get_connection() 431 entry = _mesa_hash_table_insert(wsi->connections, conn, wsi_conn); in wsi_x11_get_connection() 435 pthread_mutex_unlock(&wsi->mutex); in wsi_x11_get_connection() 1603 wsi_x11_get_connection((struct wsi_device*)chain->base.wsi, chain->conn); in x11_present_to_x11_dri3() [all …]
|
D | Android.bp | 30 "$(genDir)/placeholder.c --prefix wsi --beta false", 41 "$(location wsi_common_entrypoints.c) --prefix wsi " +
|
D | meson.build | 56 '--out-h', '@OUTPUT0@', '--out-c', '@OUTPUT1@', '--prefix', 'wsi',
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/ |
D | installRelease | 34 mkdir $install/core $install/wsi 35 cp -rp $genspec/core $genspec/wsi $genspec/df $install
|
D | vkspec.adoc | 146 include::{chapters}/VK_KHR_surface/wsi.adoc[]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_display_surface_counter/ |
D | surface_capabilities.adoc | 46 include::{chapters}/VK_KHR_surface/wsi.adoc[tag=surface_capabilities_members] 56 <<wsi-display-surfaces,display surface>>
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/ |
D | vulkanscdeviations.adoc | 57 | <<wsi,WSI Swapchain>> a| include::{chapters}/VK_KHR_swapchain/wsi.adoc[tag=scdeviation] 87 | <<wsi,Window System Integration>> a| include::{chapters}/VK_KHR_surface/wsi.adoc[tag=scremoved] 88 | <<wsi,WSI Swapchain>> a| include::{chapters}/VK_KHR_swapchain/wsi.adoc[tag=scremoved]
|
D | boilerplate.adoc | 45 <<boilerplate-wsi-header, window system-specific>> and 283 [[boilerplate-wsi-header]] 286 …of window system interface extensions',type='freeform',anchor='boilerplate-wsi-header',xrefs='prov… 314 the <<boilerplate-wsi-header-table,following table>>. 316 [[boilerplate-wsi-header-table]] 376 The mechanism is similar to <<boilerplate-wsi-header, window system-specific
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/antora/modules/ROOT/ |
D | nav.adoc | 43 * xref:chapters/VK_KHR_surface/wsi.adoc[]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/ |
D | meson.build | 100 subdir('wsi') subdir
|
/hardware/google/gfxstream/guest/mesa/src/egl/wayland/wayland-drm/ |
D | meson.build | 58 # Moving these to a src/wsi/ was suggested but shot down, so put these
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_swapchain/ |
D | wsi.adoc | 83 include::{chapters}/VK_KHR_shared_presentable_image/wsi.adoc[] 115 [[swapchain-wsi-image-create-info]] 549 The <<swapchain-wsi-image-create-info, implied image creation 1531 include::{chapters}/VK_KHR_incremental_present/wsi.adoc[]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_surface/ |
D | wsi.adoc | 5 [[wsi]] anchor 29 <<boilerplate-wsi-header,Window System-Specific Header Control>> appendix. 40 <<boilerplate-wsi-header-table, Window System Extensions and Headers>> 1933 include::{chapters}/VK_KHR_swapchain/wsi.adoc[]
|
/hardware/google/gfxstream/guest/platform/rutabaga/ |
D | RutabagaLayer.cpp | 346 builder.wsi = RUTABAGA_WSI_SURFACELESS; in Init()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/style/ |
D | extensions.adoc | 445 An example can be found in `chapters/VK_KHR_surface/wsi.adoc`. 579 \include::{chapters}/VK_EXT_debug_marker/wsi.adoc[]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_display/ |
D | display.adoc | 643 [[wsi-display-surfaces]]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | video_encode_extensions.adoc | 124 , or with <<wsi, Window System Integration>> APIs
|