JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize Class Reference
Inheritance diagram for com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize:
Collaboration diagram for com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize:

Public Member Functions

 DelegatedUpstreamSurfaceHookMutableSize (final UpstreamSurfaceHook upstream, 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...
 
String toString ()
 
- 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...
 

Detailed Description

Definition at line 6 of file DelegatedUpstreamSurfaceHookMutableSize.java.

Constructor & Destructor Documentation

◆ DelegatedUpstreamSurfaceHookMutableSize()

com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize.DelegatedUpstreamSurfaceHookMutableSize ( final UpstreamSurfaceHook  upstream,
final int  width,
final int  height 
)
Parameters
upstreamoptional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface).
widthinitial width
heightinitial height

Definition at line 14 of file DelegatedUpstreamSurfaceHookMutableSize.java.

Member Function Documentation

◆ create()

final void com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize.create ( final ProxySurface  s)

called within ProxySurface#createNotify() within lock, before using surface.

Reimplemented from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.

Definition at line 20 of file DelegatedUpstreamSurfaceHookMutableSize.java.

Here is the call graph for this function:

◆ destroy()

final void com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize.destroy ( final ProxySurface  s)

called within ProxySurface#destroyNotify() within lock, before clearing fields.

Reimplemented from com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize.

Definition at line 27 of file DelegatedUpstreamSurfaceHookMutableSize.java.

Here is the call graph for this function:

◆ toString()

String com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize.toString ( )

The documentation for this class was generated from the following file: