Modifier and Type | Field and Description |
---|---|
private final boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected SurfaceData | initAcceleratedSurface()
Implements abstract sun. |
public void | initContents()
Overrides sun. |
protected boolean | isAccelerationEnabled()
Implements abstract sun. |
protected boolean | isConfigValid(GraphicsConfiguration gc)
Overrides sun. |
accelerationEnabled | back to summary |
---|---|
private final boolean accelerationEnabled |
GLXVolatileSurfaceManager | back to summary |
---|---|
public GLXVolatileSurfaceManager(SunVolatileImage vImg, Object context) |
initAcceleratedSurface | back to summary |
---|---|
protected SurfaceData initAcceleratedSurface() Implements abstract sun. Create a FBO-based SurfaceData object (or init the backbuffer of an existing window if this is a double buffered GraphicsConfig) |
initContents | back to summary |
---|---|
public void initContents() Overrides sun. Doc from sun. Set contents of the current SurfaceData to default state (i.e. clear the background).
|
isAccelerationEnabled | back to summary |
---|---|
protected boolean isAccelerationEnabled() Implements abstract sun. Doc from sun. Returns true if acceleration is enabled. If not, we simply use the backup SurfaceData object and return quickly from most methods in this class. |
isConfigValid | back to summary |
---|---|
protected boolean isConfigValid(GraphicsConfiguration gc) Overrides sun. Doc from sun. Called by validate() to see whether the GC passed in is ok for rendering to. This generic implementation checks to see whether the GC is either null or is from the same device as the one that this image was created on. Platform- specific implementations may perform other checks as appropriate.
|