Lines Matching refs:bufferUsage
94 std::string getUsageString(hidl_bitfield<BufferUsage> bufferUsage) { in getUsageString() argument
97 Underlying usage = static_cast<Underlying>(bufferUsage); in getUsageString()
257 uint64_t bufferUsage = BO_USE_NONE; in convertToBufferUsage() local
261 bufferUsage |= BO_USE_SW_READ_RARELY; in convertToBufferUsage()
265 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage()
269 bufferUsage |= BO_USE_SW_WRITE_RARELY; in convertToBufferUsage()
273 bufferUsage |= BO_USE_SW_WRITE_OFTEN; in convertToBufferUsage()
276 bufferUsage |= BO_USE_TEXTURE; in convertToBufferUsage()
279 bufferUsage |= BO_USE_RENDERING; in convertToBufferUsage()
283 bufferUsage |= BO_USE_SCANOUT | BO_USE_TEXTURE; in convertToBufferUsage()
287 bufferUsage |= BO_USE_LINEAR; in convertToBufferUsage()
290 bufferUsage |= BO_USE_NONE; in convertToBufferUsage()
294 bufferUsage |= BO_USE_SW_READ_OFTEN; in convertToBufferUsage()
297 bufferUsage |= BO_USE_CAMERA_WRITE; in convertToBufferUsage()
300 bufferUsage |= BO_USE_CAMERA_READ; in convertToBufferUsage()
303 bufferUsage |= BO_USE_RENDERSCRIPT; in convertToBufferUsage()
306 bufferUsage |= BO_USE_HW_VIDEO_DECODER; in convertToBufferUsage()
309 *outBufferUsage = bufferUsage; in convertToBufferUsage()