OCC22199 OpenGL memory leaks in TKOpenGl
[occt.git] / src / OpenGl / OpenGl_tgl_subrvis.hxx
CommitLineData
7fd59977 1/***********************************************************************
2
3FONCTION :
4----------
5File OpenGl_tgl_subrvis :
6
7
8REMARQUES:
9----------
10
11HISTORIQUE DES MODIFICATIONS :
12--------------------------------
13xx-xx-xx : xxx ; Creation.
1417-07-96 : FMN ; Modification de call_subr_hlhsr et call_util_setvisualization
1529-01-97 : FMN ; Suppression de call_subr_doublebuffer().
16
17************************************************************************/
18
19#ifndef OPENGL_TGL_SUBRVIS_H
20#define OPENGL_TGL_SUBRVIS_H
21
22#ifndef RIC120302
23#define RIC120302 /* GG Add call_subr_displayCB function
24*/
25#endif
26
27#include <InterfaceGraphic_Graphic3d.hxx>
28#include <InterfaceGraphic_Visual3d.hxx>
29
30#include <OpenGl_telem.hxx>
31
32#ifdef RIC120302
33extern int call_subr_displayCB(CALL_DEF_VIEW* /*aview*/, int /*reason*/ );
34#endif
35extern int call_subr_open_ws(CALL_DEF_VIEW *); /* aview */
36extern void call_subr_enable_polygon_offset();
37extern void call_subr_disable_polygon_offset();
38extern void call_subr_resize(CALL_DEF_VIEW *); /* aview */
39extern void call_subr_antialiasing(CALL_DEF_VIEW *, Tint); /* aview, tag */
40extern void call_subr_hlhsr(CALL_DEF_VIEW *, Tint); /* aview, flag */
41extern void call_subr_depthcueing(CALL_DEF_VIEW *, Tint); /* aview, tag */
42extern TStatus call_subr_get_view_index(Tint, Tint *); /* stid, &vid */
43extern void call_subr_pick(CALL_DEF_PICK *); /* apick */
44extern void call_subr_set_light_src_rep(CALL_DEF_LIGHT *); /* alight */
45extern void call_subr_set_background(Tint, tel_colour); /* ws, rgb */
46extern void call_subr_set_gradient_background(Tint, Tint, tel_colour, tel_colour); /* ws, type, rgb ,rgb */
47extern void call_subr_close_ws(CALL_DEF_VIEW *);
48extern void call_util_setvisualization(CALL_DEF_VIEW *, int, int);
49extern void call_subr_transparency (int , int , int );
50
51#endif