1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/***********************************************************************
FONCTION :
----------
File OpenGl_tsm_ws :
REMARQUES:
----------
HISTORIQUE DES MODIFICATIONS :
--------------------------------
xx-xx-xx : xxx ; Creation.
02-07-96 : FMN ; Suppression WSWSHeight, WSWSWidth et WSType
17-07-96 : FMN ; Ajout WSZbuffer
24-04-97 : FMN ; Ajout displaylist pour le mode transient
07-08-97 : PCT ; ajout texture environnante
22-10-01 : SAV ; added flag WSDepthTest to control depth testing
24-10-01 : SAV ; added flag WSGLLight to control GL_LIGHTING
particularly, this thechnique is used in triedron displaying.
************************************************************************/
#ifndef OPENGL_TSM_WS_H
#define OPENGL_TSM_WS_H
#define G003 /* EUG 11-01-00 backfacing management
*/
#define BUC61044 /* SAV ; added functionality to control gl depth testing
from higher API */
#define BUC61045 /* SAV ; added functionality to control gl lighting
from higher API */
#define OCC1188 /* SAV Added 23-12-02 background texture attribute */
#include <OpenGl_cmn_varargs.hxx>
typedef enum
{
WSTextureEnv, WSSurfaceDetail,
WSFilters, WSWindow, WSWidth, WSHeight, WSDbuff,
WSViewStid, WSLights, WSViews, WSBackground, WSNeedsClear, WSHighlights,
WSDepthCues, WSTransparency, WSZbuffer, WSTransient, WSRetainMode, WSUpdateState, WSPixmap, WSGLXPixmap, WSDepth
#ifdef G003
, WSBackfacing
#endif /* G003 */
#ifdef BUC61044
, WSDepthTest
#endif
#ifdef BUC61045
, WSGLLight
#endif
#ifdef OCC1188
, WSBgTexture
#endif
, WSBgGradient
} TWSAttri;
extern TStatus TsmRegisterWsid( Tint );
extern TStatus TsmSetWSAttri( Tint, TWSAttri, cmn_key_data );
extern TStatus TsmGetWSAttri( Tint, TWSAttri, cmn_key_data );
/* struct_id, size, ws, actual_size */
extern TStatus TsmGetWSPosted( Tint, Tint, Tint*, Tint* );
extern TStatus TsmUnregisterWsid( Tint wsid );
extern TStatus TsmInitUpdateState();
#endif
|