0
我已閱讀DispSync等的源代碼,但它太複雜了。「FrameTimeNanos」在「Choreographer.FrameCallback」中的含義是什麼? HW_VSYNC時間或APP_VSYNC時間?
我所學到的是「FrameCallback」由APP_VSYNC事件觸發,它可能與HW_VSYNC有時間偏移。那麼,我怎麼知道HW_VSYNC的準確時間呢?
如果FrameCallback的時間參數告訴APP_VSYNC時間,我可以在哪裏獲得HW_VSYNC和APP_VSYNC之間的偏移值,以便計算硬件vsync時間?