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

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

# Line 153 | Line 153 | extern int     gmPortals;      /* GL portal list id */
153   extern time_t   time();
154  
155  
156 < extern void
156 > void
157   dev_open(id)                    /* initialize GLX driver */
158   char  *id;
159   {
# Line 286 | Line 286 | char  *id;
286   }
287  
288  
289 < extern void
289 > void
290   dev_close(void)                 /* close our display and free resources */
291   {
292   #ifdef DOBJ
# Line 309 | Line 309 | dev_close(void)                        /* close our display and free resour
309   }
310  
311  
312 < extern void
312 > void
313   dev_clear(void)                 /* clear our representation */
314   {
315          viewflags |= VWCHANGE;          /* pretend our view has changed */
# Line 319 | Line 319 | dev_clear(void)                        /* clear our representation */
319   }
320  
321  
322 < extern int
322 > int
323   dev_view(                       /* assign new driver view */
324          VIEW    *nv
325   )
# Line 376 | Line 376 | dev_view(                      /* assign new driver view */
376   }
377  
378  
379 < extern void
379 > void
380   dev_section(            /* add octree for geometry rendering */
381          char    *gfn,
382          char    *pfn
# Line 401 | Line 401 | dev_section(           /* add octree for geometry rendering */
401   }
402  
403  
404 < extern void
404 > void
405   dev_auxcom(             /* process an auxiliary command */
406          char    *cmd,
407          char    *args
# Line 423 | Line 423 | dev_auxcom(            /* process an auxiliary command */
423   }
424  
425  
426 < extern VIEW *
426 > VIEW *
427   dev_auxview(            /* return nth auxiliary view */
428          int     n,
429          int     hvres[2]
# Line 440 | Line 440 | dev_auxview(           /* return nth auxiliary view */
440   }
441  
442  
443 < extern int
443 > int
444   dev_input(void)                 /* get X11 input */
445   {
446          inpresflags = 0;
# Line 456 | Line 456 | dev_input(void)                        /* get X11 input */
456   }
457  
458  
459 < extern void
459 > void
460   dev_value(              /* add a pixel value to our texture */
461          COLR    c,
462          FVECT   d,
# Line 475 | Line 475 | dev_value(             /* add a pixel value to our texture */
475   }
476  
477  
478 < extern int
478 > int
479   dev_flush(void)                 /* flush output as appropriate */
480   {
481          int     ndrawn;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines