//------------------------------------------------------------------ void GLES2HardwareOcclusionQuery::endOcclusionQuery() { #ifdef GL_EXT_occlusion_query_boolean glEndQueryEXT(GL_ANY_SAMPLES_PASSED_EXT); GL_CHECK_ERROR; #endif }
//------------------------------------------------------------------ void GLES2HardwareOcclusionQuery::endOcclusionQuery() { if(getGLSupport()->checkExtension("GL_EXT_occlusion_query_boolean") || gleswIsSupported(3, 0)) { OGRE_CHECK_GL_ERROR(glEndQueryEXT(GL_ANY_SAMPLES_PASSED_EXT)); } }
//------------------------------------------------------------------ void GLES2HardwareOcclusionQuery::endOcclusionQuery() { #ifdef GL_EXT_occlusion_query_boolean OGRE_IF_IOS_VERSION_IS_GREATER_THAN(5.0) OGRE_CHECK_GL_ERROR(glEndQueryEXT(GL_ANY_SAMPLES_PASSED_EXT)); #endif }
void AbstractQuery::end() { #ifdef MAGNUM_BUILD_DEPRECATED CORRADE_INTERNAL_ASSERT(_target); #endif #ifndef MAGNUM_TARGET_GLES2 glEndQuery(_target); #else glEndQueryEXT(_target); #endif }