public interface OffscreenLayerOption
OffscreenLayerSurface
within the implementation.Modifier and Type | Method and Description |
---|---|
boolean |
getShallUseOffscreenLayer()
Returns the property set by
setShallUseOffscreenLayer(boolean) . |
boolean |
isOffscreenLayerSurfaceEnabled()
Returns true if this instance uses an offscreen layer, otherwise false.
|
void |
setShallUseOffscreenLayer(boolean v)
Request an offscreen layer, if supported.
|
void setShallUseOffscreenLayer(boolean v)
Shall be called before the first NativeSurface.lockSurface()
,
and hence before realization.
boolean getShallUseOffscreenLayer()
setShallUseOffscreenLayer(boolean)
.boolean isOffscreenLayerSurfaceEnabled()
This instance is an offscreen layer, if setShallUseOffscreenLayer(true)
has been called before it's realization and first lock and the underlying implementation supports it.
NativeSurface.lockSurface()
.setShallUseOffscreenLayer(boolean)
Copyright 2010 JogAmp Community.