|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| DelegatedUpstreamSurfaceHookWithSurfaceSize (final UpstreamSurfaceHook upstream, final NativeSurface surface) | |
| final NativeSurface | getUpstreamSurface () |
Returns the optional upstream NativeSurface if used by implementation, otherwise null.One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..). More... | |
| final void | create (final ProxySurface s) |
called within ProxySurface#createNotify() within lock, before using surface. More... | |
| final void | destroy (final ProxySurface s) |
called within ProxySurface#destroyNotify() within lock, before clearing fields. More... | |
| final int | getSurfaceWidth (final ProxySurface s) |
Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More... | |
| final int | getSurfaceHeight (final ProxySurface s) |
Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More... | |
| String | toString () |
| void | create (ProxySurface s) |
called within ProxySurface#createNotify() within lock, before using surface. More... | |
| void | destroy (ProxySurface s) |
called within ProxySurface#destroyNotify() within lock, before clearing fields. More... | |
| NativeSurface | getUpstreamSurface () |
Returns the optional upstream NativeSurface if used by implementation, otherwise null. More... | |
| int | getSurfaceWidth (ProxySurface s) |
Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More... | |
| int | getSurfaceHeight (ProxySurface s) |
Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. More... | |
Definition at line 7 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.DelegatedUpstreamSurfaceHookWithSurfaceSize | ( | final UpstreamSurfaceHook | upstream, |
| final NativeSurface | surface | ||
| ) |
| upstream | optional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface). |
| surface | mandatory NativeSurface used for getSurfaceWidth(ProxySurface) and getSurfaceHeight(ProxySurface), not used for getUpstreamSurface(). |
Definition at line 15 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| final void com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.create | ( | final ProxySurface | s | ) |
called within ProxySurface#createNotify() within lock, before using surface.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Definition at line 35 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| final void com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.destroy | ( | final ProxySurface | s | ) |
called within ProxySurface#destroyNotify() within lock, before clearing fields.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Definition at line 42 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| final int com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.getSurfaceHeight | ( | final ProxySurface | s | ) |
Returns the height of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Definition at line 54 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| final int com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.getSurfaceWidth | ( | final ProxySurface | s | ) |
Returns the width of the upstream surface in pixels, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Definition at line 49 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| final NativeSurface com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.getUpstreamSurface | ( | ) |
Returns the optional upstream NativeSurface if used by implementation, otherwise null.One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..).
Returns null.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Definition at line 30 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.
| String com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.toString | ( | ) |
Definition at line 59 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.