|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| UpstreamSurfaceHookMutableSize (final int width, final int height) | |
| final void | setSurfaceSize (final int width, final int height) |
| Resizes the upstream surface. 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... | |
| void | create (final ProxySurface s) |
called within ProxySurface#createNotify() within lock, before using surface. More... | |
| void | destroy (final ProxySurface s) |
called within ProxySurface#destroyNotify() within lock, before clearing fields. More... | |
| String | toString () |
| 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... | |
| void | setSurfaceSize (int width, int height) |
| Resizes the upstream surface. More... | |
| 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 UpstreamSurfaceHookMutableSize.java.
| com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.UpstreamSurfaceHookMutableSize | ( | final int | width, |
| final int | height | ||
| ) |
| width | initial width |
| height | initial height |
Definition at line 14 of file UpstreamSurfaceHookMutableSize.java.
| void com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.create | ( | final ProxySurface | s | ) |
called within ProxySurface#createNotify() within lock, before using surface.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Reimplemented in com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize, and com.jogamp.nativewindow.GenericUpstreamSurfacelessHook.
Definition at line 35 of file UpstreamSurfaceHookMutableSize.java.
| void com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.destroy | ( | final ProxySurface | s | ) |
called within ProxySurface#destroyNotify() within lock, before clearing fields.
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.
Reimplemented in com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize, and com.jogamp.nativewindow.GenericUpstreamSurfacelessHook.
Definition at line 38 of file UpstreamSurfaceHookMutableSize.java.
| final int com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.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 31 of file UpstreamSurfaceHookMutableSize.java.
| final int com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.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 26 of file UpstreamSurfaceHookMutableSize.java.
| final NativeSurface com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.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 52 of file UpstreamSurfaceHookMutableSize.java.
| final void com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.setSurfaceSize | ( | final int | width, |
| final int | height | ||
| ) |
Resizes the upstream surface.
| width | new width in pixel units |
| height | new height in pixel units |
Implements com.jogamp.nativewindow.UpstreamSurfaceHook.MutableSize.
Definition at line 20 of file UpstreamSurfaceHookMutableSize.java.
| String com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.toString | ( | ) |
Reimplemented in com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize, and com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos.
Definition at line 41 of file UpstreamSurfaceHookMutableSize.java.