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" |
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 */ |
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 |