CGSWindowID = Typedef('CGSWindowID','long long') CGSSurfaceID = Typedef('CGSSurfaceID','long long') cgl.add(CGLContextObj) cgl.add(CGLPixelFormatObj) cgl.add(CGLRendererInfoObj) cgl.add(CGLPBufferObj) cgl.add(CGLShareGroupObj) cgl.add(IOSurfaceRef) cgl.add(CGSConnectionID) cgl.add(CGSWindowID) cgl.add(CGSSurfaceID) CGLPixelFormatAttribute = Enum('CGLPixelFormatAttribute') cgl.add(CGLPixelFormatAttribute) kCGLPFAAllRenderers = Enumerant('kCGLPFAAllRenderers', 0x0001, ) kCGLPFATripleBuffer = Enumerant('kCGLPFATripleBuffer', 0x0003, ) kCGLPFADoubleBuffer = Enumerant('kCGLPFADoubleBuffer', 0x0005, ) kCGLPFAStereo = Enumerant('kCGLPFAStereo', 0x0006, ) kCGLPFAAuxBuffers = Enumerant('kCGLPFAAuxBuffers', 0x0007, ) kCGLPFAColorSize = Enumerant('kCGLPFAColorSize', 0x0008, ) kCGLPFAAlphaSize = Enumerant('kCGLPFAAlphaSize', 0x000b, ) kCGLPFADepthSize = Enumerant('kCGLPFADepthSize', 0x000c, ) kCGLPFAStencilSize = Enumerant('kCGLPFAStencilSize', 0x000d, ) kCGLPFAAccumSize = Enumerant('kCGLPFAAccumSize', 0x000e, ) kCGLPFAMinimumPolicy = Enumerant('kCGLPFAMinimumPolicy', 0x0033, ) kCGLPFAMaximumPolicy = Enumerant('kCGLPFAMaximumPolicy', 0x0034, ) kCGLPFAOffScreen = Enumerant('kCGLPFAOffScreen', 0x0035, )
CGSWindowID = Typedef('CGSWindowID','void *') CGSSurfaceID = Typedef('CGSSurfaceID','void *') cgl.add(CGLContextObj) cgl.add(CGLPixelFormatObj) cgl.add(CGLRendererInfoObj) cgl.add(CGLPBufferObj) cgl.add(CGLShareGroupObj) cgl.add(IOSurfaceRef) cgl.add(CGSConnectionID) cgl.add(CGSWindowID) cgl.add(CGSSurfaceID) CGLPixelFormatAttribute = Enum('CGLPixelFormatAttribute') cgl.add(CGLPixelFormatAttribute) kCGLPFAAllRenderers = Enumerant('kCGLPFAAllRenderers', 0x0001, ) kCGLPFATripleBuffer = Enumerant('kCGLPFATripleBuffer', 0x0003, ) kCGLPFADoubleBuffer = Enumerant('kCGLPFADoubleBuffer', 0x0005, ) kCGLPFAStereo = Enumerant('kCGLPFAStereo', 0x0006, ) kCGLPFAAuxBuffers = Enumerant('kCGLPFAAuxBuffers', 0x0007, ) kCGLPFAColorSize = Enumerant('kCGLPFAColorSize', 0x0008, ) kCGLPFAAlphaSize = Enumerant('kCGLPFAAlphaSize', 0x000b, ) kCGLPFADepthSize = Enumerant('kCGLPFADepthSize', 0x000c, ) kCGLPFAStencilSize = Enumerant('kCGLPFAStencilSize', 0x000d, ) kCGLPFAAccumSize = Enumerant('kCGLPFAAccumSize', 0x000e, ) kCGLPFAMinimumPolicy = Enumerant('kCGLPFAMinimumPolicy', 0x0033, ) kCGLPFAMaximumPolicy = Enumerant('kCGLPFAMaximumPolicy', 0x0034, ) kCGLPFAOffScreen = Enumerant('kCGLPFAOffScreen', 0x0035, )
egl.add(EGLNativeDisplayType) egl.add(NativeDisplayType) egl.add(NativePixmapType) egl.add(NativeWindowType) egl.add(EGLint) egl.add(EGLBoolean) egl.add(EGLenum) egl.add(EGLConfig) egl.add(EGLContext) egl.add(EGLDisplay) egl.add(EGLSurface) egl.add(EGLClientBuffer) egl.add(__eglMustCastToProperFunctionPointerType) defines = Enum('defines') egl.add(defines) # EGLAPI = Enumerant('EGLAPI', 'KHRONOS_APICALL', '') EGLAPIENTRY = Enumerant('EGLAPIENTRY', 'KHRONOS_APIENTRY', '') EGLAPIENTRYP = Enumerant('EGLAPIENTRYP', 'EGLAPIENTRY *', '') EGL_ALPHA_FORMAT = Enumerant('EGL_ALPHA_FORMAT', 'EGL_VG_ALPHA_FORMAT', '') EGL_ALPHA_FORMAT_NONPRE = Enumerant('EGL_ALPHA_FORMAT_NONPRE', 'EGL_VG_ALPHA_FORMAT_NONPRE', '') EGL_ALPHA_FORMAT_PRE = Enumerant('EGL_ALPHA_FORMAT_PRE', 'EGL_VG_ALPHA_FORMAT_PRE', '') EGL_ALPHA_MASK_SIZE = Enumerant('EGL_ALPHA_MASK_SIZE', 12350, '') EGL_ALPHA_SIZE = Enumerant('EGL_ALPHA_SIZE', 12321, '') EGL_BACK_BUFFER = Enumerant('EGL_BACK_BUFFER', 12420, '') EGL_BAD_ACCESS = Enumerant('EGL_BAD_ACCESS', 12290, '') EGL_BAD_ALLOC = Enumerant('EGL_BAD_ALLOC', 12291, '')
egl.add(EGLNativePixmapType) egl.add(EGLNativeDisplayType) egl.add(NativeDisplayType) egl.add(NativePixmapType) egl.add(NativeWindowType) egl.add(EGLint) egl.add(EGLBoolean) egl.add(EGLenum) egl.add(EGLConfig) egl.add(EGLContext) egl.add(EGLDisplay) egl.add(EGLSurface) egl.add(EGLClientBuffer) egl.add(__eglMustCastToProperFunctionPointerType) defines = Enum('defines') egl.add(defines) # EGLAPI = Enumerant('EGLAPI', 'KHRONOS_APICALL', '') EGLAPIENTRY = Enumerant('EGLAPIENTRY', 'KHRONOS_APIENTRY', '') EGLAPIENTRYP = Enumerant('EGLAPIENTRYP', 'EGLAPIENTRY *', '') EGL_ALPHA_FORMAT = Enumerant('EGL_ALPHA_FORMAT', 'EGL_VG_ALPHA_FORMAT', '') EGL_ALPHA_FORMAT_NONPRE = Enumerant('EGL_ALPHA_FORMAT_NONPRE', 'EGL_VG_ALPHA_FORMAT_NONPRE', '') EGL_ALPHA_FORMAT_PRE = Enumerant('EGL_ALPHA_FORMAT_PRE', 'EGL_VG_ALPHA_FORMAT_PRE', '') EGL_ALPHA_MASK_SIZE = Enumerant('EGL_ALPHA_MASK_SIZE', 0x303e, '') EGL_ALPHA_SIZE = Enumerant('EGL_ALPHA_SIZE', 0x3021, '') EGL_BACK_BUFFER = Enumerant('EGL_BACK_BUFFER', 0x3084, '')