Lines Matching defs:surface

683 wsi_wl_surface_get_support(VkIcdSurfaceBase *surface,
699 wsi_wl_surface_get_capabilities(VkIcdSurfaceBase *surface,
740 wsi_wl_surface_get_capabilities2(VkIcdSurfaceBase *surface,
748 wsi_wl_surface_get_capabilities(surface, wsi_device,
774 VkIcdSurfaceWayland *surface = (VkIcdSurfaceWayland *)icd_surface;
779 if (wsi_wl_display_init(wsi, &display, surface->display, true,
813 VkIcdSurfaceWayland *surface = (VkIcdSurfaceWayland *)icd_surface;
818 if (wsi_wl_display_init(wsi, &display, surface->display, true,
846 wsi_wl_surface_get_present_modes(VkIcdSurfaceBase *surface,
865 wsi_wl_surface_get_present_rectangles(VkIcdSurfaceBase *surface,
890 VkIcdSurfaceWayland *surface;
894 surface = vk_alloc2(&instance->alloc, pAllocator, sizeof *surface, 8,
896 if (surface == NULL)
899 surface->base.platform = VK_ICD_WSI_PLATFORM_WAYLAND;
900 surface->display = pCreateInfo->display;
901 surface->surface = pCreateInfo->surface;
903 *pSurface = VkIcdSurfaceBase_to_handle(&surface->base);
928 struct wl_surface * surface;
1069 wl_surface_attach(chain->surface, chain->images[image_index].buffer, 0, 0);
1071 if (wl_surface_get_version(chain->surface) >= 4 && damage &&
1076 wl_surface_damage_buffer(chain->surface,
1081 wl_surface_damage(chain->surface, 0, 0, INT32_MAX, INT32_MAX);
1085 chain->frame = wl_surface_frame(chain->surface);
1091 wl_surface_commit(chain->surface);
1237 if (chain->surface)
1238 wl_proxy_wrapper_destroy(chain->surface);
1268 VkIcdSurfaceWayland *surface = (VkIcdSurfaceWayland *)icd_surface;
1319 result = wsi_wl_display_create(wsi, surface->display,
1325 chain->surface = wl_proxy_create_wrapper(surface->surface);
1326 if (!chain->surface) {
1330 wl_proxy_set_queue((struct wl_proxy *) chain->surface,