Home
last modified time | relevance | path

Searched refs:pUserData (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDefs.hpp165 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);
DvkAllocationCallbackUtil.cpp80 static VKAPI_ATTR void* VKAPI_CALL allocationCallback (void* pUserData, size_t size, size_t alignme… in allocationCallback() argument
82 …return reinterpret_cast<AllocationCallbacks*>(pUserData)->allocate(size, alignment, allocationScop… in allocationCallback()
85 static VKAPI_ATTR void* VKAPI_CALL reallocationCallback (void* pUserData, void* pOriginal, size_t s… in reallocationCallback() argument
87 …return reinterpret_cast<AllocationCallbacks*>(pUserData)->reallocate(pOriginal, size, alignment, a… 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 s… in internalAllocationNotificationCallback() argument
97 …reinterpret_cast<AllocationCallbacks*>(pUserData)->notifyInternalAllocation(size, allocationType, … in internalAllocationNotificationCallback()
100 static VKAPI_ATTR void VKAPI_CALL internalFreeNotificationCallback (void* pUserData, size_t size, V… in internalFreeNotificationCallback() argument
102 …reinterpret_cast<AllocationCallbacks*>(pUserData)->notifyInternalFree(size, allocationType, alloca… in internalFreeNotificationCallback()
[all …]
DvkDebugReportUtil.cpp123 void* pUserData) in debugReportCallback() argument
125 auto recorder = reinterpret_cast<DebugReportRecorder*>(pUserData); in debugReportCallback()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDebugUtilsMessenger.cpp23 , pUserData(pCreateInfo->pUserData) in DebugUtilsMessenger()
38 (*pfnUserCallback)(messageSeverity, messageTypes, pCallbackData, pUserData); in submitMessage()
DVkMemory.cpp42 return pAllocator->pfnAllocation(pAllocator->pUserData, bytes, alignment, allocationScope); in allocateHostMemory()
55 pAllocator->pfnFree(pAllocator->pUserData, ptr); in freeHostMemory()
DVkDebugUtilsMessenger.hpp38 void *pUserData = nullptr; member in vk::DebugUtilsMessenger
/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.c20 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
Dvk_alloc.h48 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/vulkan-loader/loader/
Ddebug_utils.c62 pNewDbgFuncNode->pUserData = pCreateInfo->pUserData; in util_CreateDebugUtilsMessenger()
98 …pTrav->messenger.pfnUserCallback(messageSeverity, messageTypes, pCallbackData, pTrav->pUserData)) { in util_SubmitDebugUtilsMessageEXT()
104 … pCallbackData->pMessageIdName, pCallbackData->pMessage, pTrav->pUserData)) { in util_SubmitDebugUtilsMessageEXT()
218 pNewDbgFuncNode->pUserData = pCreateInfo->pUserData; in terminator_CreateDebugUtilsMessengerEXT()
304 pNewDbgFuncNode->pUserData = pCreateInfo->pUserData; in util_CreateDebugReportCallback()
350 pTrav->pUserData)) { in util_DebugReportMessage()
355 … if (pTrav->messenger.pfnUserCallback(severity, types, &callback_data, pTrav->pUserData)) { in util_DebugReportMessage()
470 pNewDbgFuncNode->pUserData = pCreateInfo->pUserData; in terminator_CreateDebugReportCallbackEXT()
Dallocation.c42 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop…
59 …pMemory = pAllocator->pfnAllocation(pAllocator->pUserData, size, sizeof(uint64_t), allocation_scop…
77 pAllocator->pfnFree(pAllocator->pUserData, pMemory);
97 …pNewMem = pAllocator->pfnReallocation(pAllocator->pUserData, pMemory, size, sizeof(uint64_t), allo…
Dvk_loader_layer.h48 void *pUserData; member
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12MemAlloc.h704 typedef void* (*ALLOCATE_FUNC_PTR)(size_t Size, size_t Alignment, void* pUserData);
710 typedef void (*FREE_FUNC_PTR)(void* pMemory, void* pUserData);
720 void* pUserData; member
1397 void* pUserData; member
1412 void* pUserData; member
1453 void SetAllocationUserData(UINT64 offset, void* pUserData);
/third_party/vulkan-loader/tests/
Dloader_alloc_callback_tests.cpp160 callbacks.pUserData = this; in MemoryTracker()
177 …static VKAPI_ATTR void* VKAPI_CALL public_allocation(void* pUserData, size_t size, size_t alignmen… in public_allocation() argument
179 …return reinterpret_cast<MemoryTracker*>(pUserData)->impl_allocation(size, alignment, allocationSco… in public_allocation()
181 …static VKAPI_ATTR void* VKAPI_CALL public_reallocation(void* pUserData, void* pOriginal, size_t si… in public_reallocation() argument
183 …return reinterpret_cast<MemoryTracker*>(pUserData)->impl_reallocation(pOriginal, size, alignment, … in public_reallocation()
185 static VKAPI_ATTR void VKAPI_CALL public_free(void* pUserData, void* pMemory) noexcept { in public_free() argument
186 reinterpret_cast<MemoryTracker*>(pUserData)->impl_free(pMemory); in public_free()
188 …static VKAPI_ATTR void VKAPI_CALL public_internal_allocation_notification(void* pUserData, size_t … in public_internal_allocation_notification() argument
191 …reinterpret_cast<MemoryTracker*>(pUserData)->impl_internal_allocation_notification(size, allocatio… in public_internal_allocation_notification()
193 …static VKAPI_ATTR void VKAPI_CALL public_internal_free(void* pUserData, size_t size, VkInternalAll… in public_internal_free() argument
[all …]
Dloader_debug_ext_tests.cpp39 const char* pMessage, void* pUserData);
76 debug_report_info.pUserData = reinterpret_cast<void*>(this); in CreateReportInstance()
99 debug_report_info.pUserData = reinterpret_cast<void*>(this); in CreateReportCallback()
126 const char* pMessage, void* pUserData) { in test_DebugReportCallback() argument
127 DebugReportTest* debug_report_test = reinterpret_cast<DebugReportTest*>(pUserData); in test_DebugReportCallback()
412 debug_utils_info.pUserData = reinterpret_cast<void*>(this); in CreateUtilsInstance()
435 debug_utils_info.pUserData = reinterpret_cast<void*>(this); in CreateUtilsMessenger()
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/
DStackWalker.h111 LPVOID pUserData // optional data, which was passed in "ShowCallstack"
120 LPVOID pUserData = NULL // optional to identify some data in the 'readMemoryFunction'-callback
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_debug_report.txt62 NULL // pUserData
70 callback.pUserData = NULL;
80 NULL // pUserData
DVK_EXT_debug_report.adoc63 .pUserData = NULL
71 callback.pUserData = NULL;
81 .pUserData = NULL
/third_party/vulkan-loader/tests/framework/
Dtest_environment.h187 void* pUserData) { in DebugUtilsMessengerLoggerCallback()
188 DebugUtilsLogger* debug = reinterpret_cast<DebugUtilsLogger*>(pUserData); in DebugUtilsMessengerLoggerCallback()
204 create_info.pUserData = this;
/third_party/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.cpp115 info.pUserData = nullptr; in allocateImageMemory()
146 info.pUserData = nullptr; in allocateBufferMemory()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_vulkan/
Dmain.cpp58 …e_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;… in debug_report()
103 debug_report_ci.pUserData = NULL; in SetupVulkan()
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h2083 void* VMA_NULLABLE pUserData);
2090 void* VMA_NULLABLE pUserData);
2105 void* VMA_NULLABLE pUserData; member
2778 void* VMA_NULLABLE pUserData; member
3114 void* VMA_NULLABLE pUserData; member
3272 void* VMA_NULLABLE pUserData);
4637 pAllocationCallbacks->pUserData, in VmaMalloc()
4653 (*pAllocationCallbacks->pfnFree)(pAllocationCallbacks->pUserData, ptr); in VmaFree()
6011 void SetUserData(VmaAllocator hAllocator, void* pUserData);
6962 void* pUserData,
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_sdl_vulkan/
Dmain.cpp50 …e_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;… in debug_report()
95 debug_report_ci.pUserData = NULL; in SetupVulkan()
/third_party/vulkan-loader/tests/framework/layer/
Dtest_layer.cpp189 … pAllocator->pfnAllocation(pAllocator->pUserData, 100, 8, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in test_vkCreateInstance()
205 pAllocator->pfnFree(pAllocator->pUserData, layer.spurious_instance_memory_allocation); in test_vkDestroyInstance()
251 …void* allocation = pAllocator->pfnAllocation(pAllocator->pUserData, 110, 8, VK_SYSTEM_ALLOCATION_S… in test_vkCreateDevice()
453 pAllocator->pfnFree(pAllocator->pUserData, allocation.allocation); in test_vkDestroyDevice()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp348 utilsMessengerCreateInfo.pUserData = nullptr; in CreateVkInstance()
385 createInfo.pUserData = nullptr; in RegisterDebugUtils()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_debug_report.c66 cb->data = pCreateInfo->pUserData; in VK_DEFINE_NONDISP_HANDLE_CASTS()

1234