Top Description Fields Constructors Methods
jogamp.opengl.egl

public Class EGLSurface

extends WrappedSurface
Class Inheritance
Imports
java.nio.IntBuffer, com.jogamp.nativewindow.NativeSurface, .NativeWindow, .ProxySurface, .UpstreamSurfaceHook, .GenericUpstreamSurfacelessHook, com.jogamp.opengl.GLCapabilitiesImmutable, .GLException, com.jogamp.common.ExceptionUtils, com.jogamp.common.nio.Buffers, com.jogamp.opengl.egl.EGL, jogamp.nativewindow.ProxySurfaceImpl, .WrappedSurface, jogamp.opengl.GLDrawableImpl

EGLSurface [ is_a -> WrappedSurface -> ProxySurfaceImpl -> ProxySurface -> MutableSurface -> NativeSurface] has_a
    EGLUpstreamSurfaceHook [ is_a -> UpstreamSurfaceHook.MutableSize -> UpstreamSurfaceHook ] has_a
       NativeSurface (e.g. native [X11, WGL, ..] surface, or WrappedSurface, ..)

Field Summary

Modifier and TypeField and Description
pack-priv static boolean

Constructor Summary

AccessConstructor and Description
private
EGLSurface(final NativeSurface surface)

private
EGLSurface(final EGLGraphicsConfiguration cfg, final long handle, final UpstreamSurfaceHook upstream, final boolean ownsDevice)

private
EGLSurface(final EGLGraphicsConfiguration cfg, final GenericUpstreamSurfacelessHook upstream, final boolean ownsDevice)

Method Summary

Modifier and TypeMethod and Description
private long
private long
createEGLSurfaceHandle(final boolean isPBuffer, final boolean useSurfaceHandle, final EGLGraphicsConfiguration config, final NativeSurface nativeSurface)

public static EGLSurface
createSurfaceless(final EGLGraphicsConfiguration cfg, final GenericUpstreamSurfacelessHook upstream, final boolean ownsDevice)

public static EGLSurface
createWrapped(final EGLGraphicsConfiguration cfg, final long handle, final UpstreamSurfaceHook upstream, final boolean ownsDevice)

public static EGLSurface
get(final NativeSurface surface)

pack-priv static String
private static boolean
public static boolean
isValidEGLSurfaceHandle(final long eglDisplayHandle, final long eglSurfaceHandle)

public void
Inherited from jogamp.nativewindow.WrappedSurface:
convertToPixelUnitsconvertToWindowUnitsgetCurrentSurfaceScalegetMaximumSurfaceScalegetMinimumSurfaceScalegetRequestedSurfaceScalegetSurfaceHandleinvalidateImpllockSurfaceImplsetSurfaceHandlesetSurfaceScaleunlockSurfaceImpl

Field Detail

DEBUGback to summary
pack-priv static boolean DEBUG

Hides com.jogamp.nativewindow.ProxySurface.DEBUG.

Constructor Detail

EGLSurfaceback to summary
private EGLSurface(final NativeSurface surface)
EGLSurfaceback to summary
private EGLSurface(final EGLGraphicsConfiguration cfg, final long handle, final UpstreamSurfaceHook upstream, final boolean ownsDevice)
EGLSurfaceback to summary
private EGLSurface(final EGLGraphicsConfiguration cfg, final GenericUpstreamSurfacelessHook upstream, final boolean ownsDevice)

Method Detail

createEGLSurfaceHandleback to summary
private long createEGLSurfaceHandle() throws GLException
createEGLSurfaceHandleback to summary
private long createEGLSurfaceHandle(final boolean isPBuffer, final boolean useSurfaceHandle, final EGLGraphicsConfiguration config, final NativeSurface nativeSurface)
createSurfacelessback to summary
public static EGLSurface createSurfaceless(final EGLGraphicsConfiguration cfg, final GenericUpstreamSurfacelessHook upstream, final boolean ownsDevice)
createWrappedback to summary
public static EGLSurface createWrapped(final EGLGraphicsConfiguration cfg, final long handle, final UpstreamSurfaceHook upstream, final boolean ownsDevice)
getback to summary
public static EGLSurface get(final NativeSurface surface)
getThreadNameback to summary
pack-priv static String getThreadName()
hasUniqueNativeWindowHandleback to summary
private static boolean hasUniqueNativeWindowHandle(final NativeSurface nativeSurface)
isValidEGLSurfaceHandleback to summary
public static boolean isValidEGLSurfaceHandle(final long eglDisplayHandle, final long eglSurfaceHandle)
setEGLSurfaceHandleback to summary
public void setEGLSurfaceHandle() throws GLException