/hardware/qcom/display/msm8996/libgralloc1/ |
gr_utils.cpp | 127 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { 128 return CpuCanRead(prod_usage, cons_usage) || CpuCanWrite(prod_usage); 131 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage) { 132 if (prod_usage & GRALLOC1_PRODUCER_USAGE_CPU_READ) { 143 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage) { 144 if (prod_usage & GRALLOC1_PRODUCER_USAGE_CPU_WRITE) {
|
gr_utils.h | 55 bool CpuCanAccess(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage); 56 bool CpuCanRead(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage); 57 bool CpuCanWrite(gralloc1_producer_usage_t prod_usage);
|
gr_buf_mgr.h | 41 gralloc1_error_t LockBuffer(const private_handle_t *hnd, gralloc1_producer_usage_t prod_usage, 53 int format, int bufferType, gralloc1_producer_usage_t prod_usage, 55 int GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 57 int GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage,
|
gr_buf_mgr.cpp | 226 gralloc1_producer_usage_t prod_usage, 231 if (!CpuCanAccess(prod_usage, cons_usage)) { 254 if (!err && CpuCanWrite(prod_usage)) { 280 int BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 287 if (prod_usage & GRALLOC1_PRODUCER_USAGE_PROTECTED) { 299 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, 314 if (prod_usage & GRALLOC1_PRODUCER_USAGE_CAMERA) { 318 if (prod_usage & GRALLOC1_CONSUMER_USAGE_CAMERA) { 326 if (prod_usage & GRALLOC1_CONSUMER_USAGE_GPU_TEXTURE) { 330 if (prod_usage & GRALLOC1_CONSUMER_USAGE_PRIVATE_SECURE_DISPLAY) 442 gralloc1_producer_usage_t prod_usage = descriptor.GetProducerUsage(); local 562 gralloc1_producer_usage_t prod_usage = static_cast<gralloc1_producer_usage_t>(producer_usage); local [all...] |
gr_allocator.h | 55 int AllocateMem(AllocData *data, gralloc1_producer_usage_t prod_usage, 57 bool IsMacroTileEnabled(int format, gralloc1_producer_usage_t prod_usage, 62 int GetImplDefinedFormat(gralloc1_producer_usage_t prod_usage, 78 bool IsUBwcEnabled(int format, gralloc1_producer_usage_t prod_usage, 92 void GetIonHeapInfo(gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage,
|
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...] |
gr_buf_descriptor.h | 48 BufferDescriptor(int w, int h, int f, gralloc1_producer_usage_t prod_usage, 53 producer_usage_(prod_usage),
|
gr_device_impl.h | 96 gralloc1_producer_usage_t prod_usage, 101 gralloc1_producer_usage_t prod_usage,
|
gr_priv_handle.h | 104 gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, 122 producer_usage(prod_usage),
|
gr_device_impl.cpp | 376 gralloc1_producer_usage_t prod_usage, 393 if ((prod_usage != GRALLOC1_PRODUCER_USAGE_NONE) && 403 status = dev->buf_mgr_->LockBuffer(hnd, prod_usage, cons_usage); 413 gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, 419 status = LockBuffer(device, buffer, prod_usage, cons_usage, region, outData, outAcquireFence);
|