1'''Autogenerated by xml_generate script, do not edit!'''
2from OpenGL import platform as _p, arrays
3# Code generation uses this
4from OpenGL.raw.EGL import _types as _cs
5# End users want this...
6from OpenGL.raw.EGL._types import *
7from OpenGL.raw.EGL import _errors
8from OpenGL.constant import Constant as _C
9
10import ctypes
11_EXTENSION_NAME = 'EGL_KHR_stream'
12def _f( function ):
13    return _p.createFunction( function,_p.PLATFORM.EGL,'EGL_KHR_stream',error_checker=_errors._error_checker)
14EGL_BAD_STATE_KHR=_C('EGL_BAD_STATE_KHR',0x321C)
15EGL_BAD_STREAM_KHR=_C('EGL_BAD_STREAM_KHR',0x321B)
16EGL_CONSUMER_FRAME_KHR=_C('EGL_CONSUMER_FRAME_KHR',0x3213)
17EGL_CONSUMER_LATENCY_USEC_KHR=_C('EGL_CONSUMER_LATENCY_USEC_KHR',0x3210)
18# EGL_NO_STREAM_KHR=_C('EGL_NO_STREAM_KHR',((EGLStreamKHR)0))
19EGL_PRODUCER_FRAME_KHR=_C('EGL_PRODUCER_FRAME_KHR',0x3212)
20EGL_STREAM_STATE_CONNECTING_KHR=_C('EGL_STREAM_STATE_CONNECTING_KHR',0x3216)
21EGL_STREAM_STATE_CREATED_KHR=_C('EGL_STREAM_STATE_CREATED_KHR',0x3215)
22EGL_STREAM_STATE_DISCONNECTED_KHR=_C('EGL_STREAM_STATE_DISCONNECTED_KHR',0x321A)
23EGL_STREAM_STATE_EMPTY_KHR=_C('EGL_STREAM_STATE_EMPTY_KHR',0x3217)
24EGL_STREAM_STATE_KHR=_C('EGL_STREAM_STATE_KHR',0x3214)
25EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR=_C('EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR',0x3218)
26EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR=_C('EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR',0x3219)
27@_f
28@_p.types(_cs.EGLStreamKHR,_cs.EGLDisplay,arrays.GLintArray)
29def eglCreateStreamKHR(dpy,attrib_list):pass
30@_f
31@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLStreamKHR)
32def eglDestroyStreamKHR(dpy,stream):pass
33@_f
34@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLStreamKHR,_cs.EGLenum,arrays.GLintArray)
35def eglQueryStreamKHR(dpy,stream,attribute,value):pass
36@_f
37@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLStreamKHR,_cs.EGLenum,arrays.GLuint64Array)
38def eglQueryStreamu64KHR(dpy,stream,attribute,value):pass
39@_f
40@_p.types(_cs.EGLBoolean,_cs.EGLDisplay,_cs.EGLStreamKHR,_cs.EGLenum,_cs.EGLint)
41def eglStreamAttribKHR(dpy,stream,attribute,value):pass
42