# This .cfg file is used to generate the interface to the AGL routines # used externally by the SWT implementation. Package com.sun.opengl.impl.macosx.agl JavaClass AGL Style allstatic Include gl-common-macosx.cfg IncludeAs CustomCCode agl-CustomCCode.c # Ignore everything that doesn't start with agl or AGL Ignore ^GL_.+ Ignore TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB Ignore CLAMP_TO_EDGE_EXT Ignore ^gl.+ Opaque long void * Opaque long GrafPtr Opaque long GDHandle * Opaque long AGLDevice * Opaque long AGLPbuffer Opaque long AGLContext Opaque long AGLPixelFormat Opaque long AGLDrawable # Implement the return type as a String instead of byte[] ReturnsString aglErrorString # Implement the first argument as String instead of byte[] ArgumentIsString getProcAddress 0 ReturnValueCapacity aglChoosePixelFormat sizeof(AGLPixelFormat) ReturnValueCapacity aglNextPixelFormat sizeof(AGLPixelFormat) ReturnValueCapacity aglCreateContext sizeof(AGLContext) ReturnValueCapacity aglGetCurrentContext sizeof(AGLContext) ReturnValueCapacity aglDevicesOfPixelFormat sizeof(AGLDevice) ReturnValueCapacity aglGetDrawable sizeof(AGLDrawable) ReturnValueCapacity aglQueryRendererInfo sizeof(AGLRendererInfo) ReturnValueCapacity aglNextRendererInfo sizeof(AGLRendererInfo) Ignore aglGetCGLContext Ignore aglGetCGLPixelFormat Ignore aglResetLibrary