Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: sky/specs/runloop.md

Issue 824773002: Specs: Split apis.md into dom.md, events.md, idl.md, and move the remainder into README.md and modu… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/specs/modules.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Sky's Run Loop
2 ==============
3
4 Sky's run loop consists of running the following, at 120Hz (each loop
5 takes 8.333ms):
6
7 1. Send scroll and resize events if necessary, limiting each handler
8 to 1ms, and limiting the total time spent on these handlers to 1ms.
9
10 2. Update as much of layout as possible; after 1ms, stop, leaving the
11 remaining nodes unprepared.
12
13 3. Update as much of paint as possible; after 1ms, stop, leaving the
14 remaining nodes unprepared.
15
16 4. Send frame to GPU.
17
18 5. Run pending tasks until the 8.333ms expires. Each task may only run
19 for at most 1ms, after 1ms they get a (catchable) EDeadlineExceeded
20 exception. While there are no pending tasks, sleep.
21
22 TODO(ianh): Update the timings above to have some relationship to
23 reality.
OLDNEW
« no previous file with comments | « sky/specs/modules.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698