GLDEBUGMESSAGECONTRO - Online Linux Manual PageSection : 3G
Updated : 01/20/2022
Source : [FIXME: source]
Note : [FIXME: manual]

NAMEglDebugMessageControl − control the reporting of debug messages in a debug context

C SPECIFICATIONvoid glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);

PARAMETERSsource The source of debug messages to enable or disable​. type The type of debug messages to enable or disable​. severity The severity of debug messages to enable or disable​. count The length of the array ids​. ids The address of an array of unsigned integers contianing the ids of the messages to enable or disable​. enabled A Boolean flag determining whether the selected messages should be enabled or disabled​.

DESCRIPTIONglDebugMessageControl controls the reporting of debug messages generated by a debug context​. The parameters source, type and severity form a filter to select messages from the pool of potential messages generated by the GL​. source may be GL_DEBUG_SOURCE_API, GL_DEBUG_SOURCE_WINDOW_SYSTEM_, GL_DEBUG_SOURCE_SHADER_COMPILER, GL_DEBUG_SOURCE_THIRD_PARTY, GL_DEBUG_SOURCE_APPLICATION, GL_DEBUG_SOURCE_OTHER to select messages generated by usage of the GL API, the window system, the shader compiler, third party tools or libraries, explicitly by the application or by some other source, respectively​. It may also take the value GL_DONT_CARE​. If source is not GL_DONT_CARE then only messages whose source matches source will be referenced​. type may be one of GL_DEBUG_TYPE_ERROR, GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR, GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR, GL_DEBUG_TYPE_PORTABILITY, GL_DEBUG_TYPE_PERFORMANCE, GL_DEBUG_TYPE_MARKER, GL_DEBUG_TYPE_PUSH_GROUP, GL_DEBUG_TYPE_POP_GROUP, or GL_DEBUG_TYPE_OTHER to indicate the type of messages describing GL errors, attempted use of deprecated features, triggering of undefined behavior, portability issues, performance notifications, markers, group push and pop events, and other types of messages, respectively​. It may also take the value GL_DONT_CARE​. If type is not GL_DONT_CARE then only messages whose type matches type will be referenced​. severity may be one of GL_DEBUG_SEVERITY_LOW, GL_DEBUG_SEVERITY_MEDIUM, or GL_DEBUG_SEVERITY_HIGH to select messages of low, medium or high severity messages or to GL_DEBUG_SEVERITY_NOTIFICATION for notifications​. It may also take the value GL_DONT_CARE​. If severity is not GL_DONT_CARE then only messages whose severity matches severity will be referenced​. ids contains a list of count message identifiers to select specific messages from the pool of available messages​. If count is zero then the value of ids is ignored​. Otherwise, only messages appearing in this list are selected​. In this case, source and type may not be GL_DONT_CARE and severity must be GL_DONT_CARE​. If enabled is GL_TRUE then messages that match the filter formed by source, type, severity and ids are enabled​. Otherwise, those messages are disabled​.

NOTESAlthough debug messages may be enabled in a non−debug context, the quantity and detail of such messages may be substantially inferior to those in a debug context​. In particular, a valid implementation of the debug message queue in a non−debug context may produce no messages at all​. GL_DEBUG_TYPE_MARKER, GL_DEBUG_TYPE_PUSH_GROUP, GL_DEBUG_TYPE_POP_GROUP, and GL_DEBUG_SEVERITY_NOTIFICATION are available only if the GL version is 4​.3 or higher​.

ERRORSGL_INVALID_VALUE is generated if count is negative​. GL_INVALID_ENUM is generated if any of source, type or severity is not one of the accepted interface types​. GL_INVALID_OPERATION is generated if count is non−zero and either source or type is GL_DONT_CARE or if severity is not GL_DONT_CARE​.

VERSION SUPPORT OpenGL Version Function / Feature Name 2​.0 none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'> 2​.1 3​.0 3​.1 3​.2 3​.3 4​.0 4​.1 4​.2 4​.3 4​.4 4​.5 glDebugMessageControl

SEE ALSOglDebugMessageInsert(), glDebugMessageCallback(), glGetDebugMessageLog()​.

COPYRIGHTCopyright © 2013−2014 Khronos Group​. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1​.0, 8 June 1999​. http://opencontent​.org/openpub/​.

COPYRIGHT
Copyright © 2013-2014 Khronos Group
0
Johanes Gumabo
Data Size   :   23,972 byte
man-glDebugMessageControl.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 183,031
Visitor ID   :     :  
Visitor IP   :   18.217.89.130   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.