Lines Matching refs:post
574 m_postThread([this](Post&& post) { return postWorkerFunc(post); }), in __anonac864d5f0402() argument
675 WorkerProcessingResult FrameBuffer::postWorkerFunc(Post& post) { in postWorkerFunc() argument
679 {"Post command opcode", std::to_string(static_cast<uint64_t>(post.cmd))}); in postWorkerFunc()
683 switch (post.cmd) { in postWorkerFunc()
687 std::shared_ptr<Post::CompletionCallback>(std::move(post.completionCallback)); in postWorkerFunc()
697 m_postWorker->post(post.cb, std::move(postCallback)); in postWorkerFunc()
698 decColorBufferRefCountNoDestroy(post.cbHandle); in postWorkerFunc()
702 m_postWorker->viewport(post.viewport.width, in postWorkerFunc()
703 post.viewport.height); in postWorkerFunc()
708 if (post.composeVersion <= 1) { in postWorkerFunc()
709 composeCallback = std::move(post.completionCallback); in postWorkerFunc()
710 composeRequest = ToFlatComposeRequest((ComposeDevice*)post.composeBuffer.data()); in postWorkerFunc()
715 std::shared_ptr<Post::CompletionCallback>(std::move(post.completionCallback)); in postWorkerFunc()
725 composeRequest = ToFlatComposeRequest((ComposeDevice_v2*)post.composeBuffer.data()); in postWorkerFunc()
735 post.screenshot.cb, post.screenshot.screenwidth, in postWorkerFunc()
736 post.screenshot.screenheight, post.screenshot.format, in postWorkerFunc()
737 post.screenshot.type, post.screenshot.rotation, in postWorkerFunc()
738 post.screenshot.pixels, post.screenshot.rect); in postWorkerFunc()
739 decColorBufferRefCountNoDestroy(post.cbHandle); in postWorkerFunc()
742 m_postWorker->block(std::move(post.block->scheduledSignal), in postWorkerFunc()
743 std::move(post.block->continueSignal)); in postWorkerFunc()
754 std::future<void> FrameBuffer::sendPostWorkerCmd(Post post) { in sendPostWorkerCmd() argument
769 if (shouldPostOnlyOnMainThread && (PostCmd::Screenshot == post.cmd) && in sendPostWorkerCmd()
771 post.cb->readToBytesScaled(post.screenshot.screenwidth, post.screenshot.screenheight, in sendPostWorkerCmd()
772 post.screenshot.format, post.screenshot.type, in sendPostWorkerCmd()
773 post.screenshot.rotation, post.screenshot.rect, in sendPostWorkerCmd()
774 post.screenshot.pixels); in sendPostWorkerCmd()
777 m_postThread.enqueue(Post(std::move(post))); in sendPostWorkerCmd()
779 (PostCmd::Screenshot == post.cmd && in sendPostWorkerCmd()
1707 bool FrameBuffer::post(HandleType p_colorbuffer, bool needLockAndBind) { in post() function in gfxstream::FrameBuffer
2158 post(composeDevice->targetHandle, true); in compose()
2164 post(composeDeviceV2->targetHandle, true); in compose()