--- ray/src/hd/rhd_odraw.h 1998/12/20 20:37:54 3.2 +++ ray/src/hd/rhd_odraw.h 1998/12/28 19:32:29 3.6 @@ -17,8 +17,10 @@ #endif extern struct ODview { + int sfirst, snext; /* first sample and first in next view */ short hhi, vhi; /* screen image resolution */ short hlow, vlow; /* block resolution */ + int n2redraw; /* approx. number of samples needing redraw */ struct ODblock { short nsamp; /* number of samples in block */ short nused; /* number actually allocated */ @@ -27,6 +29,7 @@ extern struct ODview { float pthresh; /* proximity threshold */ } *bmap; /* low resolution image map */ int4 *emap; /* low resolution edge presence map */ + int4 *pmap; /* high resolution presence map */ GLfloat *dmap; /* high resolution depth map */ } *odView; /* our view list */ @@ -109,6 +112,13 @@ int x0, y0, x1, y1; : rectangle to redraw This call indicates that the given rectangular region in view vn needs to be redrawn in the next call to odUpdate(). + + +void +odRedrawAll() : everything needs to be redrawn + +Redraw everything in all views on the next call to odUpdate(). +Unless odRemap() is called, no new tone mapping will be done. void