Top Fields Constructors Methods
jogamp.opengl.windows.wgl

public abstract Class WindowsWGLDrawable

extends GLDrawableImpl
Class Inheritance
Known Direct Subclasses
jogamp.opengl.windows.wgl.WindowsBitmapWGLDrawable, jogamp.opengl.windows.wgl.WindowsExternalWGLContext.Drawable, jogamp.opengl.windows.wgl.WindowsExternalWGLDrawable, jogamp.opengl.windows.wgl.WindowsOnscreenWGLDrawable, jogamp.opengl.windows.wgl.WindowsPbufferWGLDrawable
Imports
com.jogamp.nativewindow.NativeSurface, com.jogamp.opengl.GLDrawableFactory, .GLException, com.jogamp.common.util.PropertyAccess, jogamp.nativewindow.windows.GDI, jogamp.opengl.Debug, .GLDrawableImpl

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final int
private int
private long
Inherited from jogamp.opengl.GLDrawableImpl:
DEBUGfactoryrealizedrequestedCapabilitiessurface

Constructor Summary

AccessConstructor and Description
public
WindowsWGLDrawable(final GLDrawableFactory factory, final NativeSurface comp, final boolean realized)

Method Summary

Modifier and TypeMethod and Description
protected void
setRealizedImpl()

Implements abstract jogamp.opengl.GLDrawableImpl.setRealizedImpl.

Platform specific realization of drawable
protected final void
swapBuffersImpl(final boolean
indicates whether double buffering is enabled, see above.
doubleBuffered
)

Implements abstract jogamp.opengl.GLDrawableImpl.swapBuffersImpl.

Platform and implementation depending surface swap.
Inherited from jogamp.opengl.GLDrawableImpl:
associateContextcontextMadeCurrentcreateHandledestroyHandlegetChosenGLCapabilitiesgetDefaultDrawFramebuffergetDefaultReadBuffergetDefaultReadFramebuffergetFactorygetFactoryImplgetGLProfilegetHandlegetNativeSurfacegetRequestedGLCapabilitiesgetSurfaceHeightgetSurfaceWidthgetThreadNameisGLOrientedisRealizedlockSurfacesetRealizedswapBufferstoHexStringtoStringunlockSurface

Field Detail

PROFILINGback to summary
private static final boolean PROFILING
PROFILING_TICKSback to summary
private static final int PROFILING_TICKS
profilingSwapBuffersTicksback to summary
private int profilingSwapBuffersTicks
profilingSwapBuffersTimeback to summary
private long profilingSwapBuffersTime

Constructor Detail

WindowsWGLDrawableback to summary
public WindowsWGLDrawable(final GLDrawableFactory factory, final NativeSurface comp, final boolean realized)

Method Detail

setRealizedImplback to summary
protected void setRealizedImpl()

Implements abstract jogamp.opengl.GLDrawableImpl.setRealizedImpl.

Doc from jogamp.opengl.GLDrawableImpl.setRealizedImpl.

Platform specific realization of drawable

Annotations
@Override
swapBuffersImplback to summary
protected final void swapBuffersImpl(final boolean doubleBuffered)

Implements abstract jogamp.opengl.GLDrawableImpl.swapBuffersImpl.

Doc from jogamp.opengl.GLDrawableImpl.swapBuffersImpl.

Platform and implementation depending surface swap.

The surface is locked.

If doubleBuffered is true, an actual platform dependent surface swap shall be executed.

If doubleBuffered is false, GL#glFlush() has been called already and the implementation may execute implementation specific code.

Parameters
doubleBuffered:boolean

indicates whether double buffering is enabled, see above.

Annotations
@Override