/hardware/google/gfxstream/host/vulkan/cereal/common/ |
D | goldfish_vk_deepcopy.cpp | 45 void deepcopy_extension_struct(Allocator* alloc, VkStructureType rootType, 49 void deepcopy_VkExtent2D(Allocator* alloc, VkStructureType rootType, const VkExtent2D* from, in deepcopy_VkExtent2D() argument 51 (void)alloc; in deepcopy_VkExtent2D() 56 void deepcopy_VkExtent3D(Allocator* alloc, VkStructureType rootType, const VkExtent3D* from, in deepcopy_VkExtent3D() argument 58 (void)alloc; in deepcopy_VkExtent3D() 63 void deepcopy_VkOffset2D(Allocator* alloc, VkStructureType rootType, const VkOffset2D* from, in deepcopy_VkOffset2D() argument 65 (void)alloc; in deepcopy_VkOffset2D() 70 void deepcopy_VkOffset3D(Allocator* alloc, VkStructureType rootType, const VkOffset3D* from, in deepcopy_VkOffset3D() argument 72 (void)alloc; in deepcopy_VkOffset3D() 77 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from, in deepcopy_VkRect2D() argument [all …]
|
D | goldfish_vk_deepcopy.h | 47 void deepcopy_VkExtent2D(Allocator* alloc, VkStructureType rootType, const VkExtent2D* from, 50 void deepcopy_VkExtent3D(Allocator* alloc, VkStructureType rootType, const VkExtent3D* from, 53 void deepcopy_VkOffset2D(Allocator* alloc, VkStructureType rootType, const VkOffset2D* from, 56 void deepcopy_VkOffset3D(Allocator* alloc, VkStructureType rootType, const VkOffset3D* from, 59 void deepcopy_VkRect2D(Allocator* alloc, VkStructureType rootType, const VkRect2D* from, 62 void deepcopy_VkBaseInStructure(Allocator* alloc, VkStructureType rootType, 65 void deepcopy_VkBaseOutStructure(Allocator* alloc, VkStructureType rootType, 68 void deepcopy_VkBufferMemoryBarrier(Allocator* alloc, VkStructureType rootType, 71 void deepcopy_VkDispatchIndirectCommand(Allocator* alloc, VkStructureType rootType, 75 void deepcopy_VkDrawIndexedIndirectCommand(Allocator* alloc, VkStructureType rootType, [all …]
|
D | goldfish_vk_reserved_marshaling.cpp | 107 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in reservedunmarshal_VkBaseInStructure() 111 vkStream->alloc((void**)&forUnmarshaling->pNext, in reservedunmarshal_VkBaseInStructure() 133 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in reservedunmarshal_VkBaseOutStructure() 137 vkStream->alloc((void**)&forUnmarshaling->pNext, in reservedunmarshal_VkBaseOutStructure() 160 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in reservedunmarshal_VkBufferMemoryBarrier() 164 vkStream->alloc((void**)&forUnmarshaling->pNext, in reservedunmarshal_VkBufferMemoryBarrier() 257 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in reservedunmarshal_VkImageMemoryBarrier() 261 vkStream->alloc((void**)&forUnmarshaling->pNext, in reservedunmarshal_VkImageMemoryBarrier() 301 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in reservedunmarshal_VkMemoryBarrier() 305 vkStream->alloc((void**)&forUnmarshaling->pNext, in reservedunmarshal_VkMemoryBarrier() [all …]
|
D | goldfish_vk_marshaling.cpp | 146 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in unmarshal_VkBaseInStructure() 149 vkStream->alloc((void**)&forUnmarshaling->pNext, in unmarshal_VkBaseInStructure() 178 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in unmarshal_VkBaseOutStructure() 181 vkStream->alloc((void**)&forUnmarshaling->pNext, in unmarshal_VkBaseOutStructure() 219 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in unmarshal_VkBufferMemoryBarrier() 222 vkStream->alloc((void**)&forUnmarshaling->pNext, in unmarshal_VkBufferMemoryBarrier() 346 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in unmarshal_VkImageMemoryBarrier() 349 vkStream->alloc((void**)&forUnmarshaling->pNext, in unmarshal_VkImageMemoryBarrier() 392 vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType)); in unmarshal_VkMemoryBarrier() 395 vkStream->alloc((void**)&forUnmarshaling->pNext, in unmarshal_VkMemoryBarrier() [all …]
|
/hardware/google/aemu/host-common/ |
D | address_space_graphics.cpp | 160 auto buf = block.subAlloc->alloc(create.size); in newAllocation() 179 auto buf = newBlock.subAlloc->alloc(create.size); in newAllocation() 202 void deleteAllocation(const Allocation& alloc, std::vector<Block>& existingBlocks) { in deleteAllocation() argument 203 if (!alloc.buffer) return; in deleteAllocation() 207 if (existingBlocks.size() <= alloc.blockIndex) { in deleteAllocation() 210 "but it is not found", alloc.blockIndex); in deleteAllocation() 213 auto& block = existingBlocks[alloc.blockIndex]; in deleteAllocation() 220 if (!block.subAlloc->free(alloc.buffer)) { in deleteAllocation() 223 alloc.buffer, in deleteAllocation() 238 void freeRingStorage(const Allocation& alloc) { in freeRingStorage() argument [all …]
|
/hardware/google/aemu/base/ |
D | SubAllocator_unittest.cpp | 75 void* ptr = subAlloc.alloc(trySize); in TEST() 120 void* ptr = subAlloc.alloc(pageSize); in TEST() 181 void* ptr = subAlloc.alloc(allocSize); in TEST() 217 (uint8_t*)subAlloc.alloc(16), in TEST() 218 (uint8_t*)subAlloc.alloc(8), in TEST() 219 (uint8_t*)subAlloc.alloc(32), in TEST() 220 (uint8_t*)subAlloc.alloc(64), in TEST() 221 (uint8_t*)subAlloc.alloc(8), in TEST() 222 (uint8_t*)subAlloc.alloc(128), in TEST() 226 bufs[3] = (uint8_t*)subAlloc.alloc(24); in TEST() [all …]
|
/hardware/google/aemu/base/include/aemu/base/ |
D | Allocator.h | 22 virtual void* alloc(size_t wantedSize) = 0; 29 void* res = alloc(bytes); in allocArray() 35 void* res = alloc(bytes); in strDup() 52 void* res = alloc(bytes); in dupArray()
|
D | SubAllocator.h | 47 void* alloc(size_t wantedSize); 61 void* res = alloc(bytes); in allocArray() 67 void* res = alloc(bytes); in strDup() 84 void* res = alloc(bytes); in dupArray()
|
D | Pool.h | 50 void* alloc(size_t wantedSize) override;
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | Allocator.h | 31 virtual void* alloc(size_t wantedSize) = 0; 38 void* res = alloc(bytes); in allocArray() 44 void* res = alloc(bytes); in strDup() 61 void* res = alloc(bytes); in dupArray()
|
D | Pool.cpp | 140 void* alloc() { in alloc() function 237 void* alloc() { in alloc() function in gfxstream::guest::Heap 238 return mBlock.alloc(); in alloc() 307 void* alloc(size_t wantedSize) { in alloc() function in gfxstream::guest::Pool::Impl 329 return heap->alloc(); in alloc() 400 void* Pool::alloc(size_t wantedSize) { in alloc() function in gfxstream::guest::Pool 401 void* ptr = mImpl->alloc(wantedSize); in alloc()
|
D | Pool.h | 50 void* alloc(size_t wantedSize) override;
|
/hardware/google/gfxstream/host/vulkan/ |
D | VulkanStream.cpp | 51 void VulkanStream::alloc(void** ptrAddr, size_t bytes) { in alloc() function in gfxstream::vk::VulkanStream 57 *ptrAddr = mPool.alloc(bytes); in alloc() 67 alloc((void**)forOutput, len + 1); in loadStringInPlace() 82 alloc((void**)forOutput, count * sizeof(char*)); in loadStringArrayInPlace() 102 alloc((void**)forOutput, len + 1); in loadStringInPlaceWithStreamPtr() 122 alloc((void**)forOutput, count * sizeof(char*)); in loadStringArrayInPlaceWithStreamPtr()
|
D | VkDecoder.cpp | 233 vkReadStream->alloc((void**)&pCreateInfo, sizeof(const VkInstanceCreateInfo)); in decode() 242 vkReadStream->alloc((void**)&pAllocator, sizeof(const VkAllocationCallbacks)); in decode() 249 vkReadStream->alloc((void**)&pInstance, sizeof(VkInstance)); in decode() 307 vkReadStream->alloc((void**)&pAllocator, sizeof(const VkAllocationCallbacks)); in decode() 353 vkReadStream->alloc((void**)&pPhysicalDeviceCount, sizeof(uint32_t)); in decode() 364 vkReadStream->alloc((void**)&pPhysicalDevices, in decode() 412 vkStream->alloc((void**)&cgen_var_4_0, (*(pPhysicalDeviceCount)) * 8); in decode() 449 vkReadStream->alloc((void**)&pFeatures, sizeof(VkPhysicalDeviceFeatures)); in decode() 500 vkReadStream->alloc((void**)&pFormatProperties, sizeof(VkFormatProperties)); in decode() 566 vkReadStream->alloc((void**)&pImageFormatProperties, in decode() [all …]
|
/hardware/google/gfxstream/host/renderControl_dec/ |
D | renderControl_dec.cpp | 52 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 75 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 102 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 127 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 150 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 174 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 201 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 223 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 245 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 280 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() [all …]
|
/hardware/google/gfxstream/guest/GLESv1_enc/ |
D | gl_enc.cpp | 45 buf = stream->alloc(totalSize); in glAlphaFunc_enc() 73 buf = stream->alloc(totalSize); in glClearColor_enc() 103 buf = stream->alloc(totalSize); in glClearDepthf_enc() 131 buf = stream->alloc(totalSize); in glClipPlanef_enc() 160 buf = stream->alloc(totalSize); in glColor4f_enc() 190 buf = stream->alloc(totalSize); in glDepthRangef_enc() 218 buf = stream->alloc(totalSize); in glFogf_enc() 247 buf = stream->alloc(totalSize); in glFogfv_enc() 276 buf = stream->alloc(totalSize); in glFrustumf_enc() 309 buf = stream->alloc(totalSize); in glGetClipPlanef_enc() [all …]
|
/hardware/interfaces/media/bufferpool/aidl/default/tests/ |
D | allocator.cpp | 113 AllocationDtor(const std::shared_ptr<AllocationAshmem> &alloc) in AllocationDtor() 114 : mAlloc(alloc) {} in AllocationDtor() 144 std::shared_ptr<BufferPoolAllocation> *alloc, in allocate() argument 155 *alloc = std::shared_ptr<BufferPoolAllocation>(ptr, AllocationDtor(ashmemAlloc)); in allocate() 156 if (*alloc) { in allocate()
|
/hardware/google/gfxstream/host/magma/magma_dec/ |
D | magma_dec.cpp | 53 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 93 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 127 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 157 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 192 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 214 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 257 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 304 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 334 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() 377 unsigned char *tmpBuf = stream->alloc(totalTmpSize); in decode() [all …]
|
/hardware/google/gfxstream/guest/GLESv2_enc/ |
D | gl2_enc.cpp | 45 buf = stream->alloc(totalSize); in glActiveTexture_enc() 72 buf = stream->alloc(totalSize); in glAttachShader_enc() 101 buf = stream->alloc(totalSize); in glBindAttribLocation_enc() 131 buf = stream->alloc(totalSize); in glBindBuffer_enc() 159 buf = stream->alloc(totalSize); in glBindFramebuffer_enc() 187 buf = stream->alloc(totalSize); in glBindRenderbuffer_enc() 215 buf = stream->alloc(totalSize); in glBindTexture_enc() 243 buf = stream->alloc(totalSize); in glBlendColor_enc() 273 buf = stream->alloc(totalSize); in glBlendEquation_enc() 300 buf = stream->alloc(totalSize); in glBlendEquationSeparate_enc() [all …]
|
/hardware/interfaces/automotive/evs/1.0/default/ |
D | EvsDisplay.cpp | 75 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 76 alloc.free(mBuffer.memHandle); in forceShutdown() 168 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local 169 status_t result = alloc.allocate( in getTargetBuffer()
|
D | EvsCamera.cpp | 90 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 95 alloc.free(rec.handle); in forceShutdown() 308 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 314 status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, in increaseAvailableFrames_Locked() 351 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 359 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
/hardware/google/gfxstream/guest/renderControl_enc/ |
D | renderControl_enc.cpp | 45 buf = stream->alloc(totalSize); in rcGetRendererVersion_enc() 88 buf = stream->alloc(totalSize); in rcGetEGLVersion_enc() 136 buf = stream->alloc(totalSize); in rcQueryEGLString_enc() 183 buf = stream->alloc(totalSize); in rcGetGLString_enc() 230 buf = stream->alloc(totalSize); in rcGetNumConfigs_enc() 275 buf = stream->alloc(totalSize); in rcGetConfigs_enc() 322 buf = stream->alloc(totalSize); in rcChooseConfig_enc() 372 buf = stream->alloc(totalSize); in rcGetFBParam_enc() 414 buf = stream->alloc(totalSize); in rcCreateContext_enc() 458 buf = stream->alloc(totalSize); in rcDestroyContext_enc() [all …]
|
/hardware/google/gfxstream/guest/magma/magma_enc/ |
D | magma_enc.cpp | 48 buf = stream->alloc(totalSize); in magma_device_import_enc() 93 buf = stream->alloc(totalSize); in magma_device_release_enc() 122 buf = stream->alloc(totalSize); in magma_device_query_enc() 174 buf = stream->alloc(totalSize); in magma_device_query_fudge_enc() 230 buf = stream->alloc(totalSize); in magma_device_create_connection_enc() 275 buf = stream->alloc(totalSize); in magma_connection_release_enc() 302 buf = stream->alloc(totalSize); in magma_connection_get_error_enc() 345 buf = stream->alloc(totalSize); in magma_connection_create_context_enc() 390 buf = stream->alloc(totalSize); in magma_connection_release_context_enc() 421 buf = stream->alloc(totalSize); in magma_connection_create_buffer_enc() [all …]
|
/hardware/google/aemu/host-common/include/host-common/ |
D | address_space_graphics.h | 76 void saveAllocation(base::Stream* stream, const Allocation& alloc) const; 80 void loadAllocation(base::Stream* stream, Allocation& alloc);
|
/hardware/interfaces/automotive/evs/1.1/default/ |
D | EvsDisplay.cpp | 84 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 85 alloc.free(mBuffer.memHandle); in forceShutdown() 206 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local 207 status_t result = alloc.allocate(mBuffer.width, mBuffer.height, mBuffer.format, 1, in getTargetBuffer()
|