(Dimension size, Image i)
| 985 | /// |
| 986 | /// cached image |
| 987 | void cacheImage(Dimension size, Image i) { |
| 988 | Object w = Display.getInstance().createSoftWeakRef(i); |
| 989 | getScaleCache().put(size, w); |
| 990 | } |
| 991 | |
| 992 | /// Async lock is the equivalent of a lock operation, however it uses the given image as |
| 993 | /// the hard cache and performs the actual image loading asynchronously. On completion this |
no test coverage detected