Project Silk: Difference between revisions

Line 32: Line 32:


==== Order to dispatch Vsync events ====
==== Order to dispatch Vsync events ====
VsyncDispatcherHost:
Current Design:
# notify the main thread to handle input event.
  VsyncDispatcherHost:
# wait the input handling task done, then notify the compositor parent to do compose.
  1. notify the main thread to handle input event.
# send vsync event to content process.
  2. wait the input handling task done, then notify the compositor parent to do compose.
# tick Chrome refresh driver
  3. send vsync event to content process.
 
  4. tick Chrome refresh driver
VsyncDispatcherClient:
  VsyncDispatcherClient:
# tick Content refresh driver
  1. tick Content refresh driver




Confirmed users
346

edits