Top Description Constructors Methods
jogamp.opengl.egl

public Class EGLDummyUpstreamSurfaceHook

extends UpstreamSurfaceHookMutableSize
Class Inheritance
Imports
com.jogamp.common.ExceptionUtils, com.jogamp.nativewindow.NativeSurface, .ProxySurface, .UpstreamSurfaceHook, .UpstreamSurfaceHookMutableSize, com.jogamp.nativewindow.egl.EGLGraphicsDevice, com.jogamp.opengl.egl.EGL, jogamp.nativewindow.ProxySurfaceImpl

Uses a PBuffer offscreen surface

Constructor Summary

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

EGLDummyUpstreamSurfaceHookback to summary
public EGLDummyUpstreamSurfaceHook(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