sun.awt.image.SurfaceManager.FlushableCacheData |
Known Indirect Subclasses
OGLSurfaceDataProxy |
The proxy class contains the logic for when to replace a
SurfaceData with a cached OGL Texture and the code to create
the accelerated surfaces. |
SurfaceDataProxy |
The proxy class encapsulates the logic for managing alternate
SurfaceData representations of a primary SurfaceData. |
|
Class Overview
An interface for Objects used in the SurfaceManager cache
to implement if they have data that should be flushed when
the Image is flushed.
Summary
Public Methods |
abstract
boolean
|
flush(boolean deaccelerated)
Flush all cached resources.
|
Public Methods
public
abstract
boolean
flush
(boolean deaccelerated)
Flush all cached resources.
The deaccelerated parameter indicates if the flush is
happening because the associated surface is no longer
being accelerated (for instance the acceleration priority
is set below the threshold needed for acceleration).
Returns a boolean that indicates if the cached object is
no longer needed and should be removed from the cache.