1'''Autogenerated by xml_generate script, do not edit!''' 2from OpenGL import platform as _p, arrays 3# Code generation uses this 4from OpenGL.raw.GL import _types as _cs 5# End users want this... 6from OpenGL.raw.GL._types import * 7from OpenGL.raw.GL import _errors 8from OpenGL.constant import Constant as _C 9 10import ctypes 11_EXTENSION_NAME = 'GL_AMD_performance_monitor' 12def _f( function ): 13 return _p.createFunction( function,_p.PLATFORM.GL,'GL_AMD_performance_monitor',error_checker=_errors._error_checker) 14GL_COUNTER_RANGE_AMD=_C('GL_COUNTER_RANGE_AMD',0x8BC1) 15GL_COUNTER_TYPE_AMD=_C('GL_COUNTER_TYPE_AMD',0x8BC0) 16GL_PERCENTAGE_AMD=_C('GL_PERCENTAGE_AMD',0x8BC3) 17GL_PERFMON_RESULT_AMD=_C('GL_PERFMON_RESULT_AMD',0x8BC6) 18GL_PERFMON_RESULT_AVAILABLE_AMD=_C('GL_PERFMON_RESULT_AVAILABLE_AMD',0x8BC4) 19GL_PERFMON_RESULT_SIZE_AMD=_C('GL_PERFMON_RESULT_SIZE_AMD',0x8BC5) 20GL_UNSIGNED_INT64_AMD=_C('GL_UNSIGNED_INT64_AMD',0x8BC2) 21@_f 22@_p.types(None,_cs.GLuint) 23def glBeginPerfMonitorAMD(monitor):pass 24@_f 25@_p.types(None,_cs.GLsizei,arrays.GLuintArray) 26def glDeletePerfMonitorsAMD(n,monitors):pass 27@_f 28@_p.types(None,_cs.GLuint) 29def glEndPerfMonitorAMD(monitor):pass 30@_f 31@_p.types(None,_cs.GLsizei,arrays.GLuintArray) 32def glGenPerfMonitorsAMD(n,monitors):pass 33@_f 34@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLsizei,arrays.GLuintArray,arrays.GLintArray) 35def glGetPerfMonitorCounterDataAMD(monitor,pname,dataSize,data,bytesWritten):pass 36@_f 37@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLenum,ctypes.c_void_p) 38def glGetPerfMonitorCounterInfoAMD(group,counter,pname,data):pass 39@_f 40@_p.types(None,_cs.GLuint,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) 41def glGetPerfMonitorCounterStringAMD(group,counter,bufSize,length,counterString):pass 42@_f 43@_p.types(None,_cs.GLuint,arrays.GLintArray,arrays.GLintArray,_cs.GLsizei,arrays.GLuintArray) 44def glGetPerfMonitorCountersAMD(group,numCounters,maxActiveCounters,counterSize,counters):pass 45@_f 46@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) 47def glGetPerfMonitorGroupStringAMD(group,bufSize,length,groupString):pass 48@_f 49@_p.types(None,arrays.GLintArray,_cs.GLsizei,arrays.GLuintArray) 50def glGetPerfMonitorGroupsAMD(numGroups,groupsSize,groups):pass 51@_f 52@_p.types(None,_cs.GLuint,_cs.GLboolean,_cs.GLuint,_cs.GLint,arrays.GLuintArray) 53def glSelectPerfMonitorCountersAMD(monitor,enable,group,numCounters,counterList):pass 54