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

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...
 

Detailed Description

Constructor & Destructor Documentation

◆ DelegatedUpstreamSurfaceHookWithSurfaceSize()

com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookWithSurfaceSize.DelegatedUpstreamSurfaceHookWithSurfaceSize ( final UpstreamSurfaceHook  upstream,
final NativeSurface  surface 
)

Member Function Documentation

◆ create()

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.

Here is the call graph for this function:

◆ destroy()

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.

Here is the call graph for this function:

◆ getSurfaceHeight()

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.

Here is the call graph for this function:

◆ getSurfaceWidth()

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.

Here is the call graph for this function:

◆ getUpstreamSurface()

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.

◆ toString()

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

Definition at line 59 of file DelegatedUpstreamSurfaceHookWithSurfaceSize.java.

Here is the call graph for this function:

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