0022819: Redesign of OpenGl driver
[occt.git] / src / Graphic3d / Graphic3d_GraphicDriver_713.cxx
1 // File         OpenGl_GraphicDriver_713.cxx
2 // Created      22-10-01
3 // Author       SAV
4
5
6 // 09/07/02     SAV  - merged with file Graphic3d_GraphicDriver_713.cxx created 16/06/2000 by ATS  for G005 study.
7 //Following routines are entry points for creation of PARRAY primitives for (used for presentation).
8
9 #include <Graphic3d_GraphicDriver.jxx>
10 #include <Aspect_DriverDefinitionError.hxx>
11
12 #define  BUC61044    /* 25/10/01 SAV ; added functionality to control gl depth testing
13 from higher API */
14 #define  BUC61045    /* 25/10/01 SAV ; added functionality to control gl lighting 
15 from higher API */
16
17
18 void Graphic3d_GraphicDriver::SetDepthTestEnabled( const Graphic3d_CView&, const Standard_Boolean ) const {
19 }
20
21 Standard_Boolean Graphic3d_GraphicDriver::IsDepthTestEnabled( const Graphic3d_CView& ) const {
22   return Standard_True;
23 }
24
25 void Graphic3d_GraphicDriver::ReadDepths( const Graphic3d_CView&,
26                                           const Standard_Integer,
27                                           const Standard_Integer,
28                                           const Standard_Integer,
29                                           const Standard_Integer,
30                                           const Standard_Address ) const
31 {
32 }
33
34 void Graphic3d_GraphicDriver::SetGLLightEnabled( const Graphic3d_CView&, const Standard_Boolean ) const { 
35 }
36
37 Standard_Boolean Graphic3d_GraphicDriver::IsGLLightEnabled( const Graphic3d_CView& ) const {
38   return Standard_True;
39 }
40
41
42 void Graphic3d_GraphicDriver :: PrimitiveArray ( const Graphic3d_CGroup&,const Graphic3d_PrimitiveArray&,const Standard_Boolean) {
43 }
44
45
46 void Graphic3d_GraphicDriver :: UserDraw ( const Graphic3d_CGroup&,
47                                            const Graphic3d_CUserDraw& )
48 {
49 }
50
51 void Graphic3d_GraphicDriver::EnableVBO( const Standard_Boolean )
52 {
53 }