Top Constructors Methods
jogamp.opengl.windows.wgl

public Class WindowsExternalWGLDrawable

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

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 newWidth, final int newHeight)

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

Constructor Detail

WindowsExternalWGLDrawableback to summary
private WindowsExternalWGLDrawable(final GLDrawableFactory factory, final NativeSurface component)

Method Detail

createback to summary
protected static WindowsExternalWGLDrawable create(final GLDrawableFactory factory, final GLProfile glp)
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 newWidth, final int newHeight)