--- ray/src/hd/rhd_odraw.h 1998/12/21 13:17:01 3.3 +++ ray/src/hd/rhd_odraw.h 2003/02/22 02:07:24 3.7 @@ -1,7 +1,4 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid: $Id: rhd_odraw.h,v 3.7 2003/02/22 02:07:24 greg Exp $ */ /* * Header for OpenGL cone drawing routines with depth buffer checks. */ @@ -17,8 +14,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 */ @@ -110,6 +109,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