ProxySurface instance.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | UpstreamSurfaceHook.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | destroy(ProxySurface s)
called within |
| public int | getSurfaceHeight(ProxySurface s)
Returns the height of the upstream surface in pixels, used if |
| public int | getSurfaceWidth(ProxySurface s)
Returns the width of the upstream surface in pixels, used if |
| public NativeSurface | getUpstreamSurface()
Returns the optional upstream |
| create | back to summary |
|---|---|
| public void create(ProxySurface s) called within | |
| destroy | back to summary |
|---|---|
| public void destroy(ProxySurface s) called within | |
| getSurfaceHeight | back to summary |
|---|---|
| public int getSurfaceHeight(ProxySurface s) Returns the height of the upstream surface in pixels, used if | |
| getSurfaceWidth | back to summary |
|---|---|
| public int getSurfaceWidth(ProxySurface s) Returns the width of the upstream surface in pixels, used if | |
| getUpstreamSurface | back to summary |
|---|---|
| public NativeSurface getUpstreamSurface() Returns the optional upstream One example is the JOGL EGLWrappedSurface, which might be backed up by a native platform NativeSurface (X11, WGL, CGL, ..). | |
UpstreamSurfaceHook w/ mutable size, allowing it's ProxySurface user to resize.
| Modifier and Type | Method and Description |
|---|---|
| public void | setSurfaceSize(int
new width in pixel units width, int new height in pixel units height)Resizes the upstream surface. |
| setSurfaceSize | back to summary |
|---|---|
| public void setSurfaceSize(int width, int height) Resizes the upstream surface.
| |