Confirmed users
699
edits
(Created page with '== Optional fine-grained access change for Shmem == New syntax [access access] Shmem |access| can be one of . +r -r +w -w +r+w +r-w -r+w -r-w The first |ac…') |
|||
| Line 39: | Line 39: | ||
sync protocol PDrawWindow { | sync protocol PDrawWindow { | ||
child: | child: | ||
InitBuffers(-w +r Shmem front, | |||
-r-w +r+w Shmem back); | |||
parent: | parent: | ||
sync Draw(-r +r Shmem | sync Draw(-r +r Shmem curFront, | ||
-r-w +r+w Shmem curBack, | |||
DirtyRects[] dirty, | |||
...) | |||
returns (-r-w +r+w Shmem newBack, | |||
-w +r Shmem newFront); | |||
}; | }; | ||