Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/opengl/backend.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
132 | * @return bool @c true if VSync support is available, @c false otherwise | 132 | * @return bool @c true if VSync support is available, @c false otherwise | ||
133 | */ | 133 | */ | ||
134 | bool syncsToVBlank() const { | 134 | bool syncsToVBlank() const { | ||
135 | return m_syncsToVBlank; | 135 | return m_syncsToVBlank; | ||
136 | } | 136 | } | ||
137 | /** | 137 | /** | ||
138 | * @brief Whether VSync blocks execution until the screen is in the retrace | 138 | * @brief Whether VSync blocks execution until the screen is in the retrace | ||
139 | * | 139 | * | ||
140 | * Case for waitVideoSync and non triple buffering buffer swaps | 140 | * Case for waitVideoSync and non triple buffering buffer swaps (triple buffering support | ||
141 | * has been removed). | ||||
141 | * | 142 | * | ||
zzag: The most sensible thing here is just remove "triple buffering" part and keep only waitVideoSync… | |||||
142 | */ | 143 | */ | ||
143 | bool blocksForRetrace() const { | 144 | bool blocksForRetrace() const { | ||
144 | return m_blocksForRetrace; | 145 | return m_blocksForRetrace; | ||
145 | } | 146 | } | ||
146 | /** | 147 | /** | ||
147 | * @brief Whether the backend uses direct rendering. | 148 | * @brief Whether the backend uses direct rendering. | ||
148 | * | 149 | * | ||
149 | * Some OpenGLScene modes require direct rendering. E.g. the OpenGL 2 should not be used | 150 | * Some OpenGLScene modes require direct rendering. E.g. the OpenGL 2 should not be used | ||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |
The most sensible thing here is just remove "triple buffering" part and keep only waitVideoSync, which is waitSync I guess.