Confirmed users
699
edits
| Line 41: | Line 41: | ||
sync protocol PDrawWindow { | sync protocol PDrawWindow { | ||
child: | child: | ||
Init(-w +r | Init([-w +r ] Shmem[] front, | ||
-r-w +r+w Shmem back); | [-r-w +r+w] Shmem[] back); | ||
parent: | parent: | ||
sync Drew(-r +r | sync Drew([-r +r ] Shmem[] dirtyFronts, | ||
-r-w +r+w Shmem | [-r-w +r+w] Shmem[] dirtyBacks, | ||
DirtyRects[] | DirtyRects[] damage, | ||
...) | ...) | ||
returns (-r-w +r+w Shmem | returns ([-r-w +r+w] Shmem[] newBacks, | ||
-w +r | [-w +r ] Shmem[] newFronts, | ||
...); | ...); | ||
}; | }; | ||