Lines Matching refs:HKEY
229 #define HKEY(obj) ((uint64_t)(obj)) macro
230 #define FIND(type, obj) ((type *)find_object_data(HKEY(obj)))
332 map_object(HKEY(data->instance), data); in new_instance_data()
342 unmap_object(HKEY(data->instance)); in destroy_instance_data()
361 map_object(HKEY(physicalDevices[i]), instance_data); in instance_data_map_physical_devices()
363 unmap_object(HKEY(physicalDevices[i])); in instance_data_map_physical_devices()
375 map_object(HKEY(data->device), data); in new_device_data()
391 map_object(HKEY(data->queue), data); in new_queue_data()
412 unmap_object(HKEY(data->queue)); in destroy_queue()
461 unmap_object(HKEY(data->device)); in destroy_device_data()
481 map_object(HKEY(data->cmd_buffer), data); in new_command_buffer_data()
487 unmap_object(HKEY(data->cmd_buffer)); in destroy_command_buffer_data()
502 map_object(HKEY(data->swapchain), data); in new_swapchain_data()
508 unmap_object(HKEY(data->swapchain)); in destroy_swapchain_data()
2370 map_object(HKEY(pipeline_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers()
2372 map_object(HKEY(timestamp_query_pool), (void *)(uintptr_t) pAllocateInfo->commandBufferCount); in overlay_AllocateCommandBuffers()
2392 uint64_t count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2394 unmap_object(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2398 map_object(HKEY(cmd_buffer_data->pipeline_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2400 count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2402 unmap_object(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2406 map_object(HKEY(cmd_buffer_data->timestamp_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()