File: gpu_association.py

package info (click to toggle)
pyopengl 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,184 kB
  • ctags: 21,473
  • sloc: python: 80,468; makefile: 4
file content (50 lines) | stat: -rw-r--r-- 2,102 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
'''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.WGL import _types as _cs
# End users want this...
from OpenGL.raw.WGL._types import *
from OpenGL.raw.WGL import _errors
from OpenGL.constant import Constant as _C

import ctypes
_EXTENSION_NAME = 'WGL_AMD_gpu_association'
def _f( function ):
    return _p.createFunction( function,_p.PLATFORM.WGL,'WGL_AMD_gpu_association',error_checker=_errors._error_checker)
WGL_GPU_CLOCK_AMD=_C('WGL_GPU_CLOCK_AMD',0x21A4)
WGL_GPU_FASTEST_TARGET_GPUS_AMD=_C('WGL_GPU_FASTEST_TARGET_GPUS_AMD',0x21A2)
WGL_GPU_NUM_PIPES_AMD=_C('WGL_GPU_NUM_PIPES_AMD',0x21A5)
WGL_GPU_NUM_RB_AMD=_C('WGL_GPU_NUM_RB_AMD',0x21A7)
WGL_GPU_NUM_SIMD_AMD=_C('WGL_GPU_NUM_SIMD_AMD',0x21A6)
WGL_GPU_NUM_SPI_AMD=_C('WGL_GPU_NUM_SPI_AMD',0x21A8)
WGL_GPU_OPENGL_VERSION_STRING_AMD=_C('WGL_GPU_OPENGL_VERSION_STRING_AMD',0x1F02)
WGL_GPU_RAM_AMD=_C('WGL_GPU_RAM_AMD',0x21A3)
WGL_GPU_RENDERER_STRING_AMD=_C('WGL_GPU_RENDERER_STRING_AMD',0x1F01)
WGL_GPU_VENDOR_AMD=_C('WGL_GPU_VENDOR_AMD',0x1F00)
@_f
@_p.types(_cs.VOID,_cs.HGLRC,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLint,_cs.GLbitfield,_cs.GLenum)
def wglBlitContextFramebufferAMD(dstCtx,srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter):pass
@_f
@_p.types(_cs.HGLRC,_cs.UINT)
def wglCreateAssociatedContextAMD(id):pass
@_f
@_p.types(_cs.HGLRC,_cs.UINT,_cs.HGLRC,ctypes.POINTER(_cs.c_int))
def wglCreateAssociatedContextAttribsAMD(id,hShareContext,attribList):pass
@_f
@_p.types(_cs.BOOL,_cs.HGLRC)
def wglDeleteAssociatedContextAMD(hglrc):pass
@_f
@_p.types(_cs.UINT,_cs.HGLRC)
def wglGetContextGPUIDAMD(hglrc):pass
@_f
@_p.types(_cs.HGLRC,)
def wglGetCurrentAssociatedContextAMD():pass
@_f
@_p.types(_cs.UINT,_cs.UINT,ctypes.POINTER(_cs.UINT))
def wglGetGPUIDsAMD(maxCount,ids):pass
@_f
@_p.types(_cs.INT,_cs.UINT,_cs.c_int,_cs.GLenum,_cs.UINT,ctypes.c_void_p)
def wglGetGPUInfoAMD(id,property,dataType,size,data):pass
@_f
@_p.types(_cs.BOOL,_cs.HGLRC)
def wglMakeAssociatedContextCurrentAMD(hglrc):pass