Top Fields Constructors Methods
jogamp.newt.driver.bcm.vc.iv

public Class DisplayDriver

extends DisplayImpl
Class Inheritance
Imports
java.net.URLConnection, java.nio.Buffer, .ByteBuffer, com.jogamp.nativewindow.AbstractGraphicsDevice, .NativeWindowException, com.jogamp.nativewindow.util.PixelFormat, com.jogamp.common.nio.Buffers, com.jogamp.common.util.IOUtil, com.jogamp.opengl.egl.EGL, com.jogamp.opengl.util.PNGPixelRect, com.jogamp.opengl.GLProfile, jogamp.newt.DisplayImpl, .NEWTJNILibLoader, .PointerIconImpl, jogamp.newt.driver.linux.LinuxMouseTracker, jogamp.opengl.egl.EGLDisplayUtil

Field Summary

Modifier and TypeField and Description
private long
private boolean
private long
private PointerIconImpl
pack-priv static final PNGPixelRect
private final Object
Inherited from jogamp.newt.DisplayImpl:
aDevicedispatchMessagesRunnableedtUtilexclusivefqnamehashCodeidnamenilStringrefCounttype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static native void
CloseBCMDisplay0(long handle)

protected void
protected void
private static long
CreatePointerIcon(final long bcmHandle, final Buffer pixels, final int width, final int height, final int hotX, final int hotY)

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

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
DestroyPointerIcon0(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
pack-priv final long
protected static native boolean
public static void
initSingleton()

Hides jogamp.newt.DisplayImpl.initSingleton.

Ensure static init has been run.
pack-priv void
moveActivePointerIcon(final int x, final int y)

private static native void
MovePointerIcon0(long handle, int x, int y)

private static native long
pack-priv void
setActivePointerIconVisible(final boolean visible, final int x, final int y)

private static native void
SetPointerIcon0(long bcmHandle, long handle, boolean enable, int x, int y)

pack-priv void
setPointerIconActive(long piHandle, final int x, final int y)

Inherited from jogamp.newt.DisplayImpl:
addReferencecreatecreateEDTUtilcreateNativecreatePointerIconcreatePointerIconcreatePointerIconImplCheckeddestroydispatchMessagesenqueueEventequalsgetEDTUtilgetFQNamegetGraphicsDevicegetHandlegetIdgetNamegetNativePointerIconForceDirectNIOgetNativePointerIconPixelFormatgetReferenceCountgetTypehashCodeisEDTRunningisExclusiveisNativeValidisNativeValidAsyncisPNGUtilAvailableremoveReferencerunOnEDTIfAvailrunWithLockedDevicerunWithLockedDisplayDevicesetEDTUtiltoStringvalidateDisplayNamevalidateEDTStopped

Field Detail

activePointerIconback to summary
private long activePointerIcon
activePointerIconVisibleback to summary
private boolean activePointerIconVisible
bcmHandleback to summary
private long bcmHandle
defaultPointerIconback to summary
private PointerIconImpl defaultPointerIcon
defaultPointerIconImageback to summary
pack-priv static final PNGPixelRect defaultPointerIconImage
pointerIconSyncback to summary
private final Object pointerIconSync

Constructor Detail

DisplayDriverback to summary
public DisplayDriver()

Method Detail

CloseBCMDisplay0back to summary
private static native void CloseBCMDisplay0(long handle)
closeNativeImplback to summary
protected void closeNativeImpl(final AbstractGraphicsDevice aDevice)

Implements abstract jogamp.newt.DisplayImpl.closeNativeImpl.

Annotations
@Override
createNativeImplback to summary
protected void createNativeImpl()

Implements abstract jogamp.newt.DisplayImpl.createNativeImpl.

Annotations
@Override
CreatePointerIconback to summary
private static long CreatePointerIcon(final long bcmHandle, final Buffer pixels, final int width, final int height, final int hotX, final int hotY)
CreatePointerIcon0back to summary
private static native long CreatePointerIcon0(Object pixels, int pixels_byte_offset, boolean pixels_is_direct, int width, int height, int hotX, int hotY)
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
DestroyPointerIcon0back to summary
private static native void DestroyPointerIcon0(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
getBCMHandleback to summary
pack-priv final long getBCMHandle()
initIDsback to summary
protected static native boolean initIDs()
initSingletonback to summary
public static void initSingleton()

Hides jogamp.newt.DisplayImpl.initSingleton.

Doc from jogamp.newt.DisplayImpl.initSingleton.

Ensure static init has been run.

moveActivePointerIconback to summary
pack-priv void moveActivePointerIcon(final int x, final int y)
MovePointerIcon0back to summary
private static native void MovePointerIcon0(long handle, int x, int y)
OpenBCMDisplay0back to summary
private static native long OpenBCMDisplay0()
setActivePointerIconVisibleback to summary
pack-priv void setActivePointerIconVisible(final boolean visible, final int x, final int y)
SetPointerIcon0back to summary
private static native void SetPointerIcon0(long bcmHandle, long handle, boolean enable, int x, int y)
setPointerIconActiveback to summary
pack-priv void setPointerIconActive(long piHandle, final int x, final int y)