Modifier and Type | Field and Description |
---|---|
private boolean |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public ImageCapabilities | getCapabilities(GraphicsConfiguration gc)
Overrides sun. |
protected SurfaceData | initAcceleratedSurface()
Implements abstract sun. |
protected boolean | isAccelerationEnabled()
Implements abstract sun. |
protected boolean | isConfigValid(GraphicsConfiguration gc)
Overrides sun. |
accelerationEnabled | back to summary |
---|---|
private boolean accelerationEnabled |
X11VolatileSurfaceManager | back to summary |
---|---|
public X11VolatileSurfaceManager(SunVolatileImage vImg, Object context) |
getCapabilities | back to summary |
---|---|
public ImageCapabilities getCapabilities(GraphicsConfiguration gc) Overrides sun. Need to override the default behavior because Pixmaps-based images are accelerated but not volatile.
|
initAcceleratedSurface | back to summary |
---|---|
protected SurfaceData initAcceleratedSurface() Implements abstract sun. Create a pixmap-based SurfaceData object |
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. |