Plugins:CoreAnimationDrawingModelR2: Difference between revisions

Jump to navigation Jump to search
Line 19: Line 19:
All plug-ins should implement nextFrameTime for their CALayer. Plug-ins that want their next repaint to happen via NPN_InvalidateRect can return 'INFINITY' from nextFrameTime.
All plug-ins should implement nextFrameTime for their CALayer. Plug-ins that want their next repaint to happen via NPN_InvalidateRect can return 'INFINITY' from nextFrameTime.


Browsers should re-check nextFrameTime any time a paint happens, whether it was scheduled via nextFrameTime or forced via NPN_InvalidateRect. This allows plugins to change their next frame time and to re-start scheduled painting after returning 'inf' from nextFrameTime.
Browsers should re-check nextFrameTime any time a paint happens, whether it was scheduled via nextFrameTime or forced via NPN_InvalidateRect. This allows plugins to change their next frame time and to re-start scheduled painting after returning 'INFINITY' from nextFrameTime.
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu