--- ray/src/hd/rhd_odraw.h 1998/12/22 17:05:54 3.4 +++ ray/src/hd/rhd_odraw.h 2003/03/04 05:49:21 3.8 @@ -1,13 +1,8 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid $Id: rhd_odraw.h,v 3.8 2003/03/04 05:49:21 greg Exp $ */ /* * Header for OpenGL cone drawing routines with depth buffer checks. */ -#undef NOPROTO -#define NOPROTO 1 #include "color.h" #include "tonemap.h" #include "rhdriver.h" @@ -20,6 +15,7 @@ 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 */ @@ -111,6 +107,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