ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdriver.h
(Generate patch)

Comparing ray/src/hd/rhdriver.h (file contents):
Revision 3.15 by gwlarson, Mon Aug 10 18:39:46 1998 UTC vs.
Revision 3.16 by gwlarson, Wed Aug 19 17:43:08 1998 UTC

# Line 13 | Line 13 | extern struct driver {
13          VIEW    v;              /* base view parameters */
14          int     hres, vres;     /* base view resolution */
15          int     ifd;            /* input file descriptor (for select) */
16 +        int     inpready;       /* number of unprocessed input events */
17   } odev;                 /* our open device */
18  
19   extern int      imm_mode;       /* bundles are being delivered immediately */
# Line 91 | Line 92 | int
92   dev_flush()             : flush the output and prepare for select call
93  
94   Updates display, taking any pending action required before select(2) call.
95 < Returns non-zero if there is device input available.
95 > Returns non-zero if there is device input available, setting odev.inpready.
96  
97  
98   int
# Line 100 | Line 101 | dev_input()            : process pending display input
101   Called when odev struct file descriptor shows input is ready.
102   Returns flags indicating actions to take in the control process.
103   If the DC_VIEW or DC_RESIZE flag is returned, the odev
104 < structure must be updated beforehand.
104 > structure must be updated beforehand.  No events will be
105 > ready when this function returns, and odev.inpready will be 0.
106  
107   void
108   dev_auxcom(cmd, args)   : process auxiliary command

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines