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");
}