/usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-DebugOutput.html is in libghc-opengl-doc 2.12.0.1-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.Rendering.OpenGL.GL.DebugOutput</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-OpenGL-GL-DebugOutput.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">OpenGL-2.12.0.1: A binding for the OpenGL graphics system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Sven Panne 2015</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Sven Panne <svenpanne@gmail.com></td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Graphics.Rendering.OpenGL.GL.DebugOutput</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Debug Messages</a></li><li><a href="#g:2">Debug Message Callback</a></li><li><a href="#g:3">Debug Message Log</a></li><li><a href="#g:4">Controlling Debug Messages</a></li><li><a href="#g:5">Externally Generated Messages</a></li><li><a href="#g:6">Debug Groups</a></li><li><a href="#g:7">Debug Labels</a></li><li><a href="#g:8">Asynchronous and Synchronous Debug Output</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module corresponds to section 20 (Debug Output) of the OpenGL 4.5
specs.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:debugOutput">debugOutput</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugMessage">DebugMessage</a> = <a href="#v:DebugMessage">DebugMessage</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugSource">DebugSource</a><ul class="subs"><li>= <a href="#v:DebugSourceAPI">DebugSourceAPI</a></li><li>| <a href="#v:DebugSourceShaderCompiler">DebugSourceShaderCompiler</a></li><li>| <a href="#v:DebugSourceWindowSystem">DebugSourceWindowSystem</a></li><li>| <a href="#v:DebugSourceThirdParty">DebugSourceThirdParty</a></li><li>| <a href="#v:DebugSourceApplication">DebugSourceApplication</a></li><li>| <a href="#v:DebugSourceOther">DebugSourceOther</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugType">DebugType</a><ul class="subs"><li>= <a href="#v:DebugTypeError">DebugTypeError</a></li><li>| <a href="#v:DebugTypeDeprecatedBehavior">DebugTypeDeprecatedBehavior</a></li><li>| <a href="#v:DebugTypeUndefinedBehavior">DebugTypeUndefinedBehavior</a></li><li>| <a href="#v:DebugTypePerformance">DebugTypePerformance</a></li><li>| <a href="#v:DebugTypePortability">DebugTypePortability</a></li><li>| <a href="#v:DebugTypeMarker">DebugTypeMarker</a></li><li>| <a href="#v:DebugTypePushGroup">DebugTypePushGroup</a></li><li>| <a href="#v:DebugTypePopGroup">DebugTypePopGroup</a></li><li>| <a href="#v:DebugTypeOther">DebugTypeOther</a></li></ul></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:DebugMessageID">DebugMessageID</a> = <a href="#v:DebugMessageID">DebugMessageID</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLuint">GLuint</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugSeverity">DebugSeverity</a><ul class="subs"><li>= <a href="#v:DebugSeverityHigh">DebugSeverityHigh</a></li><li>| <a href="#v:DebugSeverityMedium">DebugSeverityMedium</a></li><li>| <a href="#v:DebugSeverityLow">DebugSeverityLow</a></li><li>| <a href="#v:DebugSeverityNotification">DebugSeverityNotification</a></li></ul></li><li class="src short"><a href="#v:maxDebugMessageLength">maxDebugMessageLength</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a></li><li class="src short"><a href="#v:debugMessageCallback">debugMessageCallback</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()))</li><li class="src short"><a href="#v:maxDebugLoggedMessages">maxDebugLoggedMessages</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a></li><li class="src short"><a href="#v:debugLoggedMessages">debugLoggedMessages</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:MessageGroup">MessageGroup</a><ul class="subs"><li>= <a href="#v:MessageGroup">MessageGroup</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a>)</li><li>| <a href="#v:MessageGroupWithIDs">MessageGroupWithIDs</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a> [<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a>]</li></ul></li><li class="src short"><a href="#v:debugMessageControl">debugMessageControl</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:MessageGroup">MessageGroup</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a></li><li class="src short"><a href="#v:debugMessageInsert">debugMessageInsert</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugGroup">DebugGroup</a> = <a href="#v:DebugGroup">DebugGroup</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:pushDebugGroup">pushDebugGroup</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> -> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:popDebugGroup">popDebugGroup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:withDebugGroup">withDebugGroup</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> -> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:maxDebugGroupStackDepth">maxDebugGroupStackDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a></li><li class="src short"><span class="keyword">class</span> <a href="#t:CanBeLabeled">CanBeLabeled</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:objectLabel">objectLabel</a> :: a -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>)</li></ul></li><li class="src short"><a href="#v:maxLabelLength">maxLabelLength</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a></li><li class="src short"><a href="#v:debugOutputSynchronous">debugOutputSynchronous</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a></li></ul></div><div id="interface"><h1 id="g:1">Debug Messages</h1><div class="top"><p class="src"><a name="v:debugOutput" class="def">debugOutput</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugOutput" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugMessage" class="def">DebugMessage</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugMessage" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugMessage" class="def">DebugMessage</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DebugMessage" class="caption collapser" onclick="toggleSection('i:DebugMessage')">Instances</p><div id="section.i:DebugMessage" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-68" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-68" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-68" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugSource" class="def">DebugSource</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugSource" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugSourceAPI" class="def">DebugSourceAPI</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSourceShaderCompiler" class="def">DebugSourceShaderCompiler</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSourceWindowSystem" class="def">DebugSourceWindowSystem</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSourceThirdParty" class="def">DebugSourceThirdParty</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSourceApplication" class="def">DebugSourceApplication</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSourceOther" class="def">DebugSourceOther</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DebugSource" class="caption collapser" onclick="toggleSection('i:DebugSource')">Instances</p><div id="section.i:DebugSource" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-79" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-79" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-79" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugType" class="def">DebugType</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugType" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugTypeError" class="def">DebugTypeError</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypeDeprecatedBehavior" class="def">DebugTypeDeprecatedBehavior</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypeUndefinedBehavior" class="def">DebugTypeUndefinedBehavior</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypePerformance" class="def">DebugTypePerformance</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypePortability" class="def">DebugTypePortability</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypeMarker" class="def">DebugTypeMarker</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypePushGroup" class="def">DebugTypePushGroup</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypePopGroup" class="def">DebugTypePopGroup</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugTypeOther" class="def">DebugTypeOther</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DebugType" class="caption collapser" onclick="toggleSection('i:DebugType')">Instances</p><div id="section.i:DebugType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-112" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-112" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-112" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:DebugMessageID" class="def">DebugMessageID</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugMessageID" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugMessageID" class="def">DebugMessageID</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLuint">GLuint</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DebugMessageID" class="caption collapser" onclick="toggleSection('i:DebugMessageID')">Instances</p><div id="section.i:DebugMessageID" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-142" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-142" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-142" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugSeverity" class="def">DebugSeverity</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugSeverity" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugSeverityHigh" class="def">DebugSeverityHigh</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSeverityMedium" class="def">DebugSeverityMedium</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSeverityLow" class="def">DebugSeverityLow</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:DebugSeverityNotification" class="def">DebugSeverityNotification</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:DebugSeverity" class="caption collapser" onclick="toggleSection('i:DebugSeverity')">Instances</p><div id="section.i:DebugSeverity" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-151" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-151" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-151" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:maxDebugMessageLength" class="def">maxDebugMessageLength</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#maxDebugMessageLength" class="link">Source</a></p></div><h1 id="g:2">Debug Message Callback</h1><div class="top"><p class="src"><a name="v:debugMessageCallback" class="def">debugMessageCallback</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> ())) <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugMessageCallback" class="link">Source</a></p></div><h1 id="g:3">Debug Message Log</h1><div class="top"><p class="src"><a name="v:maxDebugLoggedMessages" class="def">maxDebugLoggedMessages</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#maxDebugLoggedMessages" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:debugLoggedMessages" class="def">debugLoggedMessages</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> [<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a>] <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugLoggedMessages" class="link">Source</a></p></div><h1 id="g:4">Controlling Debug Messages</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MessageGroup" class="def">MessageGroup</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#MessageGroup" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MessageGroup" class="def">MessageGroup</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSeverity">DebugSeverity</a>)</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:MessageGroupWithIDs" class="def">MessageGroupWithIDs</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugType">DebugType</a> [<a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a>]</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:MessageGroup" class="caption collapser" onclick="toggleSection('i:MessageGroup')">Instances</p><div id="section.i:MessageGroup" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:MessageGroup">MessageGroup</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-256" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:MessageGroup">MessageGroup</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-256" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:MessageGroup">MessageGroup</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-256" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:debugMessageControl" class="def">debugMessageControl</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:MessageGroup">MessageGroup</a> -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugMessageControl" class="link">Source</a></p></div><h1 id="g:5">Externally Generated Messages</h1><div class="top"><p class="src"><a name="v:debugMessageInsert" class="def">debugMessageInsert</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessage">DebugMessage</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugMessageInsert" class="link">Source</a></p></div><h1 id="g:6">Debug Groups</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugGroup" class="def">DebugGroup</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#DebugGroup" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugGroup" class="def">DebugGroup</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><a name="v:pushDebugGroup" class="def">pushDebugGroup</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> -> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#pushDebugGroup" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:popDebugGroup" class="def">popDebugGroup</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#popDebugGroup" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:withDebugGroup" class="def">withDebugGroup</a> :: <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugSource">DebugSource</a> -> <a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:DebugMessageID">DebugMessageID</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> a <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#withDebugGroup" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:maxDebugGroupStackDepth" class="def">maxDebugGroupStackDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#maxDebugGroupStackDepth" class="link">Source</a></p></div><h1 id="g:7">Debug Labels</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:CanBeLabeled" class="def">CanBeLabeled</a> a <span class="keyword">where</span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#CanBeLabeled" class="link">Source</a></p><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:objectLabel" class="def">objectLabel</a> :: a -> <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>) <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#objectLabel" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:CanBeLabeled" class="caption collapser" onclick="toggleSection('i:CanBeLabeled')">Instances</p><div id="section.i:CanBeLabeled" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-QueryObjects.html#t:QueryObject">QueryObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-51" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-FramebufferObjects.html#t:RenderbufferObject">RenderbufferObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-48" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-Texturing-Objects.html#t:TextureObject">TextureObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-48" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-FramebufferObjects-FramebufferObjects.html#t:FramebufferObject">FramebufferObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-47" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-Shaders-ProgramObjects.html#t:Program">Program</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-43" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-Shaders-ShaderObjects.html#t:Shader">Shader</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-36" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-DisplayLists.html#t:DisplayList">DisplayList</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-47" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrayObjects.html#t:VertexArrayObject">VertexArrayObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-45" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-BufferObjects.html#t:BufferObject">BufferObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-80" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Graphics-Rendering-OpenGL-GL-DebugOutput.html#t:CanBeLabeled">CanBeLabeled</a> <a href="Graphics-Rendering-OpenGL-GL-SyncObjects.html#t:SyncObject">SyncObject</a></span> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#line-48" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:maxLabelLength" class="def">maxLabelLength</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-openglraw-doc/html/Graphics-Rendering-OpenGL-Raw-Types.html#t:GLsizei">GLsizei</a> <a href="src/Graphics-Rendering-OpenGL-GL-QueryUtils.html#maxLabelLength" class="link">Source</a></p></div><h1 id="g:8">Asynchronous and Synchronous Debug Output</h1><div class="top"><p class="src"><a name="v:debugOutputSynchronous" class="def">debugOutputSynchronous</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="Graphics-Rendering-OpenGL-GL-VertexArrays.html#t:Capability">Capability</a> <a href="src/Graphics-Rendering-OpenGL-GL-DebugOutput.html#debugOutputSynchronous" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|