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

Comparing ray/src/hd/rhd_x11.c (file contents):
Revision 3.45 by greg, Thu Apr 28 16:28:20 2016 UTC vs.
Revision 3.46 by greg, Fri Oct 5 19:19:16 2018 UTC

# Line 116 | Line 116 | mytmflags(void)                        /* figure out tone mapping flags */
116   }
117  
118  
119 < extern void
119 > void
120   dev_open(                       /* initialize X11 driver */
121          char  *id
122   )
# Line 217 | Line 217 | dev_open(                      /* initialize X11 driver */
217   }
218  
219  
220 < extern void
220 > void
221   dev_close(void)                 /* close our display */
222   {
223          freepixels();
# Line 235 | Line 235 | dev_close(void)                        /* close our display */
235   }
236  
237  
238 < extern void
238 > void
239   dev_clear(void)                 /* clear our quadtree */
240   {
241          qtCompost(100);
# Line 245 | Line 245 | dev_clear(void)                        /* clear our quadtree */
245   }
246  
247  
248 < extern int
248 > int
249   dev_view(                       /* assign new driver view */
250          VIEW    *nv
251   )
# Line 293 | Line 293 | dev_view(                      /* assign new driver view */
293   }
294  
295  
296 < extern void
296 > void
297   dev_section(            /* add octree for geometry rendering */
298          char    *gfn,
299          char    *pfn
# Line 303 | Line 303 | dev_section(           /* add octree for geometry rendering */
303   }
304  
305  
306 < extern void
306 > void
307   dev_auxcom(             /* process an auxiliary command */
308          char    *cmd,
309          char    *args
# Line 314 | Line 314 | dev_auxcom(            /* process an auxiliary command */
314   }
315  
316  
317 < extern VIEW *
317 > VIEW *
318   dev_auxview(            /* return nth auxiliary view */
319          int     n,
320          int     hvres[2]
# Line 327 | Line 327 | dev_auxview(           /* return nth auxiliary view */
327   }
328  
329  
330 < extern int
330 > int
331   dev_input(void)                 /* get X11 input */
332   {
333          inpresflags = 0;
# Line 343 | Line 343 | dev_input(void)                        /* get X11 input */
343   }
344  
345  
346 < extern void
346 > void
347   dev_paintr(             /* fill a rectangle */
348          uby8    rgb[3],
349          int  xmin,
# Line 366 | Line 366 | dev_paintr(            /* fill a rectangle */
366   }
367  
368  
369 < extern int
369 > int
370   dev_flush(void)                 /* flush output */
371   {
372          qtUpdate();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines