DEFINE_STANDARD_RTTIEXT(OpenGl_GraphicDriver,Graphic3d_GraphicDriver)
+public:
+
+ //! State counter for OpenGl structures.
+ OpenGl_StateCounter* GetStateCounter() const { return &myStateCounter; }
+
+ //! Returns unique ID for primitive arrays.
+ Standard_Size GetNextPrimitiveArrayUID() const { return myUIDGenerator.Increment(); }
+
protected:
Standard_Boolean myIsOwnContext; //!< indicates that shared context has been created within OpenGl_GraphicDriver
void* myEglConfig; //!< EGL configuration : EGLConfig
#endif
- Handle(OpenGl_Caps) myCaps;
- NCollection_Map<Handle(OpenGl_View)> myMapOfView;
- NCollection_DataMap<Standard_Integer, OpenGl_Structure*> myMapOfStructure;
-
-public:
+ Handle(OpenGl_Caps) myCaps;
+ NCollection_Map<Handle(OpenGl_View)> myMapOfView;
+ NCollection_DataMap<Standard_Integer, OpenGl_Structure*> myMapOfStructure;
TColStd_MapOfInteger myLayerIds;
TColStd_SequenceOfInteger myLayerSeq;
OpenGl_MapOfZLayerSettings myMapOfZLayerSettings;
-public:
-
- //! State counter for OpenGl structures.
- OpenGl_StateCounter* GetStateCounter() const { return &myStateCounter; }
-
- //! Returns unique ID for primitive arrays.
- Standard_Size GetNextPrimitiveArrayUID() const { return myUIDGenerator.Increment(); }
-
-protected:
-
mutable OpenGl_StateCounter myStateCounter; //!< State counter for OpenGl structures.
mutable OpenGl_StateCounter myUIDGenerator; //!< Unique ID counter for primitive arrays.