17 |
|
#endif |
18 |
|
|
19 |
|
extern struct ODview { |
20 |
+ |
int sfirst, snext; /* first sample and first in next view */ |
21 |
|
short hhi, vhi; /* screen image resolution */ |
22 |
|
short hlow, vlow; /* block resolution */ |
23 |
+ |
int n2redraw; /* approx. number of samples needing redraw */ |
24 |
|
struct ODblock { |
25 |
|
short nsamp; /* number of samples in block */ |
26 |
|
short nused; /* number actually allocated */ |
29 |
|
float pthresh; /* proximity threshold */ |
30 |
|
} *bmap; /* low resolution image map */ |
31 |
|
int4 *emap; /* low resolution edge presence map */ |
32 |
+ |
int4 *pmap; /* high resolution presence map */ |
33 |
|
GLfloat *dmap; /* high resolution depth map */ |
34 |
|
} *odView; /* our view list */ |
35 |
|
|
112 |
|
|
113 |
|
This call indicates that the given rectangular region in view vn |
114 |
|
needs to be redrawn in the next call to odUpdate(). |
115 |
+ |
|
116 |
+ |
|
117 |
+ |
void |
118 |
+ |
odRedrawAll() : everything needs to be redrawn |
119 |
+ |
|
120 |
+ |
Redraw everything in all views on the next call to odUpdate(). |
121 |
+ |
Unless odRemap() is called, no new tone mapping will be done. |
122 |
|
|
123 |
|
|
124 |
|
void |