Lines Matching refs:consumerUsage
602 auto u = streamInfo.consumerUsage; in mapStreamInfo()
694 streamInfo.consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in isSessionConfigurationSupported()
696 streamInfo.consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in isSessionConfigurationSupported()
1020 uint64_t consumerUsage; in createDeferredSurfaceStreamLocked() local
1036 consumerUsage = GraphicBuffer::USAGE_HW_TEXTURE; in createDeferredSurfaceStreamLocked()
1038 consumerUsage |= GraphicBuffer::USAGE_HW_COMPOSER; in createDeferredSurfaceStreamLocked()
1049 consumerUsage); in createDeferredSurfaceStreamLocked()
1062 std::forward_as_tuple(width, height, format, dataSpace, consumerUsage)); in createDeferredSurfaceStreamLocked()
1337 uint64_t consumerUsage = 0; in createSurfaceFromGbp() local
1339 if ((err = gbp->getConsumerUsage(&consumerUsage)) != OK) { in createSurfaceFromGbp()
1345 if (consumerUsage & GraphicBuffer::USAGE_HW_TEXTURE) { in createSurfaceFromGbp()
1347 __FUNCTION__, mCameraIdStr.string(), consumerUsage); in createSurfaceFromGbp()
1356 bool flexibleConsumer = (consumerUsage & disallowedFlags) == 0 && in createSurfaceFromGbp()
1357 (consumerUsage & allowedFlags) != 0; in createSurfaceFromGbp()
1393 ((consumerUsage & GRALLOC_USAGE_HW_MASK) && in createSurfaceFromGbp()
1394 ((consumerUsage & GRALLOC_USAGE_SW_READ_MASK) == 0))) { in createSurfaceFromGbp()
1415 streamInfo.consumerUsage = consumerUsage; in createSurfaceFromGbp()
1445 if (consumerUsage != streamInfo.consumerUsage) { in createSurfaceFromGbp()
1448 mCameraIdStr.string(), consumerUsage, streamInfo.consumerUsage); in createSurfaceFromGbp()