OpenGLRaw-3.3.4.1: A raw binding for the OpenGL graphics system

Copyright | (c) Sven Panne 2019
License | BSD3
Maintainer | Sven Panne <svenpanne@gmail.com>
Stability | stable
Portability | portable
Safe Haskell | None
Language | Haskell2010

Graphics.GL.AMD.DebugOutput

Contents

- Extension Support
- Enums
- Functions

Description

Synopsis

- glGetAMDDebugOutput :: MonadIO m => m Bool
- gl_AMD_debug_output :: Bool
- pattern GL_DEBUG_CATEGORY_API_ERROR_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_APPLICATION_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_DEPRECATION_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_OTHER_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_PERFORMANCE_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD :: GLenum
- pattern GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD :: GLenum
- pattern GL_DEBUG_LOGGED_MESSAGES_AMD :: GLenum
- pattern GL_DEBUG_SEVERITY_HIGH_AMD :: GLenum
- pattern GL_DEBUG_SEVERITY_LOW_AMD :: GLenum
- pattern GL_DEBUG_SEVERITY_MEDIUM_AMD :: GLenum
- pattern GL_MAX_DEBUG_LOGGED_MESSAGES_AMD :: GLenum
- pattern GL_MAX_DEBUG_MESSAGE_LENGTH_AMD :: GLenum
- glDebugMessageCallbackAMD :: MonadIO m => GLDEBUGPROCAMD -> Ptr a -> m ()
- glDebugMessageEnableAMD :: MonadIO m => GLenum -> GLenum -> GLsizei -> Ptr GLuint -> GLboolean -> m ()
- glDebugMessageInsertAMD :: MonadIO m => GLenum -> GLenum -> GLuint -> GLsizei -> Ptr GLchar -> m ()
- glGetDebugMessageLogAMD :: MonadIO m => GLuint -> GLsizei -> Ptr GLenum -> Ptr GLuint -> Ptr GLuint -> Ptr GLsizei -> Ptr GLchar -> m GLuint

# Extension Support

glGetAMDDebugOutput :: MonadIO m => m Bool Source #

Is the AMD_debug_output extension supported?

gl_AMD_debug_output :: Bool Source #

Is the AMD_debug_output extension supported? Note that in the presence of multiple contexts with different capabilities, this might be wrong. Use `glGetAMDDebugOutput` in those cases instead.

# Enums

pattern GL_DEBUG_CATEGORY_API_ERROR_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_APPLICATION_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_DEPRECATION_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_OTHER_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_PERFORMANCE_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD :: GLenum Source #

pattern GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD :: GLenum Source #

pattern GL_DEBUG_LOGGED_MESSAGES_AMD :: GLenum Source #

pattern GL_DEBUG_SEVERITY_HIGH_AMD :: GLenum Source #

pattern GL_DEBUG_SEVERITY_LOW_AMD :: GLenum Source #

pattern GL_DEBUG_SEVERITY_MEDIUM_AMD :: GLenum Source #

pattern GL_MAX_DEBUG_LOGGED_MESSAGES_AMD :: GLenum Source #

pattern GL_MAX_DEBUG_MESSAGE_LENGTH_AMD :: GLenum Source #

# Functions

glDebugMessageCallbackAMD Source #

Arguments

:: MonadIO m |
=> GLDEBUGPROCAMD | `callback`.
-> Ptr a | `userParam`.
-> m () |

glDebugMessageEnableAMD Source #

Arguments

:: MonadIO m |
=> GLenum | `category`.
-> GLenum | `severity` of type DebugSeverity.
-> GLsizei | `count`.
-> Ptr GLuint | `ids` pointing to `count` elements of type `GLuint`.
-> GLboolean | `enabled` of type Boolean.
-> m () |

glDebugMessageInsertAMD Source #

Arguments

:: MonadIO m |
=> GLenum | `category`.
-> GLenum | `severity` of type DebugSeverity.
-> GLuint | `id`.
-> GLsizei | `length`.
-> Ptr GLchar | `buf` pointing to `length` elements of type `GLchar`.
-> m () |

glGetDebugMessageLogAMD Source #

Arguments

:: MonadIO m |
=> GLuint | `count`.
-> GLsizei | `bufSize`.
-> Ptr GLenum | `categories` pointing to `count` elements of type `GLenum`.
-> Ptr GLuint | `severities` pointing to `count` elements of type DebugSeverity.
-> Ptr GLuint | `ids` pointing to `count` elements of type `GLuint`.
-> Ptr GLsizei | `lengths` pointing to `count` elements of type `GLsizei`.
-> Ptr GLchar | `message` pointing to `bufSize` elements of type `GLchar`.
-> m GLuint |