mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
gfxstream: Remove on_vkGetDeviceQueue* impls entirely
The VkQueue_info::device field is not actually needed anywhere. Reviewed-by: Gurchetan Singh <gurchetansingh@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36330>
This commit is contained in:
parent
4a30c6fd70
commit
b1f6b76f85
3 changed files with 1 additions and 19 deletions
|
|
@ -80,8 +80,6 @@ ENCODER_CUSTOM_RESOURCE_POSTPROCESS = [
|
|||
"vkCreateDescriptorUpdateTemplateKHR",
|
||||
"vkGetPhysicalDeviceExternalSemaphoreProperties",
|
||||
"vkGetPhysicalDeviceExternalSemaphorePropertiesKHR",
|
||||
"vkGetDeviceQueue",
|
||||
"vkGetDeviceQueue2",
|
||||
]
|
||||
|
||||
ENCODER_EXPLICIT_FLUSHED_APIS = [
|
||||
|
|
|
|||
|
|
@ -2240,18 +2240,6 @@ void ResourceTracker::on_vkGetPhysicalDeviceMemoryProperties2(
|
|||
on_vkGetPhysicalDeviceMemoryProperties(nullptr, physdev, &out->memoryProperties);
|
||||
}
|
||||
|
||||
void ResourceTracker::on_vkGetDeviceQueue(void*, VkDevice device, uint32_t, uint32_t,
|
||||
VkQueue* pQueue) {
|
||||
std::lock_guard<std::recursive_mutex> lock(mLock);
|
||||
info_VkQueue[*pQueue].device = device;
|
||||
}
|
||||
|
||||
void ResourceTracker::on_vkGetDeviceQueue2(void*, VkDevice device, const VkDeviceQueueInfo2*,
|
||||
VkQueue* pQueue) {
|
||||
std::lock_guard<std::recursive_mutex> lock(mLock);
|
||||
info_VkQueue[*pQueue].device = device;
|
||||
}
|
||||
|
||||
VkResult ResourceTracker::on_vkCreateInstance(void* context, VkResult input_result,
|
||||
const VkInstanceCreateInfo* createInfo,
|
||||
const VkAllocationCallbacks*, VkInstance* pInstance) {
|
||||
|
|
|
|||
|
|
@ -178,10 +178,6 @@ class ResourceTracker {
|
|||
void on_vkGetPhysicalDeviceMemoryProperties2KHR(
|
||||
void* context, VkPhysicalDevice physicalDevice,
|
||||
VkPhysicalDeviceMemoryProperties2* pMemoryProperties);
|
||||
void on_vkGetDeviceQueue(void* context, VkDevice device, uint32_t queueFamilyIndex,
|
||||
uint32_t queueIndex, VkQueue* pQueue);
|
||||
void on_vkGetDeviceQueue2(void* context, VkDevice device, const VkDeviceQueueInfo2* pQueueInfo,
|
||||
VkQueue* pQueue);
|
||||
|
||||
VkResult on_vkCreateInstance(void* context, VkResult input_result,
|
||||
const VkInstanceCreateInfo* createInfo,
|
||||
|
|
@ -825,7 +821,7 @@ class ResourceTracker {
|
|||
};
|
||||
|
||||
struct VkQueue_Info {
|
||||
VkDevice device;
|
||||
uint32_t placeholder;
|
||||
};
|
||||
|
||||
// custom guest-side structs for images/buffers because of AHardwareBuffer :((
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue