Searched refs:gbuffer (Results 1 – 1 of 1) sorted by relevance
49 sp<GraphicBuffer> gbuffer(new GraphicBuffer( in AHardwareBuffer_allocate() local53 status_t err = gbuffer->initCheck(); in AHardwareBuffer_allocate()54 if (err != 0 || gbuffer->handle == 0) { in AHardwareBuffer_allocate()59 desc->width, desc->height, desc->layers, strerror(-err), gbuffer->handle); in AHardwareBuffer_allocate()63 *outBuffer = AHardwareBuffer_from_GraphicBuffer(gbuffer.get()); in AHardwareBuffer_allocate()84 const GraphicBuffer* gbuffer = AHardwareBuffer_to_GraphicBuffer(buffer); in AHardwareBuffer_describe() local86 outDesc->width = gbuffer->getWidth(); in AHardwareBuffer_describe()87 outDesc->height = gbuffer->getHeight(); in AHardwareBuffer_describe()88 outDesc->layers = gbuffer->getLayerCount(); in AHardwareBuffer_describe()89 outDesc->format = AHardwareBuffer_convertFromPixelFormat(uint32_t(gbuffer->getPixelFormat())); in AHardwareBuffer_describe()[all …]