Lines Matching refs:HKEY
226 #define HKEY(obj) ((uint64_t)(obj)) macro
227 #define FIND(type, obj) ((type *)find_object_data(HKEY(obj)))
329 map_object(HKEY(data->instance), data); in new_instance_data()
339 unmap_object(HKEY(data->instance)); in destroy_instance_data()
358 map_object(HKEY(physicalDevices[i]), instance_data); in instance_data_map_physical_devices()
360 unmap_object(HKEY(physicalDevices[i])); in instance_data_map_physical_devices()
372 map_object(HKEY(data->device), data); in new_device_data()
388 map_object(HKEY(data->queue), data); in new_queue_data()
409 unmap_object(HKEY(data->queue)); in destroy_queue()
458 unmap_object(HKEY(data->device)); in destroy_device_data()
478 map_object(HKEY(data->cmd_buffer), data); in new_command_buffer_data()
484 unmap_object(HKEY(data->cmd_buffer)); in destroy_command_buffer_data()
499 map_object(HKEY(data->swapchain), data); in new_swapchain_data()
505 unmap_object(HKEY(data->swapchain)); in destroy_swapchain_data()
2361 map_object(HKEY(pipeline_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers()
2363 map_object(HKEY(timestamp_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers()
2383 uint64_t count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2385 unmap_object(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2389 map_object(HKEY(cmd_buffer_data->pipeline_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2391 count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2393 unmap_object(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2397 map_object(HKEY(cmd_buffer_data->timestamp_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()