EffectPeer implementations. Image allocation can be
a fairly expensive operation (in terms of footprint and performance),
especially for the GPU backends, so image reuse is critical.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List | |
| pack-priv static long | |
| pack-priv static long | |
| public static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static final int | |
| private final List | |
| private final List | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized PoolFilterable | |
| public synchronized void | |
| pack-priv static void | |
| private void | |
| public synchronized void |
| hardPurgatory | back to summary |
|---|---|
| private final List<Filterable> hardPurgatory | |
| locked | back to summary |
|---|---|
| private final List<SoftReference<PoolFilterable>> locked | |
| numAccessed | back to summary |
|---|---|
| pack-priv static long numAccessed | |
| numCreated | back to summary |
|---|---|
| pack-priv static long numCreated | |
| numEffects | back to summary |
|---|---|
| public static long numEffects | |
| pixelsAccessed | back to summary |
|---|---|
| pack-priv static long pixelsAccessed | |
| pixelsCreated | back to summary |
|---|---|
| pack-priv static long pixelsCreated | |
| QUANT | back to summary |
|---|---|
| pack-priv static final int QUANT | |
| softPurgatory | back to summary |
|---|---|
| private final List<SoftReference<PoolFilterable>> softPurgatory | |
| unlocked | back to summary |
|---|---|
| private final List<SoftReference<PoolFilterable>> unlocked | |
| usePurgatory | back to summary |
|---|---|
| private final boolean usePurgatory | |
| ImagePool | back to summary |
|---|---|
| pack-priv ImagePool() Package-private constructor. | |
| checkIn | back to summary |
|---|---|
| public synchronized void checkIn(PoolFilterable img) | |
| checkOut | back to summary |
|---|---|
| public synchronized PoolFilterable checkOut(Renderer renderer, int w, int h) | |
| dispose | back to summary |
|---|---|
| public synchronized void dispose() | |
| printStats | back to summary |
|---|---|
| pack-priv static void printStats() | |
| pruneCache | back to summary |
|---|---|
| private void pruneCache() | |
| releasePurgatory | back to summary |
|---|---|
| public synchronized void releasePurgatory() | |