1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0028907: Coding Rules, OpenGl_GraphicDriver - fix class fields accidentally marked public

This commit is contained in:
kgv
2017-07-10 11:24:29 +03:00
parent bfcbe940bb
commit c45e639d66

View File

@@ -205,6 +205,14 @@ public:
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
@@ -218,22 +226,10 @@ protected:
NCollection_Map<Handle(OpenGl_View)> myMapOfView;
NCollection_DataMap<Standard_Integer, OpenGl_Structure*> myMapOfStructure;
public:
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.