提交 7f8e5e62 编写于 作者: zhdguy's avatar zhdguy

hwc: fixed layers can't draw with gpu in time.

Func rcPostAllLayersDone only encode control data to buffer in stream,
but not send to anbox with pipe in time, which is done by flush() func.
上级 e237e54d
......@@ -210,6 +210,7 @@ static int hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays,
}
rcEnc->rcPostAllLayersDone(rcEnc);
hostCon->flush();
check_sync_fds(numDisplays, displays);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册