1 // File OpenGl_GraphicDriver_713.cxx
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).
9 #include <Graphic3d_GraphicDriver.jxx>
10 #include <Aspect_DriverDefinitionError.hxx>
12 #define BUC61044 /* 25/10/01 SAV ; added functionality to control gl depth testing
14 #define BUC61045 /* 25/10/01 SAV ; added functionality to control gl lighting
18 void Graphic3d_GraphicDriver::SetDepthTestEnabled( const Graphic3d_CView&, const Standard_Boolean ) const {
21 Standard_Boolean Graphic3d_GraphicDriver::IsDepthTestEnabled( const Graphic3d_CView& ) const {
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
34 void Graphic3d_GraphicDriver::SetGLLightEnabled( const Graphic3d_CView&, const Standard_Boolean ) const {
37 Standard_Boolean Graphic3d_GraphicDriver::IsGLLightEnabled( const Graphic3d_CView& ) const {
42 void Graphic3d_GraphicDriver :: PrimitiveArray ( const Graphic3d_CGroup&,const Graphic3d_PrimitiveArray&,const Standard_Boolean) {
46 void Graphic3d_GraphicDriver :: UserDraw ( const Graphic3d_CGroup&,
47 const Graphic3d_CUserDraw& )
51 void Graphic3d_GraphicDriver::EnableVBO( const Standard_Boolean )