Top Fields Constructors Methods
jogamp.opengl.macosx.cgl

public Class MacOSXOnscreenCGLDrawable

extends MacOSXCGLDrawable
Class Inheritance
Imports
com.jogamp.nativewindow.NativeSurface, com.jogamp.opengl.GLContext, .GLDrawableFactory

Field Summary

Inherited from jogamp.opengl.macosx.cgl.MacOSXCGLDrawable:
createdContexts

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public GLContext
createContext(final GLContext shareWith)

Implements com.jogamp.opengl.GLDrawable.createContext.

Creates a new context for drawing to this drawable that will optionally share buffer objects, textures and other server-side OpenGL objects with the specified GLContext.
Inherited from jogamp.opengl.macosx.cgl.MacOSXCGLDrawable:
associateContextgetOpenGLModeinitOpenGLImplsetOpenGLModesetRealizedImplswapBuffersImpl

Constructor Detail

MacOSXOnscreenCGLDrawableback to summary
protected MacOSXOnscreenCGLDrawable(final GLDrawableFactory factory, final NativeSurface component)

Method Detail

createContextback to summary
public GLContext createContext(final GLContext shareWith)

Implements com.jogamp.opengl.GLDrawable.createContext.

Doc from com.jogamp.opengl.GLDrawable.createContext.

Creates a new context for drawing to this drawable that will optionally share buffer objects, textures and other server-side OpenGL objects with the specified GLContext.

The GLContext share need not be associated with this GLDrawable and may be null if sharing of display lists and other objects is not desired. See the note in the overview documentation context sharing as well as GLSharedContextSetter.

Annotations
@Override