Top Constructors Methods
jogamp.nativewindow.windows

public Class GDIDummyUpstreamSurfaceHook

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

Constructor Summary

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

GDIDummyUpstreamSurfaceHookback to summary
public GDIDummyUpstreamSurfaceHook(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