简体   繁体   中英

Is ENTER_FRAME dispatched at the end of vertical blanking signal or at the start of window?

Is ENTER_FRAME dispatched at the end of vertical blanking signal (vblank or vsync) -the actual beginning of the frame on the screen, OR at the beginning of the flash window (if the stage3D app is in window mode), OR in an imprecise timing (depending on the ...internal mood of Flash)?

(I'm using pure AS3 and Stage3D with 3D GPU rendering -no 2D display objects, Flash timeline, movieclips etc).

EDIT: See relative question: Can the ENTER_FRAME be missed or received delayed by the listener?

A bit old but still mostly true: http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/

So shortly said - ENTER_FRAME is dispatched at the beginning of the frame, then code is executed, and after all that, the render begins (I don't know what you exactly mean by vblank, vsync or 'beginning of the frame on the screen')..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM