Top Fields Constructors Methods
jogamp.newt.driver.windows

public Class DisplayDriver

extends DisplayImpl
Class Inheritance
Imports
java.net.URLConnection, java.nio.Buffer, .ByteBuffer, jogamp.nativewindow.windows.RegisteredClass, .RegisteredClassFactory, jogamp.newt.DisplayImpl, .NEWTJNILibLoader, com.jogamp.nativewindow.AbstractGraphicsDevice, .NativeWindowException, com.jogamp.nativewindow.util.PixelFormat, com.jogamp.common.nio.Buffers, com.jogamp.common.util.IOUtil, com.jogamp.nativewindow.windows.WindowsGraphicsDevice, com.jogamp.newt.NewtFactory, com.jogamp.opengl.util.PNGPixelRect

Field Summary

Modifier and TypeField and Description
private static final long[]
private static final String
private RegisteredClass
private static RegisteredClassFactory
Inherited from jogamp.newt.DisplayImpl:
aDevicedispatchMessagesRunnableedtUtilexclusivefqnamehashCodeidnamenilStringrefCounttype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
pack-priv static long
createBGRA8888Icon0(final Buffer pixels, final int width, final int height, final boolean isCursor, final int hotX, final int hotY)

private static native long
createBGRA8888Icon0(Object pixels, int pixels_byte_offset, boolean pixels_is_direct, int width, int height, boolean isCursor, int hotX, int hotY)

protected void
protected final long
createPointerIconImpl(final PixelFormat
the pixels's format
pixelformat
,
final int
the pixels's width
width
,
final int
the pixels's height
height
,
final ByteBuffer
the pixels
pixels
,
final int
the PointerIcon's hot-spot x-coord
hotX
,
final int
the PointerIcon's hot-spot x-coord
hotY
)

Overrides jogamp.newt.DisplayImpl.createPointerIconImpl.

Executed from EDT!
private static native void
destroyIcon0(long handle)

protected final void
destroyPointerIconImpl(final long displayHandle, final long piHandle)

Overrides jogamp.newt.DisplayImpl.destroyPointerIconImpl.

Executed from EDT!
private static native void
protected void
dispatchMessagesNative()

Implements abstract jogamp.newt.DisplayImpl.dispatchMessagesNative.

Dispatch native Toolkit messageges
protected static long
protected String
public static void
initSingleton()

Hides jogamp.newt.DisplayImpl.initSingleton.

Ensure static init has been run.
Inherited from jogamp.newt.DisplayImpl:
addReferencecreatecreateEDTUtilcreateNativecreatePointerIconcreatePointerIconcreatePointerIconImplCheckeddestroydispatchMessagesenqueueEventequalsgetEDTUtilgetFQNamegetGraphicsDevicegetHandlegetIdgetNamegetNativePointerIconForceDirectNIOgetNativePointerIconPixelFormatgetReferenceCountgetTypehashCodeisEDTRunningisExclusiveisNativeValidisNativeValidAsyncisPNGUtilAvailableremoveReferencerunOnEDTIfAvailrunWithLockedDevicerunWithLockedDisplayDevicesetEDTUtiltoStringvalidateDisplayNamevalidateEDTStopped

Field Detail

defaultIconHandlesback to summary
private static final long[] defaultIconHandles
newtClassBaseNameback to summary
private static final String newtClassBaseName
sharedClassback to summary
private RegisteredClass sharedClass
sharedClassFactoryback to summary
private static RegisteredClassFactory sharedClassFactory

Constructor Detail

DisplayDriverback to summary
public DisplayDriver()

Method Detail

closeNativeImplback to summary
protected void closeNativeImpl(final AbstractGraphicsDevice aDevice)

Implements abstract jogamp.newt.DisplayImpl.closeNativeImpl.

Annotations
@Override
createBGRA8888Icon0back to summary
pack-priv static long createBGRA8888Icon0(final Buffer pixels, final int width, final int height, final boolean isCursor, final int hotX, final int hotY)
createBGRA8888Icon0back to summary
private static native long createBGRA8888Icon0(Object pixels, int pixels_byte_offset, boolean pixels_is_direct, int width, int height, boolean isCursor, int hotX, int hotY)
createNativeImplback to summary
protected void createNativeImpl()

Implements abstract jogamp.newt.DisplayImpl.createNativeImpl.

Annotations
@Override
createPointerIconImplback to summary
protected final long createPointerIconImpl(final PixelFormat pixelformat, final int width, final int height, final ByteBuffer pixels, final int hotX, final int hotY)

Overrides jogamp.newt.DisplayImpl.createPointerIconImpl.

Doc from jogamp.newt.DisplayImpl.createPointerIconImpl.

Executed from EDT!

Parameters
pixelformat:PixelFormat

the pixels's format

width:int

the pixels's width

height:int

the pixels's height

pixels:ByteBuffer

the pixels

hotX:int

the PointerIcon's hot-spot x-coord

hotY:int

the PointerIcon's hot-spot x-coord

Returns:long

if successful a valid handle (not null), otherwise null.

Annotations
@Override
destroyIcon0back to summary
private static native void destroyIcon0(long handle)
destroyPointerIconImplback to summary
protected final void destroyPointerIconImpl(final long displayHandle, final long piHandle)

Overrides jogamp.newt.DisplayImpl.destroyPointerIconImpl.

Doc from jogamp.newt.DisplayImpl.destroyPointerIconImpl.

Executed from EDT!

Annotations
@Override
DispatchMessages0back to summary
private static native void DispatchMessages0()
dispatchMessagesNativeback to summary
protected void dispatchMessagesNative()

Implements abstract jogamp.newt.DisplayImpl.dispatchMessagesNative.

Doc from jogamp.newt.DisplayImpl.dispatchMessagesNative.

Dispatch native Toolkit messageges

Annotations
@Override
getHInstanceback to summary
protected static long getHInstance()
getWindowClassNameback to summary
protected String getWindowClassName()
initSingletonback to summary
public static void initSingleton()

Hides jogamp.newt.DisplayImpl.initSingleton.

Doc from jogamp.newt.DisplayImpl.initSingleton.

Ensure static init has been run.