Searched refs:host_memory_allocator (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish-opengl/system/hals/ |
D | allocator3.cpp | 337 GoldfishAddressSpaceHostMemoryAllocator host_memory_allocator( in allocateCb() local 339 if (!host_memory_allocator.is_opened()) { in allocateCb() 344 if (host_memory_allocator.hostMalloc(&bufferBits, bufferSize)) { in allocateCb() 380 host_memory_allocator.release(), in allocateCb()
|
D | mapper3.cpp | 82 GoldfishAddressSpaceHostMemoryAllocator host_memory_allocator(false); in GoldfishMapper() local 83 CRASH_IF(!host_memory_allocator.is_opened(), in GoldfishMapper() 87 CRASH_IF(host_memory_allocator.hostMalloc(&bufferBits, 256), in GoldfishMapper() 92 host_memory_allocator.hostFree(&bufferBits); in GoldfishMapper()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_30.cpp | 788 GoldfishAddressSpaceHostMemoryAllocator host_memory_allocator(false); in goldfish_address_space_host_malloc_buffer_manager_t() local 789 CRASH_IF(!host_memory_allocator.is_opened(), in goldfish_address_space_host_malloc_buffer_manager_t() 793 CRASH_IF(host_memory_allocator.hostMalloc(&bufferBits, 256), in goldfish_address_space_host_malloc_buffer_manager_t() 812 GoldfishAddressSpaceHostMemoryAllocator host_memory_allocator( in alloc_buffer() local 814 if (!host_memory_allocator.is_opened()) { RETURN_ERROR_CODE(-EIO); } in alloc_buffer() 817 if (host_memory_allocator.hostMalloc(&bufferBits, bufferSize)) { RETURN_ERROR_CODE(-EIO); } in alloc_buffer() 845 host_memory_allocator.release(), hostHandleRefCountFd, in alloc_buffer()
|
D | gralloc_old.cpp | 195 : host_memory_allocator( in gralloc_dmaregion_t() 204 host_memory_allocator.hostMalloc(&address_space_block, sz); in gralloc_dmaregion_t() 211 GoldfishAddressSpaceHostMemoryAllocator host_memory_allocator; member 266 grdma->host_memory_allocator.hostFree(&grdma->address_space_block); in put_gralloc_region_direct_mem_locked() 308 GoldfishAddressSpaceHostMemoryAllocator* allocator = &grdma->host_memory_allocator; in gralloc_dmaregion_register_ashmem_direct_mem_locked()
|