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

Comparing ray/src/hd/rhd_odraw.h (file contents):
Revision 3.2 by gwlarson, Sun Dec 20 20:37:54 1998 UTC vs.
Revision 3.8 by greg, Tue Mar 4 05:49:21 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1998 Silicon Graphics, Inc. */
2 <
3 < /* SCCSid "$SunId$ SGI" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   * Header for OpenGL cone drawing routines with depth buffer checks.
4   */
5  
9 #undef NOPROTO
10 #define NOPROTO 1
6   #include "color.h"
7   #include "tonemap.h"
8   #include "rhdriver.h"
# Line 17 | Line 12
12   #endif
13  
14   extern struct ODview {
15 +        int     sfirst, snext;  /* first sample and first in next view */
16          short   hhi, vhi;       /* screen image resolution */
17          short   hlow, vlow;     /* block resolution */
18 +        int     n2redraw;       /* approx. number of samples needing redraw */
19          struct ODblock {
20                  short   nsamp;          /* number of samples in block */
21                  short   nused;          /* number actually allocated */
# Line 27 | Line 24 | extern struct ODview {
24                  float   pthresh;        /* proximity threshold */
25          }       *bmap;          /* low resolution image map */
26          int4    *emap;          /* low resolution edge presence map */
27 +        int4    *pmap;          /* high resolution presence map */
28          GLfloat *dmap;          /* high resolution depth map */
29   } *odView;              /* our view list */
30  
# Line 109 | Line 107 | int    x0, y0, x1, y1;         : rectangle to redraw
107  
108   This call indicates that the given rectangular region in view vn
109   needs to be redrawn in the next call to odUpdate().
110 +
111 +
112 + void
113 + odRedrawAll()                   : everything needs to be redrawn
114 +
115 + Redraw everything in all views on the next call to odUpdate().
116 + Unless odRemap() is called, no new tone mapping will be done.
117  
118  
119   void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines