| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | create(final ProxySurface s)
Implements com. ProxySurface#createNotify() within lock, before using surface.
|
| public void | destroy(final ProxySurface s)
Implements com. ProxySurface#destroyNotify() within lock, before clearing fields.
|
| public final int | getSurfaceHeight(final ProxySurface s)
Implements com. ProxySurface#UPSTREAM_PROVIDES_SIZE is set.
|
| public final int | getSurfaceWidth(final ProxySurface s)
Implements com. ProxySurface#UPSTREAM_PROVIDES_SIZE is set.
|
| public final NativeSurface | getUpstreamSurface()
Implements com. NativeSurface if used by implementation, otherwise null.
|
| public final void | setSurfaceSize(final int
new width in pixel units width, final int new height in pixel units height)Implements com. |
| public String |
| pixHeight | back to summary |
|---|---|
| pack-priv int pixHeight | |
| pixWidth | back to summary |
|---|---|
| pack-priv int pixWidth | |
| UpstreamSurfaceHookMutableSize | back to summary |
|---|---|
public UpstreamSurfaceHookMutableSize(final int width, final int height)
| |
| create | back to summary |
|---|---|
| public void create(final ProxySurface s) Implements com. Doc from com. called within
| |
| destroy | back to summary |
|---|---|
| public void destroy(final ProxySurface s) Implements com. Doc from com. called within
| |
| getSurfaceHeight | back to summary |
|---|---|
| public final int getSurfaceHeight(final ProxySurface s) Implements com. Doc from com. Returns the height of the upstream surface in pixels, used if
| |
| getSurfaceWidth | back to summary |
|---|---|
| public final int getSurfaceWidth(final ProxySurface s) Implements com. Doc from com. Returns the width of the upstream surface in pixels, used if
| |
| getUpstreamSurface | back to summary |
|---|---|
| public final NativeSurface getUpstreamSurface() Implements com. Doc from com. Returns the optional upstream One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..).
Returns
| |
| setSurfaceSize | back to summary |
|---|---|
| public final void setSurfaceSize(final int width, final int height) Implements com. Doc from com. Resizes the upstream surface.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |