| 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 | { |
nothing calls this directly
no test coverage detected