Searched refs:GraphicBlockInfo (Results 1 – 2 of 2) sorted by relevance
182 struct GraphicBlockInfo { struct246 void sendOutputBufferToAccelerator(GraphicBlockInfo* info, bool passToAccelerator);250 GraphicBlockInfo* getGraphicBlockById(int32_t blockId);252 GraphicBlockInfo* getGraphicBlockByPoolId(uint32_t poolId);333 std::vector<GraphicBlockInfo> mGraphicBlocks;
602 GraphicBlockInfo* info = getGraphicBlockByPoolId(poolId); in onOutputBufferReturned()607 CHECK_EQ(info->mState, GraphicBlockInfo::State::OWNED_BY_CLIENT); in onOutputBufferReturned()609 info->mState = GraphicBlockInfo::State::OWNED_BY_COMPONENT; in onOutputBufferReturned()630 GraphicBlockInfo* info = getGraphicBlockById(pictureBufferId); in onOutputBufferDone()636 if (info->mState == GraphicBlockInfo::State::OWNED_BY_ACCELERATOR) { in onOutputBufferDone()637 info->mState = GraphicBlockInfo::State::OWNED_BY_COMPONENT; in onOutputBufferDone()648 GraphicBlockInfo* info = getGraphicBlockById(nextBuffer.mBlockId); in sendOutputBufferToWorkIfAny()649 CHECK_NE(info->mState, GraphicBlockInfo::State::OWNED_BY_ACCELERATOR); in sendOutputBufferToWorkIfAny()657 if (info->mState == GraphicBlockInfo::State::OWNED_BY_CLIENT) { in sendOutputBufferToWorkIfAny()671 info->mState = GraphicBlockInfo::State::OWNED_BY_CLIENT; in sendOutputBufferToWorkIfAny()[all …]