Top Inners Fields Constructors Methods
jogamp.opengl.macosx.cgl

public Class MacOSXPbufferCGLDrawable

extends MacOSXCGLDrawable
Class Inheritance
Known Direct Subclasses
jogamp.opengl.macosx.cgl.MacOSXOffscreenCGLDrawable
Imports
java.lang.ref.WeakReference, com.jogamp.nativewindow.DefaultGraphicsConfiguration, .NativeSurface, .MutableSurface, com.jogamp.opengl.GL, .GLContext, .GLDrawableFactory, .GLException, com.jogamp.common.nio.PointerBuffer, com.jogamp.opengl.util.GLBuffers

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static interface
pack-priv static class

Field Summary

Modifier and TypeField and Description
protected MacOSXPbufferCGLDrawable.GLBackendImpl
protected int
protected int
protected int
Inherited from jogamp.opengl.macosx.cgl.MacOSXCGLDrawable:
createdContexts

Constructor Summary

AccessConstructor and Description
public

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.
private void
protected void
protected int
protected int
protected int
protected void
public void
protected void
setRealizedImpl()

Overrides jogamp.opengl.macosx.cgl.MacOSXCGLDrawable.setRealizedImpl.

Platform specific realization of drawable
Inherited from jogamp.opengl.macosx.cgl.MacOSXCGLDrawable:
associateContextgetOpenGLModeswapBuffersImpl

Field Detail

implback to summary
protected MacOSXPbufferCGLDrawable.GLBackendImpl impl
pBufferTexHeightback to summary
protected int pBufferTexHeight
pBufferTexTargetback to summary
protected int pBufferTexTarget
pBufferTexWidthback to summary
protected int pBufferTexWidth

Constructor Detail

MacOSXPbufferCGLDrawableback to summary
public MacOSXPbufferCGLDrawable(final GLDrawableFactory factory, final NativeSurface target)

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
createPbufferback to summary
private void createPbuffer()
destroyPbufferback to summary
protected void destroyPbuffer()
getTextureHeightback to summary
protected int getTextureHeight()
getTextureTargetback to summary
protected int getTextureTarget()
getTextureWidthback to summary
protected int getTextureWidth()
initOpenGLImplback to summary
protected void initOpenGLImpl(final MacOSXCGLDrawable.GLBackendType backend)

Overrides jogamp.opengl.macosx.cgl.MacOSXCGLDrawable.initOpenGLImpl.

Annotations
@Override
setOpenGLModeback to summary
public void setOpenGLMode(final MacOSXCGLDrawable.GLBackendType mode)

Overrides jogamp.opengl.macosx.cgl.MacOSXCGLDrawable.setOpenGLMode.

Annotations
@Override
setRealizedImplback to summary
protected void setRealizedImpl()

Overrides jogamp.opengl.macosx.cgl.MacOSXCGLDrawable.setRealizedImpl.

Doc from jogamp.opengl.GLDrawableImpl.setRealizedImpl.

Platform specific realization of drawable

Annotations
@Override
jogamp.opengl.macosx.cgl back to summary

pack-priv Class MacOSXPbufferCGLDrawable.CGLImpl

extends Object
implements GLBackendImpl
Class Inheritance
All Implemented Interfaces
jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
create(final int renderTarget, final int internalFormat, final int width, final int height)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.create.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CGLImplback to summary
pack-priv CGLImpl()

Method Detail

createback to summary
public long create(final int renderTarget, final int internalFormat, final int width, final int height)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.create.

Annotations
@Override
destroyback to summary
public void destroy(final long pbuffer)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.destroy.

Annotations
@Override
jogamp.opengl.macosx.cgl back to summary

pack-priv Interface MacOSXPbufferCGLDrawable.GLBackendImpl

Known Direct Implementers
jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.NSOpenGLImpl, jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.CGLImpl

Method Summary

Modifier and TypeMethod and Description
public long
create(int renderTarget, int internalFormat, int width, int height)

public void
destroy(long pbuffer)

Method Detail

createback to summary
public long create(int renderTarget, int internalFormat, int width, int height)
destroyback to summary
public void destroy(long pbuffer)
jogamp.opengl.macosx.cgl back to summary

pack-priv Class MacOSXPbufferCGLDrawable.NSOpenGLImpl

extends Object
implements GLBackendImpl
Class Inheritance
  • java.lang.Object
  • jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.NSOpenGLImpl
All Implemented Interfaces
jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
create(final int renderTarget, final int internalFormat, final int width, final int height)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.create.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NSOpenGLImplback to summary
pack-priv NSOpenGLImpl()

Method Detail

createback to summary
public long create(final int renderTarget, final int internalFormat, final int width, final int height)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.create.

Annotations
@Override
destroyback to summary
public void destroy(final long pbuffer)

Implements jogamp.opengl.macosx.cgl.MacOSXPbufferCGLDrawable.GLBackendImpl.destroy.

Annotations
@Override