Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_Context.h
| Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | public: | ||||
| * Stereo visual created. Only necessary for 'real' stereo support, | * Stereo visual created. Only necessary for 'real' stereo support, | ||||
| * ie quad buffered stereo. This is not always possible, depends on | * ie quad buffered stereo. This is not always possible, depends on | ||||
| * the graphics h/w | * the graphics h/w | ||||
| */ | */ | ||||
| inline bool isStereoVisual() const { | inline bool isStereoVisual() const { | ||||
| return m_stereoVisual; | return m_stereoVisual; | ||||
| } | } | ||||
| /** Number of samples used in anti-aliasing, set to 0 if no AA **/ | /** Number of samples used in anti-aliasing, set to 0 if no AA */ | ||||
| inline GHOST_TUns16 getNumOfAASamples() const { | inline GHOST_TUns16 getNumOfAASamples() const { | ||||
| return m_numOfAASamples; | return m_numOfAASamples; | ||||
| } | } | ||||
| protected: | protected: | ||||
| void initContextGLEW(); | void initContextGLEW(); | ||||
| bool m_stereoVisual; | bool m_stereoVisual; | ||||
| Show All 26 Lines | |||||