Top Fields Constructors Methods
com.jogamp.nativewindow

public Class GenericUpstreamSurfacelessHook

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

Field Summary

Inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize:
pixHeightpixWidth

Constructor Summary

AccessConstructor and Description
public
GenericUpstreamSurfacelessHook(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

Constructor Detail

GenericUpstreamSurfacelessHookback to summary
public GenericUpstreamSurfacelessHook(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