|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OffscreenLayerSurface
Interface specifying the offscreen layer surface protocol.
Method Summary | |
---|---|
void |
attachSurfaceLayer(long layerHandle)
Attach the offscreen layer to this offscreen layer surface. |
void |
detachSurfaceLayer()
Detaches a previously attached offscreen layer from this offscreen layer surface. |
long |
getAttachedSurfaceLayer()
Returns the attached surface layer or null if none is attached. |
com.jogamp.common.util.locks.RecursiveLock |
getLock()
Returns the recursive lock object of this surface, which synchronizes multithreaded access. |
boolean |
isSurfaceLayerAttached()
Returns true if a surface layer is attached, otherwise false. |
void |
setChosenCapabilities(CapabilitiesImmutable caps)
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e. |
Method Detail |
---|
void attachSurfaceLayer(long layerHandle) throws NativeWindowException
Implementation may realize all required resources at this point.
NativeWindowException
- if #isOffscreenLayerSurfaceEnabled()
== false#isOffscreenLayerSurfaceEnabled()
void detachSurfaceLayer() throws NativeWindowException
NativeWindowException
- if #isOffscreenLayerSurfaceEnabled()
== false
or no surface layer is attached.attachSurfaceLayer(long)
,
#isOffscreenLayerSurfaceEnabled()
long getAttachedSurfaceLayer()
boolean isSurfaceLayerAttached()
void setChosenCapabilities(CapabilitiesImmutable caps)
com.jogamp.common.util.locks.RecursiveLock getLock()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |