|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
UpstreamSurfaceHook w/ mutable size, allowing it's ProxySurface user to resize.
More...
Public Member Functions | |
| void | setSurfaceSize (int width, int height) |
| Resizes the upstream surface. More... | |
Public Member Functions inherited from com.jogamp.nativewindow.UpstreamSurfaceHook | |
| 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... | |
UpstreamSurfaceHook w/ mutable size, allowing it's ProxySurface user to resize.
Definition at line 58 of file UpstreamSurfaceHook.java.
| void com.jogamp.nativewindow.UpstreamSurfaceHook.MutableSize.setSurfaceSize | ( | int | width, |
| int | height | ||
| ) |
Resizes the upstream surface.
| width | new width in pixel units |
| height | new height in pixel units |
Implemented in com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.