OCC22391 Polylines arrays not drawn for mesh with VBO flag enabled
[occt.git] / src / OpenGl / OpenGl_tgl.hxx
1 /***********************************************************************
2
3 FONCTION :
4 ----------
5 Include OpenGl_tgl :
6
7
8 REMARQUES:
9 ---------- 
10
11
12 HISTORIQUE DES MODIFICATIONS   :
13 --------------------------------
14 xx-xx-xx : xxx ; Creation.
15 11-03-96 : FMN ; Reference a InterfaceGraphic_Cextern.hxx
16 03-03-97 : FMN ; Ajout displaylist pour le mode transient
17 15-03-98 : FMN ; Ajout mode animation
18 08-07-98 : FMN ; On utilise OpenGl_animation.h pour le mode animation.
19
20 ************************************************************************/
21
22 #ifndef  OPENGL_TGL_H
23 #define  OPENGL_TGL_H
24
25 /*----------------------------------------------------------------------*/
26 /*
27 * Includes
28 */
29
30 #ifndef EXPORT
31 # if defined(WNT) && !defined(HAVE_NO_DLL)
32 #  ifdef __OpenGl_DLL
33 #   define EXPORT __declspec( dllexport )
34 #  else
35 #   define EXPORT
36 #  endif  /* __OpenGl_DLL */
37 # else
38 #  define EXPORT
39 # endif  /* WNT */
40 #endif  /* EXPORT */
41
42
43 //#include <InterfaceGraphic_Cextern.hxx>
44 #include <InterfaceGraphic.hxx>
45 #include <InterfaceGraphic_Graphic3d.hxx>
46 #include <InterfaceGraphic_Visual3d.hxx>
47
48 #include <OpenGl_inquire.hxx>
49
50 /*----------------------------------------------------------------------*/
51 /*
52 * Prototypes fonctions externes
53 */
54
55 extern CALL_DEF_INQUIRE call_facilities_list;
56
57 extern  EXPORT void  call_togl_set_environment(char*); /* adisplay */
58 extern  EXPORT void  call_togl_inquirefacilities(void);
59 extern  EXPORT void  call_togl_polygon_set(CALL_DEF_GROUP *, CALL_DEF_LISTFACETS *);
60 extern  EXPORT void  call_togl_curve(CALL_DEF_GROUP *, CALL_DEF_LISTPOINTS *);
61 extern  EXPORT void  call_togl_redraw_immediat_mode(CALL_DEF_VIEW *);
62 extern  EXPORT void  call_togl_redraw_layer2d(CALL_DEF_VIEW * aview,
63                                               CALL_DEF_LAYER * alayer);
64
65 /*----------------------------------------------------------------------*/
66
67 #endif