MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / beginProfileEvent

Method beginProfileEvent

RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:3528–3536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3526 }
3527
3528 void GL3PlusRenderSystem::beginProfileEvent( const String &eventName )
3529 {
3530 markProfileEvent( "Begin Event: " + eventName );
3531 if( mHasGL43 || mGLSupport->checkExtension( "ARB_debug_group" ) )
3532 {
3533 OCGE( glPushDebugGroup( GL_DEBUG_SOURCE_THIRD_PARTY, 0,
3534 static_cast<GLint>( eventName.length() ), eventName.c_str() ) );
3535 }
3536 }
3537
3538 void GL3PlusRenderSystem::endProfileEvent()
3539 {

Callers

nothing calls this directly

Calls 3

checkExtensionMethod · 0.45
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected