Top Inners Fields Constructors Methods
jogamp.opengl.windows.wgl

public Class WindowsExternalWGLContext

extends WindowsWGLContext
Class Inheritance
Imports
com.jogamp.nativewindow.AbstractGraphicsScreen, .DefaultGraphicsScreen, .NativeSurface, .NativeWindowFactory, com.jogamp.opengl.GLCapabilities, .GLContext, .GLDrawableFactory, .GLException, .GLProfile, jogamp.nativewindow.WrappedSurface, jogamp.nativewindow.windows.GDI, jogamp.opengl.GLContextShareSet

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Inherited from jogamp.opengl.windows.wgl.WindowsWGLContext:
extensionNameMap

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected static WindowsExternalWGLContext
create(final GLDrawableFactory factory, final GLProfile glp)

protected void
protected void
protected void
Inherited from jogamp.opengl.windows.wgl.WindowsWGLContext:
bindSwapBarrierImplcopyImplcreateContextARBImplcreateImpldestroyContextARBImplgetExtensionNameMapgetFunctionNameMapgetPlatformExtensionsStringImplgetPlatformExtProcAddressTablegetPlatformGLExtensionsgetWGLExtgetWGLExtProcAddressTableisGLReadDrawableAvailablejoinSwapGroupImplqueryMaxSwapGroupsImplresetStatessetSwapIntervalImpl2updateGLXProcAddressTable

Constructor Detail

WindowsExternalWGLContextback to summary
private WindowsExternalWGLContext(final WindowsExternalWGLContext.Drawable drawable, final long ctx, final WindowsWGLGraphicsConfiguration cfg)

Method Detail

createback to summary
protected static WindowsExternalWGLContext create(final GLDrawableFactory factory, final GLProfile glp)
destroyImplback to summary
protected void destroyImpl() throws GLException

Overrides jogamp.opengl.windows.wgl.WindowsWGLContext.destroyImpl.

Annotations
@Override
makeCurrentImplback to summary
protected void makeCurrentImpl() throws GLException

Overrides jogamp.opengl.windows.wgl.WindowsWGLContext.makeCurrentImpl.

Annotations
@Override
releaseImplback to summary
protected void releaseImpl() throws GLException

Overrides jogamp.opengl.windows.wgl.WindowsWGLContext.releaseImpl.

Annotations
@Override
jogamp.opengl.windows.wgl back to summary

pack-priv Class WindowsExternalWGLContext.Drawable

extends WindowsWGLDrawable
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv
Drawable(final GLDrawableFactory factory, final NativeSurface comp)

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.
public int
getSurfaceHeight()

Overrides jogamp.opengl.GLDrawableImpl.getSurfaceHeight.

Implements com.jogamp.opengl.GLDrawable.getSurfaceHeight.

Returns the height of this GLDrawable's surface client area in pixel units.
public int
getSurfaceWidth()

Overrides jogamp.opengl.GLDrawableImpl.getSurfaceWidth.

Implements com.jogamp.opengl.GLDrawable.getSurfaceWidth.

Returns the width of this GLDrawable's surface client area in pixel units.
public void
setSize(final int width, final int height)

Inherited from jogamp.opengl.windows.wgl.WindowsWGLDrawable:
setRealizedImplswapBuffersImpl

Constructor Detail

Drawableback to summary
pack-priv Drawable(final GLDrawableFactory factory, final NativeSurface comp)

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
getSurfaceHeightback to summary
public int getSurfaceHeight()

Overrides jogamp.opengl.GLDrawableImpl.getSurfaceHeight.

Implements com.jogamp.opengl.GLDrawable.getSurfaceHeight.

Doc from com.jogamp.opengl.GLDrawable.getSurfaceHeight.

Returns the height of this GLDrawable's surface client area in pixel units.

Annotations
@Override
getSurfaceWidthback to summary
public int getSurfaceWidth()

Overrides jogamp.opengl.GLDrawableImpl.getSurfaceWidth.

Implements com.jogamp.opengl.GLDrawable.getSurfaceWidth.

Doc from com.jogamp.opengl.GLDrawable.getSurfaceWidth.

Returns the width of this GLDrawable's surface client area in pixel units.

Annotations
@Override
setSizeback to summary
public void setSize(final int width, final int height)