设为首页 | 收藏本站欢迎来到!

Systrace 基础知识

作者:admin      来源:admin      发布时间:2020-11-05
mAttachInfo.mThreadedRenderer.draw;
void draw {
 final Choreographer choreographer = attachInfo.mViewRootImpl.mChoreographer;
 choreographer.mFrameInfo.markDrawStart;
 updateRootDisplayList;
 if  {
 final int count = attachInfo.mPendingAnimatingRenderNodes.size;
 for  {
 registerAnimatingRenderNode);
 attachInfo.mPendingAnimatingRenderNodes.clear;
 attachInfo.mPendingAnimatingRenderNodes = null;
 int syncResult = syncAndDrawFrame;
 if  != 0) {
 setEnabled;
 attachInfo.mViewRootImpl.mSurface.release;
 attachInfo.mViewRootImpl.invalidate;
 if  != 0) {
 attachInfo.mViewRootImpl.invalidate;