Lines Matching refs:Allocator

77 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) {  in Allocator()  function in gralloc1::Allocator
80 bool Allocator::Init() { in Init()
94 Allocator::~Allocator() { in ~Allocator()
104 int Allocator::AllocateMem(AllocData *alloc_data, gralloc1_producer_usage_t prod_usage, in AllocateMem()
124 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { in MapBuffer()
132 int Allocator::ImportBuffer(int fd) { in ImportBuffer()
139 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, in FreeBuffer()
148 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) { in CleanBuffer()
156 bool Allocator::CheckForBufferSharing(uint32_t num_descriptors, in CheckForBufferSharing()
197 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, in GetSize()
297 void Allocator::GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, in GetBufferSizeAndDimensions()
305 void Allocator::GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, in GetBufferSizeAndDimensions()
312 void Allocator::GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, in GetYuvUbwcSPPlaneInfo()
340 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo()
353 int Allocator::GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) { in GetYUVPlaneInfo()
447 int Allocator::GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, in GetImplDefinedFormat()
486 bool Allocator::IsUBwcFormat(int format) { in IsUBwcFormat()
495 bool Allocator::IsUBwcSupported(int format) { in IsUBwcSupported()
517 bool Allocator::UseUncached(gralloc1_producer_usage_t prod_usage, in UseUncached()
544 void Allocator::GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, in GetIonHeapInfo()
601 bool Allocator::IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, in IsUBwcEnabled()
633 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight()
655 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize()
679 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize()
702 unsigned int Allocator::GetUBwcSize(int width, int height, int format, unsigned int alignedw, in GetUBwcSize()
732 int Allocator::GetRgbDataAddress(private_handle_t *hnd, void **rgb_data) { in GetRgbDataAddress()
766 void Allocator::GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, in GetAlignedWidthAndHeight()