|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| GenericUpstreamSurfacelessHook (final int width, final int height) | |
| 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... | |
Public Member Functions inherited from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize | |
| 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 30 of file GenericUpstreamSurfacelessHook.java.
| com.jogamp.nativewindow.GenericUpstreamSurfacelessHook.GenericUpstreamSurfacelessHook | ( | final int | width, |
| final int | height | ||
| ) |
| width | 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 | 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 |
Definition at line 39 of file GenericUpstreamSurfacelessHook.java.
| final void com.jogamp.nativewindow.GenericUpstreamSurfacelessHook.create | ( | final ProxySurface | s | ) |
called within ProxySurface#createNotify() within lock, before using surface.
Reimplemented from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.
Definition at line 44 of file GenericUpstreamSurfacelessHook.java.
| final void com.jogamp.nativewindow.GenericUpstreamSurfacelessHook.destroy | ( | final ProxySurface | s | ) |
called within ProxySurface#destroyNotify() within lock, before clearing fields.
Reimplemented from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.
Definition at line 64 of file GenericUpstreamSurfacelessHook.java.