IPDL/Proposal:Shmem access control: Difference between revisions

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

edits