29package com.jogamp.nativewindow;
31import jogamp.nativewindow.Debug;
42 public static final boolean DEBUG = Debug.debug(
"ProxySurface");
A marker interface describing a graphics configuration, visual, or pixel format in a toolkit-independ...
Provides a NativeSurface with a mutable surfaceHandle via setSurfaceHandle(long).
Provides low-level information required for hardware-accelerated rendering using a surface in a platf...
Provides a mutable NativeSurface, i.e.
NativeSurface getUpstreamSurface()
Returns the optional upstream NativeSurface if used by implementation, otherwise null.
static final int OPT_PROXY_OWNS_UPSTREAM_SURFACE
Implementation specific bit-value stating this ProxySurface owns the upstream's surface handle.
void addUpstreamOptionBits(int v)
Add the given bit-mask to this instance upstream-option-bits using bit-or w/ v.
void clearUpstreamOptionBits(int v)
Clear the given bit-mask from this instance upstream-option-bits using bit-and w/ ~v
boolean containsUpstreamOptionBits(int v)
Returns true if the give bit-mask v is set in this instance upstream-option-bits, otherwise false.
StringBuilder toString(StringBuilder sink)
static final boolean DEBUG
static final int OPT_UPSTREAM_SURFACELESS
Implementation specific bitvalue stating the upstream's NativeSurface's zero handle is valid.
int getUpstreamOptionBits()
void destroyNotify()
UpstreamSurfaceHook#destroy(ProxySurface) is being issued and all proxy surface/window handles shall ...
StringBuilder getUpstreamOptionBits(StringBuilder sink)
UpstreamSurfaceHook getUpstreamSurfaceHook()
Returns the UpstreamSurfaceHook if set, otherwise null.
void setGraphicsConfiguration(AbstractGraphicsConfiguration cfg)
Allow redefining the AbstractGraphicsConfiguration.
void enableUpstreamSurfaceHookLifecycle(boolean enable)
Enables or disables the UpstreamSurfaceHook lifecycle functions UpstreamSurfaceHook#create(ProxySurfa...
static final int OPT_PROXY_OWNS_UPSTREAM_DEVICE
Implementation specific bit-value stating this ProxySurface owns the upstream's AbstractGraphicsDevic...
static final int OPT_UPSTREAM_WINDOW_INVISIBLE
Implementation specific bitvalue stating the upstream's NativeSurface is an invisible window,...
void setUpstreamSurfaceHook(UpstreamSurfaceHook hook)
Overrides the UpstreamSurfaceHook.
void createNotify()
UpstreamSurfaceHook#create(ProxySurface) is being issued and the proxy surface/window handles shall b...
Interface allowing upstream caller to pass lifecycle actions and size info to a ProxySurface instance...