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

Method markProfileEvent

RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:3545–3556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3543 }
3544
3545 void GL3PlusRenderSystem::markProfileEvent( const String &eventName )
3546 {
3547 if( eventName.empty() )
3548 return;
3549
3550 if( mHasGL43 || mGLSupport->checkExtension( "GL_KHR_debug" ) )
3551 {
3552 glDebugMessageInsert( GL_DEBUG_SOURCE_THIRD_PARTY, GL_DEBUG_TYPE_PERFORMANCE, 0,
3553 GL_DEBUG_SEVERITY_LOW, static_cast<GLint>( eventName.length() ),
3554 eventName.c_str() );
3555 }
3556 }
3557
3558 void GL3PlusRenderSystem::debugAnnotationPush( const String &event )
3559 {

Callers

nothing calls this directly

Calls 4

emptyMethod · 0.45
checkExtensionMethod · 0.45
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected