Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
137 | * broke (e.g. triggered a crash in a previous run). | 137 | * broke (e.g. triggered a crash in a previous run). | ||
138 | * | 138 | * | ||
139 | * Default implementation returns @c false. | 139 | * Default implementation returns @c false. | ||
140 | * @see createOpenGLSafePoint | 140 | * @see createOpenGLSafePoint | ||
141 | **/ | 141 | **/ | ||
142 | virtual bool openGLCompositingIsBroken() const; | 142 | virtual bool openGLCompositingIsBroken() const; | ||
143 | enum class OpenGLSafePoint { | 143 | enum class OpenGLSafePoint { | ||
144 | PreInit, | 144 | PreInit, | ||
145 | PostInit | 145 | PostInit, | ||
146 | PreFirstFrame, | ||||
147 | PostFirstFrame | ||||
146 | }; | 148 | }; | ||
147 | /** | 149 | /** | ||
148 | * This method is invoked before and after creating the OpenGL rendering Scene. | 150 | * This method is invoked before and after creating the OpenGL rendering Scene. | ||
149 | * An implementing Platform can use it to detect crashes triggered by the OpenGL implementation. | 151 | * An implementing Platform can use it to detect crashes triggered by the OpenGL implementation. | ||
150 | * This can be used for @link{openGLCompositingIsBroken}. | 152 | * This can be used for @link{openGLCompositingIsBroken}. | ||
151 | * | 153 | * | ||
152 | * The default implementation does nothing. | 154 | * The default implementation does nothing. | ||
153 | * @see openGLCompositingIsBroken. | 155 | * @see openGLCompositingIsBroken. | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |