gr_allocator.cpp | 97 int Allocator::AllocateMem(AllocData *alloc_data, gralloc1_producer_usage_t prod_usage, 100 alloc_data->uncached = UseUncached(prod_usage); 103 GetIonHeapInfo(prod_usage, cons_usage, &alloc_data->heap_id, &alloc_data->alloc_type, 128 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage(); local 132 int err = AllocateMem(&data, prod_usage, cons_usage); 138 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { 145 0, 0, descriptor.GetWidth(), descriptor.GetHeight(), prod_usage, cons_usage); 216 bool Allocator::IsMacroTileEnabled(int format, gralloc1_producer_usage_t prod_usage, 232 if (!CpuCanAccess(prod_usage, cons_usage)) { 251 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage() local 356 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage(); local 415 gralloc1_producer_usage_t prod_usage = hnd->GetProducerUsage(); local 795 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage(); local [all...] |