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

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

Graphics.GL.INTEL.PerformanceQuery

Contents

Description

 
Synopsis

Extension Support

gl_INTEL_performance_query :: Bool Source #

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

Enums

Functions

glBeginPerfQueryINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryHandle.

-> m () 

glCreatePerfQueryINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryId.

-> Ptr GLuint

queryHandle.

-> m () 

glDeletePerfQueryINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryHandle.

-> m () 

glEndPerfQueryINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryHandle.

-> m () 

glGetFirstPerfQueryIdINTEL Source #

Arguments

:: MonadIO m 
=> Ptr GLuint

queryId.

-> m () 

glGetNextPerfQueryIdINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryId.

-> Ptr GLuint

nextQueryId.

-> m () 

glGetPerfCounterInfoINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryId.

-> GLuint

counterId.

-> GLuint

counterNameLength.

-> Ptr GLchar

counterName.

-> GLuint

counterDescLength.

-> Ptr GLchar

counterDesc.

-> Ptr GLuint

counterOffset.

-> Ptr GLuint

counterDataSize.

-> Ptr GLuint

counterTypeEnum.

-> Ptr GLuint

counterDataTypeEnum.

-> Ptr GLuint64

rawCounterMaxValue.

-> m () 

glGetPerfQueryDataINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryHandle.

-> GLuint

flags.

-> GLsizei

dataSize.

-> Ptr a

data.

-> Ptr GLuint

bytesWritten.

-> m () 

glGetPerfQueryIdByNameINTEL Source #

Arguments

:: MonadIO m 
=> Ptr GLchar

queryName.

-> Ptr GLuint

queryId.

-> m () 

glGetPerfQueryInfoINTEL Source #

Arguments

:: MonadIO m 
=> GLuint

queryId.

-> GLuint

queryNameLength.

-> Ptr GLchar

queryName.

-> Ptr GLuint

dataSize.

-> Ptr GLuint

noCounters.

-> Ptr GLuint

noInstances.

-> Ptr GLuint

capsMask.

-> m ()