Top Fields Constructors Methods
jogamp.nativewindow.macosx

public Class OSXDummyUpstreamSurfaceHook

extends UpstreamSurfaceHookMutableSize
Class Inheritance
Imports
com.jogamp.nativewindow.NativeSurface, .NativeWindowException, .ProxySurface, .UpstreamSurfaceHook, .UpstreamSurfaceHookMutableSize

Field Summary

Modifier and TypeField and Description
pack-priv long

Constructor Summary

AccessConstructor and Description
public
OSXDummyUpstreamSurfaceHook(final int
the initial width as returned by NativeSurface#getSurfaceWidth() via UpstreamSurfaceHook#getSurfaceWidth(ProxySurface), not the actual dummy surface width. The latter is platform specific and small
width
,
final int
the initial height as returned by NativeSurface#getSurfaceHeight() via UpstreamSurfaceHook#getSurfaceHeight(ProxySurface), not the actual dummy surface height, The latter is platform specific and small
height
)

Method Summary

Modifier and TypeMethod and Description
public final void
public final void
Inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize:
getSurfaceHeightgetSurfaceWidthgetUpstreamSurfacesetSurfaceSizetoString

Field Detail

nsWindowback to summary
pack-priv long nsWindow

Constructor Detail

OSXDummyUpstreamSurfaceHookback to summary
public OSXDummyUpstreamSurfaceHook(final int width, final int height)
Parameters
width:int

the initial width as returned by NativeSurface#getSurfaceWidth() via UpstreamSurfaceHook#getSurfaceWidth(ProxySurface), not the actual dummy surface width. The latter is platform specific and small

height:int

the initial height as returned by NativeSurface#getSurfaceHeight() via UpstreamSurfaceHook#getSurfaceHeight(ProxySurface), not the actual dummy surface height, The latter is platform specific and small

Method Detail

createback to summary
public final void create(final ProxySurface s)

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.create.

Implements com.jogamp.nativewindow.UpstreamSurfaceHook.create.

Doc from com.jogamp.nativewindow.UpstreamSurfaceHook.create.

called within ProxySurface#createNotify() within lock, before using surface.

Annotations
@Override
destroyback to summary
public final void destroy(final ProxySurface s)

Overrides com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.destroy.

Implements com.jogamp.nativewindow.UpstreamSurfaceHook.destroy.

Doc from com.jogamp.nativewindow.UpstreamSurfaceHook.destroy.

called within ProxySurface#destroyNotify() within lock, before clearing fields.

Annotations
@Override