gl-0.9: Complete OpenGL raw bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.Ext.AMD.PerformanceMonitor

Synopsis

Extension Support

gl_AMD_performance_monitor :: Bool Source #

Checks that the GL_AMD_performance_monitor extension is available.

GL_AMD_performance_monitor

glDeletePerfMonitorsAMD :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glDeletePerfMonitorsAMD n monitors

The length of monitors should be n.

glGenPerfMonitorsAMD :: MonadIO m => GLsizei -> Ptr GLuint -> m () Source #

Usage: glGenPerfMonitorsAMD n monitors

The length of monitors should be n.

glGetPerfMonitorCounterDataAMD :: MonadIO m => GLuint -> GLenum -> GLsizei -> Ptr GLuint -> Ptr GLint -> m () Source #

Usage: glGetPerfMonitorCounterDataAMD monitor pname dataSize data bytesWritten

The length of data should be dataSize.

The length of bytesWritten should be 1.

glGetPerfMonitorCounterInfoAMD :: MonadIO m => GLuint -> GLuint -> GLenum -> Ptr () -> m () Source #

Usage: glGetPerfMonitorCounterInfoAMD group counter pname data

The length of data should be COMPSIZE(pname).

glGetPerfMonitorCounterStringAMD :: MonadIO m => GLuint -> GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #

Usage: glGetPerfMonitorCounterStringAMD group counter bufSize length counterString

The length of length should be 1.

The length of counterString should be bufSize.

glGetPerfMonitorCountersAMD :: MonadIO m => GLuint -> Ptr GLint -> Ptr GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glGetPerfMonitorCountersAMD group numCounters maxActiveCounters counterSize counters

The length of numCounters should be 1.

The length of maxActiveCounters should be 1.

The length of counters should be counterSize.

glGetPerfMonitorGroupStringAMD :: MonadIO m => GLuint -> GLsizei -> Ptr GLsizei -> Ptr GLchar -> m () Source #

Usage: glGetPerfMonitorGroupStringAMD group bufSize length groupString

The length of length should be 1.

The length of groupString should be bufSize.

glGetPerfMonitorGroupsAMD :: MonadIO m => Ptr GLint -> GLsizei -> Ptr GLuint -> m () Source #

Usage: glGetPerfMonitorGroupsAMD numGroups groupsSize groups

The length of numGroups should be 1.

The length of groups should be groupsSize.

glSelectPerfMonitorCountersAMD :: MonadIO m => GLuint -> GLboolean -> GLuint -> GLint -> Ptr GLuint -> m () Source #

Usage: glSelectPerfMonitorCountersAMD monitor enable group numCounters counterList

The parameter enable is a Boolean, one of: GL_FALSE, GL_TRUE.

The length of counterList should be numCounters.

pattern GL_COUNTER_RANGE_AMD :: (Eq a, Num a) => a Source #

pattern GL_COUNTER_TYPE_AMD :: (Eq a, Num a) => a Source #

pattern GL_PERCENTAGE_AMD :: (Eq a, Num a) => a Source #

pattern GL_PERFMON_RESULT_AMD :: (Eq a, Num a) => a Source #

pattern GL_PERFMON_RESULT_SIZE_AMD :: (Eq a, Num a) => a Source #

pattern GL_UNSIGNED_INT64_AMD :: (Eq a, Num a) => a Source #