/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkDebugUtilsMessenger.cpp | 23 , pUserData(pCreateInfo->pUserData) in DebugUtilsMessenger() 38 (*pfnUserCallback)(messageSeverity, messageTypes, pCallbackData, pUserData); in submitMessage()
|
H A D | VkMemory.cpp | 42 return pAllocator->pfnAllocation(pAllocator->pUserData, bytes, alignment, allocationScope); in allocateHostMemory() 55 pAllocator->pfnFree(pAllocator->pUserData, ptr); in freeHostMemory()
|
H A D | VkDebugUtilsMessenger.hpp | 38 void *pUserData = nullptr; member in vk::DebugUtilsMessenger
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkDefs.hpp | 165 typedef VKAPI_ATTR void* (VKAPI_CALL* PFN_vkAllocationFunction) (void* pUserData, 169 typedef VKAPI_ATTR void* (VKAPI_CALL* PFN_vkReallocationFunction) (void* pUserData, 174 typedef VKAPI_ATTR void (VKAPI_CALL* PFN_vkFreeFunction) (void* pUserData, 176 typedef VKAPI_ATTR void (VKAPI_CALL* PFN_vkInternalAllocationNotification) (void* pUserData, 180 typedef VKAPI_ATTR void (VKAPI_CALL* PFN_vkInternalFreeNotification) (void* pUserData, 194 void* pUserData); 203 void* pUserData); 206 void* pUserData);
|
H A D | vkAllocationCallbackUtil.cpp | 65 DE_NULL, // pUserData 80 static VKAPI_ATTR void* VKAPI_CALL allocationCallback (void* pUserData, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in allocationCallback() argument 82 return reinterpret_cast<AllocationCallbacks*>(pUserData)->allocate(size, alignment, allocationScope); in allocationCallback() 85 static VKAPI_ATTR void* VKAPI_CALL reallocationCallback (void* pUserData, void* pOriginal, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in reallocationCallback() argument 87 return reinterpret_cast<AllocationCallbacks*>(pUserData)->reallocate(pOriginal, size, alignment, allocationScope); in reallocationCallback() 90 static VKAPI_ATTR void VKAPI_CALL freeCallback (void* pUserData, void* pMem) in freeCallback() argument 92 reinterpret_cast<AllocationCallbacks*>(pUserData)->free(pMem); in freeCallback() 95 static VKAPI_ATTR void VKAPI_CALL internalAllocationNotificationCallback (void* pUserData, size_t size, VkInternalAllocationType allocationType, VkSystemAllocationScope allocationScope) in internalAllocationNotificationCallback() argument 97 reinterpret_cast<AllocationCallbacks*>(pUserData)->notifyInternalAllocation(size, allocationType, allocationScope); in internalAllocationNotificationCallback() 100 static VKAPI_ATTR void VKAPI_CALL internalFreeNotificationCallback (void* pUserData, size_ argument [all...] |
H A D | vkDebugReportUtil.cpp | 123 void* pUserData) in debugReportCallback() 125 auto recorder = reinterpret_cast<DebugReportRecorder*>(pUserData); in debugReportCallback() 116 debugReportCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, deUint64 object, size_t location, deInt32 messageCode, const char* pLayerPrefix, const char* pMessage, void* pUserData) debugReportCallback() argument
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_alloc.c | 20 vk_default_alloc(void *pUserData, in vk_default_alloc() argument 30 vk_default_realloc(void *pUserData, in vk_default_realloc() argument 41 vk_default_free(void *pUserData, void *pMemory) in vk_default_free() argument
|
H A D | vk_alloc.h | 48 return alloc->pfnAllocation(alloc->pUserData, size, align, scope); in vk_alloc() 70 return alloc->pfnReallocation(alloc->pUserData, ptr, size, align, scope); in vk_realloc() 79 alloc->pfnFree(alloc->pUserData, data); in vk_free()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12MemAlloc.h | 490 delete (CustomAllocData*)allocInfo.pUserData;
562 void* CustomAllocate(size_t Size, size_t Alignment, void* pUserData)
569 void CustomFree(void* pMemory, void* pUserData)
704 typedef void* (*ALLOCATE_FUNC_PTR)(size_t Size, size_t Alignment, void* pUserData);
710 typedef void (*FREE_FUNC_PTR)(void* pMemory, void* pUserData);
719 /// Custom data that will be passed to allocation and deallocation functions as `pUserData` parameter.
720 void* pUserData;
member 1397 void* pUserData;
member 1410 Same value as passed in VIRTUAL_ALLOCATION_DESC::pUserData or VirtualBlock::SetAllocationUserData().
1412 void* pUserData;
member [all...] |
/third_party/vulkan-loader/loader/ |
H A D | allocation.c | 42 pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scope); 59 pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scope); 77 pAllocator->pfnFree(pAllocator->pUserData, pMemory); 97 pNewMem = pAllocator->pfnReallocation(pAllocator->pUserData, pMemory, size, sizeof(uint64_t), allocation_scope);
|
H A D | debug_utils.c | 61 new_dbg_function_node->pUserData = pCreateInfo->pUserData; in util_CreateDebugUtilsMessenger() 99 if (pTrav->messenger.pfnUserCallback(messageSeverity, messageTypes, pCallbackData, pTrav->pUserData)) { in util_SubmitDebugUtilsMessageEXT() 105 pCallbackData->pMessageIdName, pCallbackData->pMessage, pTrav->pUserData)) { in util_SubmitDebugUtilsMessageEXT() 221 new_dbg_func_node->pUserData = pCreateInfo->pUserData; in terminator_CreateDebugUtilsMessengerEXT() 307 new_dbg_func_node->pUserData = pCreateInfo->pUserData; in util_CreateDebugReportCallback() 355 pTrav->pUserData)) { in util_DebugReportMessage() 360 if (pTrav->messenger.pfnUserCallback(severity, types, &callback_data, pTrav->pUserData)) { in util_DebugReportMessage() [all...] |
H A D | vk_loader_layer.h | 48 void *pUserData; member
|
/third_party/vulkan-loader/tests/ |
H A D | loader_alloc_callback_tests.cpp | 143 callbacks.pUserData = this; in settings() 157 static VKAPI_ATTR void* VKAPI_CALL public_allocation(void* pUserData, size_t size, size_t alignment, 159 return reinterpret_cast<MemoryTracker*>(pUserData)->impl_allocation(size, alignment, allocationScope); 161 static VKAPI_ATTR void* VKAPI_CALL public_reallocation(void* pUserData, void* pOriginal, size_t size, size_t alignment, 163 return reinterpret_cast<MemoryTracker*>(pUserData)->impl_reallocation(pOriginal, size, alignment, allocationScope); 165 static VKAPI_ATTR void VKAPI_CALL public_free(void* pUserData, void* pMemory) noexcept { 166 reinterpret_cast<MemoryTracker*>(pUserData)->impl_free(pMemory); 168 static VKAPI_ATTR void VKAPI_CALL public_internal_allocation_notification(void* pUserData, size_t size, 171 reinterpret_cast<MemoryTracker*>(pUserData)->impl_internal_allocation_notification(size, allocationType, allocationScope); 173 static VKAPI_ATTR void VKAPI_CALL public_internal_free(void* pUserData, size_ [all...] |
H A D | loader_debug_ext_tests.cpp | 39 void* pUserData); 76 debug_report_info.pUserData = reinterpret_cast<void*>(this); in CreateReportInstance() 99 debug_report_info.pUserData = reinterpret_cast<void*>(this); in CreateReportCallback() 127 const char* pMessage, void* pUserData) { in test_DebugReportCallback() 128 DebugReportTest* debug_report_test = reinterpret_cast<DebugReportTest*>(pUserData); in test_DebugReportCallback() 413 debug_utils_info.pUserData = reinterpret_cast<void*>(this); in CreateUtilsInstance() 436 debug_utils_info.pUserData = reinterpret_cast<void*>(this); in CreateUtilsMessenger() 124 test_DebugReportCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, [[maybe_unused]] uint64_t object, [[maybe_unused]] size_t location, [[maybe_unused]] int32_t messageCode, [[maybe_unused]] const char* pLayerPrefix, const char* pMessage, void* pUserData) test_DebugReportCallback() argument
|
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/ |
H A D | StackWalker.h | 111 LPVOID pUserData // optional data, which was passed in "ShowCallstack" 120 LPVOID pUserData = NULL // optional to identify some data in the 'readMemoryFunction'-callback
|
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/ |
H A D | main.cpp | 50 static VKAPI_ATTR VkBool32 VKAPI_CALL debug_report(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, void* pUserData) in debug_report() argument 52 (void)flags; (void)object; (void)location; (void)messageCode; (void)pUserData; (void)pLayerPrefix; // Unused arguments in debug_report() 95 debug_report_ci.pUserData = NULL; in SetupVulkan()
|
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/ |
H A D | main.cpp | 58 static VKAPI_ATTR VkBool32 VKAPI_CALL debug_report(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, void* pUserData) in debug_report() argument 60 (void)flags; (void)object; (void)location; (void)messageCode; (void)pUserData; (void)pLayerPrefix; // Unused arguments in debug_report() 103 debug_report_ci.pUserData = NULL; in SetupVulkan()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | BackendVk.cpp | 106 void* /* pUserData */) { in OnDebugUtilsCallback() 121 void* /* pUserData */) { in OnInstanceCreationDebugUtilsCallback() 348 utilsMessengerCreateInfo.pUserData = nullptr; in CreateVkInstance() 385 createInfo.pUserData = nullptr; in RegisterDebugUtils()
|
/third_party/skia/third_party/vulkanmemoryallocator/include/ |
H A D | vk_mem_alloc.h | 516 if(allocInfo.pUserData != nullptr) 1198 To do that, fill VmaAllocationCreateInfo::pUserData field when creating 1211 allocCreateInfo.pUserData = pMetadata; 1218 The pointer may be later retrieved as VmaAllocationInfo::pUserData: 1223 MyBufferMetadata* pMetadata = (MyBufferMetadata*)allocInfo.pUserData; 1228 Values of (non-zero) allocations' `pUserData` are printed in JSON report created by 1233 There is alternative mode available where `pUserData` pointer is used to point to 1236 Then `pUserData` passed as VmaAllocationCreateInfo::pUserData or argument to 1251 allocCreateInfo.pUserData 2105 void* VMA_NULLABLE pUserData; global() member 2784 void* VMA_NULLABLE pUserData; global() member 3120 void* VMA_NULLABLE pUserData; global() member 8475 SetUserData(VmaAllocator hAllocator, void* pUserData) SetUserData() argument 13236 AllocateFromBlock( VmaDeviceMemoryBlock* pBlock, uint32_t currentFrameIndex, VkDeviceSize size, VkDeviceSize alignment, VmaAllocationCreateFlags allocFlags, void* pUserData, VmaSuballocationType suballocType, uint32_t strategy, VmaAllocation* pAllocation) AllocateFromBlock() argument [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_debug_report.c | 66 cb->data = pCreateInfo->pUserData; in VK_DEFINE_NONDISP_HANDLE_CASTS()
|
/third_party/vulkan-loader/tests/framework/layer/ |
H A D | test_layer.cpp | 318 pAllocator->pfnAllocation(pAllocator->pUserData, 100, 8, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); 333 VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT, &data, debug_messenger->pUserData); 377 pAllocator->pfnFree(pAllocator->pUserData, layer.spurious_instance_memory_allocation); 439 void* allocation = pAllocator->pfnAllocation(pAllocator->pUserData, 110, 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); 653 pAllocator->pfnFree(pAllocator->pUserData, allocation.allocation);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiDeviceInitializationTests.cpp | 2449 VKAPI_ATTR void *VKAPI_CALL allocCallbackFunc (void *pUserData, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in allocCallbackFunc() argument 2471 g_allocatedVector[vectorIdx].userData = (deUint64)pUserData; in allocCallbackFunc() 2483 VKAPI_ATTR void VKAPI_CALL freeCallbackFunc (void *pUserData, void *pMemory) in freeCallbackFunc() argument 2485 DE_UNREF(pUserData); in freeCallbackFunc() 2498 VKAPI_ATTR void *VKAPI_CALL reallocCallbackFunc (void *pUserData, void *pOriginal, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in reallocCallbackFunc() argument 2508 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc() 2515 void *pNew = allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc() 2525 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc() 2534 return allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiDeviceInitializationTests.cpp | 2460 VKAPI_ATTR void *VKAPI_CALL allocCallbackFunc (void *pUserData, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in allocCallbackFunc() argument 2482 g_allocatedVector[vectorIdx].userData = (deUint64)pUserData; in allocCallbackFunc() 2494 VKAPI_ATTR void VKAPI_CALL freeCallbackFunc (void *pUserData, void *pMemory) in freeCallbackFunc() argument 2496 DE_UNREF(pUserData); in freeCallbackFunc() 2509 VKAPI_ATTR void *VKAPI_CALL reallocCallbackFunc (void *pUserData, void *pOriginal, size_t size, size_t alignment, VkSystemAllocationScope allocationScope) in reallocCallbackFunc() argument 2519 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc() 2526 void *pNew = allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc() 2536 freeCallbackFunc(pUserData, pOriginal); in reallocCallbackFunc() 2545 return allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkAMDMemoryAllocator.cpp | 203 info.pUserData = nullptr; in allocateImageMemory() 267 info.pUserData = nullptr; in allocateBufferMemory()
|
/third_party/vulkan-loader/tests/framework/ |
H A D | test_environment.h | 345 const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, void* pUserData) { in DebugUtilsMessengerLoggerCallback() 346 DebugUtilsLogger* debug = reinterpret_cast<DebugUtilsLogger*>(pUserData); in DebugUtilsMessengerLoggerCallback() 362 create_info.pUserData = this; in DebugUtilsLogger()
|