Lines Matching defs:FrameManager

30  * The FrameManager tracks, caches, allocates and deallocates frame data.
31 * All Frame instances are managed by a FrameManager, and belong to exactly one of these. Frames
32 * cannot be shared across FrameManager instances, however multiple MffContexts may use the same
33 * FrameManager.
39 public class FrameManager {
187 //Log.w("FrameManager", "Could not find backing for dimensions " + Arrays.toString(dimensions));
263 public static FrameManager current() {
269 * Returns the context that the FrameManager is bound to.
271 * @return the MffContext instance that the FrameManager is bound to.
278 * Returns the GraphRunner that the FrameManager is bound to.
280 * @return the GraphRunner instance that the FrameManager is bound to.
307 * Imports a frame from another FrameManager.
309 * This will return a frame with the contents of the given frame for use in this FrameManager.
310 * Note, that there is a substantial cost involved in moving a Frame from one FrameManager to
312 * used in the runner that uses this FrameManager. As the new frame may share data with the
320 + "into another FrameManager!");
384 * Create a new FrameManager instance.
386 * Creates a new FrameManager instance in the specified context and employing a cache with the
387 * specified cache type (see the cache type constants defined by the FrameManager class).
389 * @param runner the GraphRunner to bind the FrameManager to.
392 FrameManager(GraphRunner runner, int cacheType) {
416 // Log.i("FrameManager", "RM: Now have " + mBackings.size() + " backings");
424 //Log.i("FrameManager", "RM: Now have " + mBackings.size() + " backings (" + mCache.getSizeLeft() + ")");
460 throw new IllegalStateException("Attempting to modify FrameManager while graph is "
467 throw new IllegalStateException("Attempting to access FrameManager Frame data "