v3dv: avoid prime blit path when presenting WSI images
This allows us to present WSI images directly rather than going through a blit path, improving performance. This improves vkQuake performance at 1080p by 10-20%. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
97891898c3
commit
08193cc56f
|
@ -45,7 +45,8 @@ v3dv_wsi_init(struct v3dv_physical_device *physical_device)
|
|||
v3dv_physical_device_to_handle(physical_device),
|
||||
v3dv_wsi_proc_addr,
|
||||
&physical_device->instance->alloc,
|
||||
-1, NULL, false);
|
||||
physical_device->display_fd, NULL, false);
|
||||
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
|
||||
|
|
Loading…
Reference in New Issue