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

Copyright(c) Sven Panne 2018
LicenseBSD3
MaintainerSven Panne <svenpanne@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.GL.AMD.PerformanceMonitor

Contents

Description

 

Synopsis

Extension Support

gl_AMD_performance_monitor :: Bool Source #

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

Enums

Functions

glBeginPerfMonitorAMD Source #

Arguments

:: MonadIO m 
=> GLuint

monitor.

-> m () 

glDeletePerfMonitorsAMD Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

monitors pointing to n elements of type GLuint.

-> m () 

glEndPerfMonitorAMD Source #

Arguments

:: MonadIO m 
=> GLuint

monitor.

-> m () 

glGenPerfMonitorsAMD Source #

Arguments

:: MonadIO m 
=> GLsizei

n.

-> Ptr GLuint

monitors pointing to n elements of type GLuint.

-> m () 

glGetPerfMonitorCounterDataAMD Source #

Arguments

:: MonadIO m 
=> GLuint

monitor.

-> GLenum

pname.

-> GLsizei

dataSize.

-> Ptr GLuint

data pointing to dataSize elements of type GLuint.

-> Ptr GLint

bytesWritten pointing to 1 element of type GLint.

-> m () 

glGetPerfMonitorCounterInfoAMD Source #

Arguments

:: MonadIO m 
=> GLuint

group.

-> GLuint

counter.

-> GLenum

pname.

-> Ptr a

data pointing to COMPSIZE(pname) elements of type a.

-> m () 

glGetPerfMonitorCounterStringAMD Source #

Arguments

:: MonadIO m 
=> GLuint

group.

-> GLuint

counter.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

counterString pointing to bufSize elements of type GLchar.

-> m () 

glGetPerfMonitorCountersAMD Source #

Arguments

:: MonadIO m 
=> GLuint

group.

-> Ptr GLint

numCounters pointing to 1 element of type GLint.

-> Ptr GLint

maxActiveCounters pointing to 1 element of type GLint.

-> GLsizei

counterSize.

-> Ptr GLuint

counters pointing to counterSize elements of type GLuint.

-> m () 

glGetPerfMonitorGroupStringAMD Source #

Arguments

:: MonadIO m 
=> GLuint

group.

-> GLsizei

bufSize.

-> Ptr GLsizei

length pointing to 1 element of type GLsizei.

-> Ptr GLchar

groupString pointing to bufSize elements of type GLchar.

-> m () 

glGetPerfMonitorGroupsAMD Source #

Arguments

:: MonadIO m 
=> Ptr GLint

numGroups pointing to 1 element of type GLint.

-> GLsizei

groupsSize.

-> Ptr GLuint

groups pointing to groupsSize elements of type GLuint.

-> m () 

glSelectPerfMonitorCountersAMD Source #

Arguments

:: MonadIO m 
=> GLuint

monitor.

-> GLboolean

enable of type Boolean.

-> GLuint

group.

-> GLint

numCounters.

-> Ptr GLuint

counterList pointing to numCounters elements of type GLuint.

-> m ()