projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513d73b
)
turnip: Use the common QueuePresent implementation
author
Jason Ekstrand
<jason.ekstrand@collabora.com>
Wed, 8 Jun 2022 23:31:01 +0000
(18:31 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 10 Jun 2022 01:33:12 +0000
(
01:33
+0000)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>
src/freedreno/vulkan/tu_wsi.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_wsi.c
b/src/freedreno/vulkan/tu_wsi.c
index
19a1709
..
69a81a1
100644
(file)
--- a/
src/freedreno/vulkan/tu_wsi.c
+++ b/
src/freedreno/vulkan/tu_wsi.c
@@
-76,14
+76,3
@@
tu_wsi_finish(struct tu_physical_device *physical_device)
wsi_device_finish(&physical_device->wsi_device,
&physical_device->instance->vk.alloc);
}
-
-VKAPI_ATTR VkResult VKAPI_CALL
-tu_QueuePresentKHR(VkQueue _queue, const VkPresentInfoKHR *pPresentInfo)
-{
- TU_FROM_HANDLE(tu_queue, queue, _queue);
-
- return wsi_common_queue_present(
- &queue->device->physical_device->wsi_device,
- tu_device_to_handle(queue->device), _queue, queue->vk.queue_family_index,
- pPresentInfo);
-}