com.jogamp.opengl.impl.macosx.cgl
Class CGL

java.lang.Object
  extended by com.jogamp.opengl.impl.macosx.cgl.CGL

public class CGL
extends Object

Provides access to the MacOSX-specific OpenGL vendor extensions. See GLBase for more information.


Field Summary
static int kCGLBadAddress
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadAlloc
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadAttribute
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadCodeModule
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadConnection
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadContext
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadDisplay
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadDrawable
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadEnumeration
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadFullScreen
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadMatch
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadOffScreen
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadPixelFormat
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadProperty
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadRendererInfo
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadState
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadValue
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLBadWindow
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLCPClientStorage
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPCurrentRendererID
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPDispatchTableSize
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPGPUFragmentProcessing
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPGPUVertexProcessing
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPHasDrawable
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPMPSwapsInFlight
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPReclaimResources
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSurfaceBackingSize
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSurfaceOpacity
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSurfaceOrder
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSurfaceSurfaceVolatile
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSurfaceTexture
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSwapInterval
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLCPSwapRectangle
          Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"
static int kCGLNoError
          Part of CGLError
Defined as part of enum type "CGLError"
static int kCGLPFAAccelerated
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAAccumSize
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAAllRenderers
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAAlphaSize
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAAuxBuffers
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAAuxDepthStencil
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFABackingStore
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAClosestPolicy
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAColorFloat
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAColorSize
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFACompliant
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFADepthSize
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFADisplayMask
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFADoubleBuffer
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAFullScreen
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAMaximumPolicy
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAMinimumPolicy
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAMPSafe
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAMultisample
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAMultiScreen
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFANoRecovery
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAOffScreen
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAPBuffer
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFARemotePBuffer
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFARendererID
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFARobust
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFASampleAlpha
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFASampleBuffers
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFASamples
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFASingleRenderer
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAStencilSize
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAStereo
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFASupersample
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAVirtualScreenCount
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int kCGLPFAWindow
          Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"
static int NSOpenGLPFAAccelerated
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAAccumSize
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAAllRenderers
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAAlphaSize
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAAuxBuffers
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAAuxDepthStencil
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFABackingStore
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAClosestPolicy
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAColorFloat
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAColorSize
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFACompliant
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFADepthSize
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFADoubleBuffer
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAFullScreen
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAMaximumPolicy
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAMinimumPolicy
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAMPSafe
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAMultisample
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAMultiScreen
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFANoRecovery
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAOffScreen
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAPixelBuffer
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFARendererID
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFARobust
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFASampleAlpha
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFASampleBuffers
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFASamples
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAScreenMask
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFASingleRenderer
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAStencilSize
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAStereo
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFASupersample
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAVirtualScreenCount
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
static int NSOpenGLPFAWindow
          Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"
 
Constructor Summary
CGL()
           
 
Method Summary
static int CGLChoosePixelFormat(int[] attribs, int attribs_offset, PointerBuffer pix, long[] npix, int npix_offset)
          Interface to C language function:
CGLError CGLChoosePixelFormat(CGLPixelFormatAttribute * attribs, CGLContextObj * pix, long * npix);
static int CGLChoosePixelFormat(IntBuffer attribs, PointerBuffer pix, Int64Buffer npix)
          Interface to C language function:
CGLError CGLChoosePixelFormat(CGLPixelFormatAttribute * attribs, CGLContextObj * pix, long * npix);
static int CGLCopyContext(long src, long dst, int mask)
          Interface to C language function:
CGLError CGLCopyContext(CGLContextObj src, CGLContextObj dst, int mask);
static int CGLCreateContext(long pix, long share, PointerBuffer ctx)
          Interface to C language function:
CGLError CGLCreateContext(CGLContextObj pix, CGLContextObj share, CGLContextObj * ctx);
static int CGLCreatePBuffer(long width, long height, long target, long internalFormat, long max_level, PointerBuffer pbuffer)
          Interface to C language function:
CGLError CGLCreatePBuffer(long width, long height, unsigned long target, unsigned long internalFormat, long max_level, CGLContextObj * pbuffer);
static int CGLDestroyContext(long ctx)
          Interface to C language function:
CGLError CGLDestroyContext(CGLContextObj ctx);
static int CGLDestroyPBuffer(long pbuffer)
          Interface to C language function:
CGLError CGLDestroyPBuffer(CGLContextObj pbuffer);
static int CGLDestroyPixelFormat(long pix)
          Interface to C language function:
CGLError CGLDestroyPixelFormat(CGLContextObj pix);
static int CGLFlushDrawable(long ctx)
          Interface to C language function:
CGLError CGLFlushDrawable(CGLContextObj ctx);
static long CGLGetCurrentContext()
          Interface to C language function:
CGLContextObj CGLGetCurrentContext(void);
static long CGLGetPixelFormat(long ctx)
          Interface to C language function:
CGLContextObj CGLGetPixelFormat(CGLContextObj ctx);
static void CGLQueryPixelFormat(long pixelFormat, int[] iattrs, int iattrs_offset, int niattrs, int[] ivalues, int ivalues_offset)
          Interface to C language function:
void CGLQueryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);
static void CGLQueryPixelFormat(long pixelFormat, IntBuffer iattrs, int niattrs, IntBuffer ivalues)
          Interface to C language function:
void CGLQueryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);
static void CGLReleaseContext(long ctx)
          Interface to C language function:
void CGLReleaseContext(CGLContextObj ctx);
static int CGLSetCurrentContext(long ctx)
          Interface to C language function:
CGLError CGLSetCurrentContext(CGLContextObj ctx);
static int CGLSetParameter(long ctx, int pname, int[] params, int params_offset)
          Interface to C language function:
CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const int * params);
static int CGLSetParameter(long ctx, int pname, IntBuffer params)
          Interface to C language function:
CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const int * params);
static int CGLSetPBuffer(long ctx, long pbuffer, long face, long level, long screen)
          Interface to C language function:
CGLError CGLSetPBuffer(CGLContextObj ctx, CGLContextObj pbuffer, unsigned long face, long level, long screen);
static boolean clearCurrentContext(long nsContext)
          Interface to C language function:
Bool clearCurrentContext(void * nsContext);
static void copyContext(long destContext, long srcContext, int mask)
          Interface to C language function:
void copyContext(void * destContext, void * srcContext, int mask);
static long createContext(long shareContext, long nsView, long pixelFormat, int[] viewNotReady, int viewNotReady_offset)
          Interface to C language function:
void * createContext(void * shareContext, void * nsView, void * pixelFormat, int * viewNotReady);
static long createContext(long shareContext, long nsView, long pixelFormat, IntBuffer viewNotReady)
          Interface to C language function:
void * createContext(void * shareContext, void * nsView, void * pixelFormat, int * viewNotReady);
static long createPBuffer(int renderTarget, int internalFormat, int width, int height)
          Interface to C language function:
void * createPBuffer(int renderTarget, int internalFormat, int width, int height);
static long createPixelFormat(int[] iattrs, int iattrs_offset, int niattrs, int[] ivalues, int ivalues_offset)
          Interface to C language function:
void * createPixelFormat(int * iattrs, int niattrs, int * ivalues);
static long createPixelFormat(IntBuffer iattrs, int niattrs, IntBuffer ivalues)
          Interface to C language function:
void * createPixelFormat(int * iattrs, int niattrs, int * ivalues);
static boolean deleteContext(long nsContext)
          Interface to C language function:
Bool deleteContext(void * nsContext);
static void deletePixelFormat(long pixelFormat)
          Interface to C language function:
void deletePixelFormat(void * pixelFormat);
static boolean destroyPBuffer(long pBuffer)
          Interface to C language function:
Bool destroyPBuffer(void * pBuffer);
static boolean flushBuffer(long nsContext)
          Interface to C language function:
Bool flushBuffer(void * nsContext);
static long getCGLContext(long nsContext)
          Interface to C language function:
void * getCGLContext(void * nsContext);
static long getCurrentContext()
          Interface to C language function:
void * getCurrentContext(void);
static long getNSView(long nsContext)
          Interface to C language function:
void * getNSView(void * nsContext);
static long getProcAddress(String procName)
          Interface to C language function:
void * getProcAddress(const char * procName);
static boolean makeCurrentContext(long nsContext)
          Interface to C language function:
Bool makeCurrentContext(void * nsContext);
static void queryPixelFormat(long pixelFormat, int[] iattrs, int iattrs_offset, int niattrs, int[] ivalues, int ivalues_offset)
          Interface to C language function:
void queryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);
static void queryPixelFormat(long pixelFormat, IntBuffer iattrs, int niattrs, IntBuffer ivalues)
          Interface to C language function:
void queryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);
static void resetGammaRamp()
          Interface to C language function:
void resetGammaRamp();
static void setContextOpacity(long nsContext, int opacity)
          Interface to C language function:
void setContextOpacity(void * nsContext, int opacity);
static void setContextPBuffer(long nsContext, long pBuffer)
          Interface to C language function:
void setContextPBuffer(void * nsContext, void * pBuffer);
static void setContextTextureImageToPBuffer(long nsContext, long pBuffer, int colorBuffer)
          Interface to C language function:
void setContextTextureImageToPBuffer(void * nsContext, void * pBuffer, int colorBuffer);
static boolean setGammaRamp(int tableSize, float[] redRamp, int redRamp_offset, float[] greenRamp, int greenRamp_offset, float[] blueRamp, int blueRamp_offset)
          Interface to C language function:
Bool setGammaRamp(int tableSize, float * redRamp, float * greenRamp, float * blueRamp);
static boolean setGammaRamp(int tableSize, FloatBuffer redRamp, FloatBuffer greenRamp, FloatBuffer blueRamp)
          Interface to C language function:
Bool setGammaRamp(int tableSize, float * redRamp, float * greenRamp, float * blueRamp);
static void setSwapInterval(long nsContext, int interval)
          Interface to C language function:
void setSwapInterval(void * nsContext, int interval);
static void updateContext(long nsContext)
          Interface to C language function:
void updateContext(void * nsContext);
static long updateContextRegister(long nsContext, long nsView)
          Interface to C language function:
void * updateContextRegister(void * nsContext, void * nsView);
static void updateContextUnregister(long updater)
          Interface to C language function:
void updateContextUnregister(void * updater);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NSOpenGLPFAAllRenderers

public static final int NSOpenGLPFAAllRenderers
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFADoubleBuffer

public static final int NSOpenGLPFADoubleBuffer
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAStereo

public static final int NSOpenGLPFAStereo
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAAuxBuffers

public static final int NSOpenGLPFAAuxBuffers
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAColorSize

public static final int NSOpenGLPFAColorSize
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAAlphaSize

public static final int NSOpenGLPFAAlphaSize
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFADepthSize

public static final int NSOpenGLPFADepthSize
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAStencilSize

public static final int NSOpenGLPFAStencilSize
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAAccumSize

public static final int NSOpenGLPFAAccumSize
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAMinimumPolicy

public static final int NSOpenGLPFAMinimumPolicy
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAMaximumPolicy

public static final int NSOpenGLPFAMaximumPolicy
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAOffScreen

public static final int NSOpenGLPFAOffScreen
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAFullScreen

public static final int NSOpenGLPFAFullScreen
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFASampleBuffers

public static final int NSOpenGLPFASampleBuffers
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFASamples

public static final int NSOpenGLPFASamples
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAAuxDepthStencil

public static final int NSOpenGLPFAAuxDepthStencil
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAColorFloat

public static final int NSOpenGLPFAColorFloat
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAMultisample

public static final int NSOpenGLPFAMultisample
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFASupersample

public static final int NSOpenGLPFASupersample
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFASampleAlpha

public static final int NSOpenGLPFASampleAlpha
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFARendererID

public static final int NSOpenGLPFARendererID
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFASingleRenderer

public static final int NSOpenGLPFASingleRenderer
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFANoRecovery

public static final int NSOpenGLPFANoRecovery
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAAccelerated

public static final int NSOpenGLPFAAccelerated
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAClosestPolicy

public static final int NSOpenGLPFAClosestPolicy
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFARobust

public static final int NSOpenGLPFARobust
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFABackingStore

public static final int NSOpenGLPFABackingStore
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAMPSafe

public static final int NSOpenGLPFAMPSafe
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAWindow

public static final int NSOpenGLPFAWindow
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAMultiScreen

public static final int NSOpenGLPFAMultiScreen
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFACompliant

public static final int NSOpenGLPFACompliant
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAScreenMask

public static final int NSOpenGLPFAScreenMask
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAPixelBuffer

public static final int NSOpenGLPFAPixelBuffer
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

NSOpenGLPFAVirtualScreenCount

public static final int NSOpenGLPFAVirtualScreenCount
Part of NSOpenGLPixelFormatAttribute
Defined as part of enum type "NSOpenGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLCPSwapRectangle

public static final int kCGLCPSwapRectangle
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSwapInterval

public static final int kCGLCPSwapInterval
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPDispatchTableSize

public static final int kCGLCPDispatchTableSize
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPClientStorage

public static final int kCGLCPClientStorage
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSurfaceTexture

public static final int kCGLCPSurfaceTexture
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSurfaceOrder

public static final int kCGLCPSurfaceOrder
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSurfaceOpacity

public static final int kCGLCPSurfaceOpacity
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSurfaceBackingSize

public static final int kCGLCPSurfaceBackingSize
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPSurfaceSurfaceVolatile

public static final int kCGLCPSurfaceSurfaceVolatile
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPReclaimResources

public static final int kCGLCPReclaimResources
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPCurrentRendererID

public static final int kCGLCPCurrentRendererID
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPGPUVertexProcessing

public static final int kCGLCPGPUVertexProcessing
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPGPUFragmentProcessing

public static final int kCGLCPGPUFragmentProcessing
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPHasDrawable

public static final int kCGLCPHasDrawable
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLCPMPSwapsInFlight

public static final int kCGLCPMPSwapsInFlight
Part of CGLContextParameter
Defined as part of enum type "CGLContextParameter"

See Also:
Constant Field Values

kCGLPFAAllRenderers

public static final int kCGLPFAAllRenderers
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFADoubleBuffer

public static final int kCGLPFADoubleBuffer
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAStereo

public static final int kCGLPFAStereo
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAAuxBuffers

public static final int kCGLPFAAuxBuffers
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAColorSize

public static final int kCGLPFAColorSize
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAAlphaSize

public static final int kCGLPFAAlphaSize
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFADepthSize

public static final int kCGLPFADepthSize
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAStencilSize

public static final int kCGLPFAStencilSize
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAAccumSize

public static final int kCGLPFAAccumSize
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAMinimumPolicy

public static final int kCGLPFAMinimumPolicy
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAMaximumPolicy

public static final int kCGLPFAMaximumPolicy
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAOffScreen

public static final int kCGLPFAOffScreen
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAFullScreen

public static final int kCGLPFAFullScreen
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFASampleBuffers

public static final int kCGLPFASampleBuffers
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFASamples

public static final int kCGLPFASamples
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAAuxDepthStencil

public static final int kCGLPFAAuxDepthStencil
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAColorFloat

public static final int kCGLPFAColorFloat
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAMultisample

public static final int kCGLPFAMultisample
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFASupersample

public static final int kCGLPFASupersample
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFASampleAlpha

public static final int kCGLPFASampleAlpha
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFARendererID

public static final int kCGLPFARendererID
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFASingleRenderer

public static final int kCGLPFASingleRenderer
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFANoRecovery

public static final int kCGLPFANoRecovery
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAAccelerated

public static final int kCGLPFAAccelerated
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAClosestPolicy

public static final int kCGLPFAClosestPolicy
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFARobust

public static final int kCGLPFARobust
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFABackingStore

public static final int kCGLPFABackingStore
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAMPSafe

public static final int kCGLPFAMPSafe
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAWindow

public static final int kCGLPFAWindow
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAMultiScreen

public static final int kCGLPFAMultiScreen
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFACompliant

public static final int kCGLPFACompliant
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFADisplayMask

public static final int kCGLPFADisplayMask
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAPBuffer

public static final int kCGLPFAPBuffer
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFARemotePBuffer

public static final int kCGLPFARemotePBuffer
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLPFAVirtualScreenCount

public static final int kCGLPFAVirtualScreenCount
Part of CGLPixelFormatAttribute
Defined as part of enum type "CGLPixelFormatAttribute"

See Also:
Constant Field Values

kCGLNoError

public static final int kCGLNoError
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadAttribute

public static final int kCGLBadAttribute
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadProperty

public static final int kCGLBadProperty
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadPixelFormat

public static final int kCGLBadPixelFormat
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadRendererInfo

public static final int kCGLBadRendererInfo
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadContext

public static final int kCGLBadContext
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadDrawable

public static final int kCGLBadDrawable
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadDisplay

public static final int kCGLBadDisplay
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadState

public static final int kCGLBadState
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadValue

public static final int kCGLBadValue
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadMatch

public static final int kCGLBadMatch
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadEnumeration

public static final int kCGLBadEnumeration
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadOffScreen

public static final int kCGLBadOffScreen
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadFullScreen

public static final int kCGLBadFullScreen
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadWindow

public static final int kCGLBadWindow
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadAddress

public static final int kCGLBadAddress
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadCodeModule

public static final int kCGLBadCodeModule
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadAlloc

public static final int kCGLBadAlloc
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values

kCGLBadConnection

public static final int kCGLBadConnection
Part of CGLError
Defined as part of enum type "CGLError"

See Also:
Constant Field Values
Constructor Detail

CGL

public CGL()
Method Detail

CGLChoosePixelFormat

public static int CGLChoosePixelFormat(IntBuffer attribs,
                                       PointerBuffer pix,
                                       Int64Buffer npix)
Interface to C language function:
CGLError CGLChoosePixelFormat(CGLPixelFormatAttribute * attribs, CGLContextObj * pix, long * npix);


CGLChoosePixelFormat

public static int CGLChoosePixelFormat(int[] attribs,
                                       int attribs_offset,
                                       PointerBuffer pix,
                                       long[] npix,
                                       int npix_offset)
Interface to C language function:
CGLError CGLChoosePixelFormat(CGLPixelFormatAttribute * attribs, CGLContextObj * pix, long * npix);


CGLCopyContext

public static int CGLCopyContext(long src,
                                 long dst,
                                 int mask)
Interface to C language function:
CGLError CGLCopyContext(CGLContextObj src, CGLContextObj dst, int mask);


CGLCreateContext

public static int CGLCreateContext(long pix,
                                   long share,
                                   PointerBuffer ctx)
Interface to C language function:
CGLError CGLCreateContext(CGLContextObj pix, CGLContextObj share, CGLContextObj * ctx);


CGLCreatePBuffer

public static int CGLCreatePBuffer(long width,
                                   long height,
                                   long target,
                                   long internalFormat,
                                   long max_level,
                                   PointerBuffer pbuffer)
Interface to C language function:
CGLError CGLCreatePBuffer(long width, long height, unsigned long target, unsigned long internalFormat, long max_level, CGLContextObj * pbuffer);


CGLDestroyContext

public static int CGLDestroyContext(long ctx)
Interface to C language function:
CGLError CGLDestroyContext(CGLContextObj ctx);


CGLDestroyPBuffer

public static int CGLDestroyPBuffer(long pbuffer)
Interface to C language function:
CGLError CGLDestroyPBuffer(CGLContextObj pbuffer);


CGLDestroyPixelFormat

public static int CGLDestroyPixelFormat(long pix)
Interface to C language function:
CGLError CGLDestroyPixelFormat(CGLContextObj pix);


CGLFlushDrawable

public static int CGLFlushDrawable(long ctx)
Interface to C language function:
CGLError CGLFlushDrawable(CGLContextObj ctx);


CGLGetCurrentContext

public static long CGLGetCurrentContext()
Interface to C language function:
CGLContextObj CGLGetCurrentContext(void);


CGLGetPixelFormat

public static long CGLGetPixelFormat(long ctx)
Interface to C language function:
CGLContextObj CGLGetPixelFormat(CGLContextObj ctx);


CGLQueryPixelFormat

public static void CGLQueryPixelFormat(long pixelFormat,
                                       IntBuffer iattrs,
                                       int niattrs,
                                       IntBuffer ivalues)
Interface to C language function:
void CGLQueryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);


CGLQueryPixelFormat

public static void CGLQueryPixelFormat(long pixelFormat,
                                       int[] iattrs,
                                       int iattrs_offset,
                                       int niattrs,
                                       int[] ivalues,
                                       int ivalues_offset)
Interface to C language function:
void CGLQueryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);


CGLReleaseContext

public static void CGLReleaseContext(long ctx)
Interface to C language function:
void CGLReleaseContext(CGLContextObj ctx);


CGLSetCurrentContext

public static int CGLSetCurrentContext(long ctx)
Interface to C language function:
CGLError CGLSetCurrentContext(CGLContextObj ctx);


CGLSetPBuffer

public static int CGLSetPBuffer(long ctx,
                                long pbuffer,
                                long face,
                                long level,
                                long screen)
Interface to C language function:
CGLError CGLSetPBuffer(CGLContextObj ctx, CGLContextObj pbuffer, unsigned long face, long level, long screen);


CGLSetParameter

public static int CGLSetParameter(long ctx,
                                  int pname,
                                  IntBuffer params)
Interface to C language function:
CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const int * params);

Parameters:
pname - valid values are: kCGLCPSwapRectangle, kCGLCPSwapInterval, kCGLCPDispatchTableSize, kCGLCPClientStorage, kCGLCPSurfaceTexture, kCGLCPSurfaceOrder, kCGLCPSurfaceOpacity, kCGLCPSurfaceBackingSize, kCGLCPSurfaceSurfaceVolatile, kCGLCPReclaimResources, kCGLCPCurrentRendererID, kCGLCPGPUVertexProcessing, kCGLCPGPUFragmentProcessing, kCGLCPHasDrawable, kCGLCPMPSwapsInFlight

CGLSetParameter

public static int CGLSetParameter(long ctx,
                                  int pname,
                                  int[] params,
                                  int params_offset)
Interface to C language function:
CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const int * params);

Parameters:
pname - valid values are: kCGLCPSwapRectangle, kCGLCPSwapInterval, kCGLCPDispatchTableSize, kCGLCPClientStorage, kCGLCPSurfaceTexture, kCGLCPSurfaceOrder, kCGLCPSurfaceOpacity, kCGLCPSurfaceBackingSize, kCGLCPSurfaceSurfaceVolatile, kCGLCPReclaimResources, kCGLCPCurrentRendererID, kCGLCPGPUVertexProcessing, kCGLCPGPUFragmentProcessing, kCGLCPHasDrawable, kCGLCPMPSwapsInFlight

clearCurrentContext

public static boolean clearCurrentContext(long nsContext)
Interface to C language function:
Bool clearCurrentContext(void * nsContext);


copyContext

public static void copyContext(long destContext,
                               long srcContext,
                               int mask)
Interface to C language function:
void copyContext(void * destContext, void * srcContext, int mask);


createContext

public static long createContext(long shareContext,
                                 long nsView,
                                 long pixelFormat,
                                 IntBuffer viewNotReady)
Interface to C language function:
void * createContext(void * shareContext, void * nsView, void * pixelFormat, int * viewNotReady);


createContext

public static long createContext(long shareContext,
                                 long nsView,
                                 long pixelFormat,
                                 int[] viewNotReady,
                                 int viewNotReady_offset)
Interface to C language function:
void * createContext(void * shareContext, void * nsView, void * pixelFormat, int * viewNotReady);


createPBuffer

public static long createPBuffer(int renderTarget,
                                 int internalFormat,
                                 int width,
                                 int height)
Interface to C language function:
void * createPBuffer(int renderTarget, int internalFormat, int width, int height);


createPixelFormat

public static long createPixelFormat(IntBuffer iattrs,
                                     int niattrs,
                                     IntBuffer ivalues)
Interface to C language function:
void * createPixelFormat(int * iattrs, int niattrs, int * ivalues);


createPixelFormat

public static long createPixelFormat(int[] iattrs,
                                     int iattrs_offset,
                                     int niattrs,
                                     int[] ivalues,
                                     int ivalues_offset)
Interface to C language function:
void * createPixelFormat(int * iattrs, int niattrs, int * ivalues);


deleteContext

public static boolean deleteContext(long nsContext)
Interface to C language function:
Bool deleteContext(void * nsContext);


deletePixelFormat

public static void deletePixelFormat(long pixelFormat)
Interface to C language function:
void deletePixelFormat(void * pixelFormat);


destroyPBuffer

public static boolean destroyPBuffer(long pBuffer)
Interface to C language function:
Bool destroyPBuffer(void * pBuffer);


flushBuffer

public static boolean flushBuffer(long nsContext)
Interface to C language function:
Bool flushBuffer(void * nsContext);


getCGLContext

public static long getCGLContext(long nsContext)
Interface to C language function:
void * getCGLContext(void * nsContext);


getCurrentContext

public static long getCurrentContext()
Interface to C language function:
void * getCurrentContext(void);


getNSView

public static long getNSView(long nsContext)
Interface to C language function:
void * getNSView(void * nsContext);


getProcAddress

public static long getProcAddress(String procName)
Interface to C language function:
void * getProcAddress(const char * procName);


makeCurrentContext

public static boolean makeCurrentContext(long nsContext)
Interface to C language function:
Bool makeCurrentContext(void * nsContext);


queryPixelFormat

public static void queryPixelFormat(long pixelFormat,
                                    IntBuffer iattrs,
                                    int niattrs,
                                    IntBuffer ivalues)
Interface to C language function:
void queryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);


queryPixelFormat

public static void queryPixelFormat(long pixelFormat,
                                    int[] iattrs,
                                    int iattrs_offset,
                                    int niattrs,
                                    int[] ivalues,
                                    int ivalues_offset)
Interface to C language function:
void queryPixelFormat(void * pixelFormat, int * iattrs, int niattrs, int * ivalues);


resetGammaRamp

public static void resetGammaRamp()
Interface to C language function:
void resetGammaRamp();


setContextOpacity

public static void setContextOpacity(long nsContext,
                                     int opacity)
Interface to C language function:
void setContextOpacity(void * nsContext, int opacity);


setContextPBuffer

public static void setContextPBuffer(long nsContext,
                                     long pBuffer)
Interface to C language function:
void setContextPBuffer(void * nsContext, void * pBuffer);


setContextTextureImageToPBuffer

public static void setContextTextureImageToPBuffer(long nsContext,
                                                   long pBuffer,
                                                   int colorBuffer)
Interface to C language function:
void setContextTextureImageToPBuffer(void * nsContext, void * pBuffer, int colorBuffer);


setGammaRamp

public static boolean setGammaRamp(int tableSize,
                                   FloatBuffer redRamp,
                                   FloatBuffer greenRamp,
                                   FloatBuffer blueRamp)
Interface to C language function:
Bool setGammaRamp(int tableSize, float * redRamp, float * greenRamp, float * blueRamp);


setGammaRamp

public static boolean setGammaRamp(int tableSize,
                                   float[] redRamp,
                                   int redRamp_offset,
                                   float[] greenRamp,
                                   int greenRamp_offset,
                                   float[] blueRamp,
                                   int blueRamp_offset)
Interface to C language function:
Bool setGammaRamp(int tableSize, float * redRamp, float * greenRamp, float * blueRamp);


setSwapInterval

public static void setSwapInterval(long nsContext,
                                   int interval)
Interface to C language function:
void setSwapInterval(void * nsContext, int interval);


updateContext

public static void updateContext(long nsContext)
Interface to C language function:
void updateContext(void * nsContext);


updateContextRegister

public static long updateContextRegister(long nsContext,
                                         long nsView)
Interface to C language function:
void * updateContextRegister(void * nsContext, void * nsView);


updateContextUnregister

public static void updateContextUnregister(long updater)
Interface to C language function:
void updateContextUnregister(void * updater);



Copyright 2010 JogAmp Community.