Searched refs:allocUsage (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libresource/ |
D | ExynosMPP.cpp | 941 uint64_t allocUsage = getBufferUsage(usage); in allocOutBuf() local 943 allocUsage |= VendorGraphicBufferUsage::NO_AFBC; in allocOutBuf() 948 w, h, format, freeDstBuf.bufferHandle, allocUsage, usage); in allocOutBuf() 956 error = gAllocator.allocate(w, h, format, 1, allocUsage, &dstBuffer, &dstStride, "HWC"); in allocOutBuf() 1038 uint64_t allocUsage = 0; in getBufferUsage() local 1040 allocUsage = BufferUsage::CPU_READ_OFTEN | in getBufferUsage() 1043 allocUsage = BufferUsage::CPU_READ_NEVER | in getBufferUsage() 1050 allocUsage |= BufferUsage::PROTECTED; in getBufferUsage() 1051 allocUsage &= ~VendorGraphicBufferUsage::PRIVATE_NONSECURE; in getBufferUsage() 1053 allocUsage |= BufferUsage::PROTECTED; in getBufferUsage() [all …]
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | README.txt | 119 …status_t error = gAllocator.allocate(width, height, format, layer_count, allocUsage, &dstBuffer, &…
|