Home
last modified time | relevance | path

Searched refs:pMemory (Results 1 – 20 of 20) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_alloc.c41 vk_default_free(void *pUserData, void *pMemory) in vk_default_free() argument
43 free(pMemory); in vk_default_free()
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h45 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) { in vkAllocateMemory() argument
46 return mDgs->on_vkAllocateMemory(mBp, device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.h188 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
643 VkEncoder* enc, VkDeviceMemory* pMemory);
646 VkDevice device, VkDeviceMemory* pMemory);
DResourceTracker.cpp2983 VkEncoder* enc, VkDeviceMemory* pMemory) { in allocateCoherentMemory() argument
3122 *pMemory = mem; in allocateCoherentMemory()
3135 *pMemory = mem; in allocateCoherentMemory()
3146 VkDeviceMemory* pMemory) { in getCoherentMemory() argument
3196 *pMemory = mem; in getCoherentMemory()
3200 return allocateCoherentMemory(device, pAllocateInfo, enc, pMemory); in getCoherentMemory()
3206 VkDeviceMemory* pMemory) { in on_vkAllocateMemory() argument
3220 uint64_t memoryObjectId = (uint64_t)(void*)*pMemory; \ in on_vkAllocateMemory()
3228 VK_OBJECT_TYPE_DEVICE_MEMORY, (uint64_t)(void*)*pMemory, \ in on_vkAllocateMemory()
3853 enc->vkAllocateMemory(device, &finalAllocInfo, pAllocator, pMemory, true /* do lock */); in on_vkAllocateMemory()
[all …]
DVkEncoder.h111 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory,
DVkEncoder.cpp2656 VkDeviceMemory* pMemory, uint32_t doLock) { in vkAllocateMemory() argument
2685 device, pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory()
2770 *&cgen_var_2 = (uint64_t)((*pMemory)); in vkAllocateMemory()
2783 stream->handleMapping()->mapHandles_u64_VkDeviceMemory(&cgen_var_3, (VkDeviceMemory*)pMemory, in vkAllocateMemory()
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp644 VkDeviceMemory* pMemory) { in gfxstream_vk_AllocateMemory() argument
663 pAllocateInfo, pAllocator, pMemory); in gfxstream_vk_AllocateMemory()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp4180 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) { in on_vkAllocateMemory() argument
4509 VkResult result = vk->vkAllocateMemory(device, &localAllocInfo, pAllocator, pMemory); in on_vkAllocateMemory()
4534 mMemoryInfo[*pMemory] = MemoryInfo(); in on_vkAllocateMemory()
4535 auto& memoryInfo = mMemoryInfo[*pMemory]; in on_vkAllocateMemory()
4550 *pMemory = new_boxed_non_dispatchable_VkDeviceMemory(*pMemory); in on_vkAllocateMemory()
4581 vk->vkMapMemory(device, *pMemory, 0, memoryInfo.size, 0, &memoryInfo.ptr); in on_vkAllocateMemory()
4583 freeMemoryLocked(vk, device, *pMemory, pAllocator); in on_vkAllocateMemory()
4584 *pMemory = VK_NULL_HANDLE; in on_vkAllocateMemory()
4603 *pMemory = new_boxed_non_dispatchable_VkDeviceMemory(*pMemory); in on_vkAllocateMemory()
8310 VkDeviceMemory* pMemory) { in on_vkAllocateMemory() argument
[all …]
DVkDecoderSnapshot.cpp200 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) { in vkAllocateMemory() argument
201 if (!pMemory) return; in vkAllocateMemory()
204 mReconstruction.addHandles((const uint64_t*)pMemory, 1); in vkAllocateMemory()
205 mReconstruction.addHandleDependency((const uint64_t*)pMemory, 1, in vkAllocateMemory()
212 (const uint64_t*)pMemory, 1, in vkAllocateMemory()
218 (const uint64_t*)pMemory, 1, in vkAllocateMemory()
227 mReconstruction.forEachHandleAddApi((const uint64_t*)pMemory, 1, apiHandle, in vkAllocateMemory()
229 mReconstruction.setCreatedHandlesForApi(apiHandle, (const uint64_t*)pMemory, 1); in vkAllocateMemory()
3980 VkDeviceMemory* pMemory) { in vkAllocateMemory() argument
3982 pAllocateInfo, pAllocator, pMemory); in vkAllocateMemory()
DVkDecoderGlobalState.h402 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
DVkDecoder.cpp1632 VkDeviceMemory* pMemory; in decode() local
1654 vkReadStream->alloc((void**)&pMemory, sizeof(VkDeviceMemory)); in decode()
1658 *(VkDeviceMemory*)pMemory = in decode()
1672 (unsigned long long)pAllocator, (unsigned long long)pMemory); in decode()
1676 &m_pool, device, pAllocateInfo, pAllocator, pMemory); in decode()
1688 vkStream->handleMapping()->mapHandles_VkDeviceMemory((VkDeviceMemory*)pMemory, 1); in decode()
1689 vkStream->write((VkDeviceMemory*)pMemory, 8 * 1); in decode()
1701 pMemory); in decode()
DVkDecoderSnapshot.h146 const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWI.cpp5012 QCameraMemory *pMemory = pStream->getStreamBufs(); in takePicture() local
5013 if (!pMemory) { in takePicture()
5019 while (!pMemory->checkIfAllBuffersMapped() && (waitCnt > 0)) { in takePicture()
5027 assert(pMemory->checkIfAllBuffersMapped()); in takePicture()
5859 QCameraMemory *pMemory = pStream->getStreamBufs(); in takeLiveSnapshot_internal() local
5860 if (!pMemory) { in takeLiveSnapshot_internal()
5866 while (!pMemory->checkIfAllBuffersMapped() && (waitCnt > 0)) { in takeLiveSnapshot_internal()
5874 assert(pMemory->checkIfAllBuffersMapped()); in takeLiveSnapshot_internal()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dmemory.adoc213 parameter value, and pname:pMemory equal to pname:pOriginal.
236 * pname:pMemory is the allocation to be freed.
238 pname:pMemory may: be `NULL`, which the callback must: handle safely.
239 If pname:pMemory is non-`NULL`, it must: be a pointer previously allocated
1046 * pname:pMemory is a pointer to a slink:VkDeviceMemory handle in which
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dvulkan_printer.py22 pMemory = printer.write_int("pMemory", 8, indent, optional=False, count=None, big_endian=False)
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc.hpp1138 …AllocateInfo, const VkAllocationCallbacks * pAllocator, VkDeviceMemory * pMemory ) const VULKAN_HP… in vkAllocateMemory()
1140 return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); in vkAllocateMemory()
Dvulkansc_funcs.hpp756 …::AllocationCallbacks * pAllocator, VULKAN_HPP_NAMESPACE::DeviceMemory * pMemory, Dispatch const &… in allocateMemory() argument
759 …st<const VkAllocationCallbacks *>( pAllocator ), reinterpret_cast<VkDeviceMemory *>( pMemory ) ) ); in allocateMemory()
Dvulkan.hpp1139 …AllocateInfo, const VkAllocationCallbacks * pAllocator, VkDeviceMemory * pMemory ) const VULKAN_HP… in vkAllocateMemory()
1141 return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory ); in vkAllocateMemory()
Dvulkansc_handles.hpp4383 …::AllocationCallbacks * pAllocator, VULKAN_HPP_NAMESPACE::DeviceMemory * pMemory, Dispatch const &…
/hardware/google/gfxstream/guest/mesa/include/vulkan/
Dvulkan_core.h2939 void* pMemory);
3969 …moryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
4192 VkDeviceMemory* pMemory);