what did CompositionEngine::present do

07-03 19:00:56.707   591   591 F DEBUG   : backtrace:
07-03 19:00:56.707   591   591 F DEBUG   :       #00 pc 000000000005f70f  /apex/com.android.runtime/lib64/bionic/libc.so (abort+191) (BuildId: f090904cc3ac285a6f190f8003c3eb0e)
07-03 19:00:56.707   591   591 F DEBUG   :       #01 pc 0000000000006a0a  /system/lib64/liblog.so (__android_log_default_aborter+10) (BuildId: 31ec9545051650161a78e056f9a402c7)
07-03 19:00:56.707   591   591 F DEBUG   :       #02 pc 00000000000075c2  /system/lib64/liblog.so (__android_log_assert+370) (BuildId: 31ec9545051650161a78e056f9a402c7)
07-03 19:00:56.707   591   591 F DEBUG   :       #03 pc 00000000002387ac  /system/bin/surfaceflinger (android::compositionengine::impl::CompositionEngine::present(android::compositionengine::CompositionRefreshArgs&)+28) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #04 pc 00000000001f26a9  /system/bin/surfaceflinger (android::SurfaceFlinger::composite(long, long)+2361) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #05 pc 00000000001ca428  /system/bin/surfaceflinger (android::impl::MessageQueue::Handler::handleMessage(android::Message const&)+72) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #06 pc 00000000000184af  /system/lib64/libutils.so (android::Looper::pollInner(int)+447) (BuildId: 056174139c244cde0be9a8d5970636f2)
07-03 19:00:56.707   591   591 F DEBUG   :       #07 pc 000000000001828e  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+110) (BuildId: 056174139c244cde0be9a8d5970636f2)
07-03 19:00:56.707   591   591 F DEBUG   :       #08 pc 00000000001caab1  /system/bin/surfaceflinger (android::impl::MessageQueue::waitMessage()+97) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #09 pc 00000000001d3d78  /system/bin/surfaceflinger (android::scheduler::Scheduler::run()+24) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #10 pc 000000000023819a  /system/bin/surfaceflinger (main+2090) (BuildId: fbfb6dc9cc2a0a7cc67858a1552c657a)
07-03 19:00:56.707   591   591 F DEBUG   :       #11 pc 0000000000050cc9  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+89) (BuildId: f090904cc3ac285a6f190f8003c3eb0e)
void CompositionEngine::present(CompositionRefreshArgs& args) {
    LOG_ALWAYS_FATAL_IF(true,"CompositionEngine::present");
    ALOGE("andy0630 CompositionEngine::present start");
    ATRACE_CALL();
    ALOGV(__FUNCTION__);

    preComposition(args);

    {
        // latchedLayers is used to track the set of front-end layer state that
        // has been latched across all outputs for the prepare step, and is not
        // needed for anything else.
        LayerFESet latchedLayers;

        for (const auto& output : args.outputs) {
            output->prepare(args, latchedLayers);
        }
    }

    updateLayerStateFromFE(args);

    for (const auto& output : args.outputs) {
        output->present(args);
    }
    ALOGE("andy0630 CompositionEngine::present end");
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值