File: async.py

package info (click to toggle)
pyopengl 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 6,140 kB
  • sloc: python: 26,428; makefile: 2
file content (76 lines) | stat: -rw-r--r-- 2,342 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
'''OpenGL extension SGIX.async

Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_SGIX_async'
_DEPRECATED = False
GL_ASYNC_MARKER_SGIX = constant.Constant( 'GL_ASYNC_MARKER_SGIX', 0x8329 )
glget.addGLGetConstant( GL_ASYNC_MARKER_SGIX, (1,) )
glAsyncMarkerSGIX = platform.createExtensionFunction( 
'glAsyncMarkerSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLuint,),
doc='glAsyncMarkerSGIX(GLuint(marker)) -> None',
argNames=('marker',),
deprecated=_DEPRECATED,
)

glFinishAsyncSGIX = platform.createExtensionFunction( 
'glFinishAsyncSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLint, 
argTypes=(arrays.GLuintArray,),
doc='glFinishAsyncSGIX(GLuintArray(markerp)) -> constants.GLint',
argNames=('markerp',),
deprecated=_DEPRECATED,
)

glPollAsyncSGIX = platform.createExtensionFunction( 
'glPollAsyncSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLint, 
argTypes=(arrays.GLuintArray,),
doc='glPollAsyncSGIX(GLuintArray(markerp)) -> constants.GLint',
argNames=('markerp',),
deprecated=_DEPRECATED,
)

glGenAsyncMarkersSGIX = platform.createExtensionFunction( 
'glGenAsyncMarkersSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLuint, 
argTypes=(constants.GLsizei,),
doc='glGenAsyncMarkersSGIX(GLsizei(range)) -> constants.GLuint',
argNames=('range',),
deprecated=_DEPRECATED,
)

glDeleteAsyncMarkersSGIX = platform.createExtensionFunction( 
'glDeleteAsyncMarkersSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None, 
argTypes=(constants.GLuint,constants.GLsizei,),
doc='glDeleteAsyncMarkersSGIX(GLuint(marker), GLsizei(range)) -> None',
argNames=('marker','range',),
deprecated=_DEPRECATED,
)

glIsAsyncMarkerSGIX = platform.createExtensionFunction( 
'glIsAsyncMarkerSGIX',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLboolean, 
argTypes=(constants.GLuint,),
doc='glIsAsyncMarkerSGIX(GLuint(marker)) -> constants.GLboolean',
argNames=('marker',),
deprecated=_DEPRECATED,
)


def glInitAsyncSGIX():
    '''Return boolean indicating whether this extension is available'''
    return extensions.hasGLExtension( EXTENSION_NAME )