/[libvob]/libvob/org/nongnu/libvob/memory/MemoryConsumer.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/memory/MemoryConsumer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by tjl, Wed Mar 26 18:13:25 2003 UTC revision 1.2 by tjl, Mon Jun 16 16:16:30 2003 UTC
# Line 41  package org.nongnu.libvob.memory; Line 41  package org.nongnu.libvob.memory;
41   * <li> May be interpolated: a quality between any two qualities that have been   * <li> May be interpolated: a quality between any two qualities that have been
42   *      given to the MemoryPartitioner API may be given.   *      given to the MemoryPartitioner API may be given.
43   * </ul>   * </ul>
44   * an example of quality would be DPI (dots per inch) for images.   * an example of quality would be DPI (dots per inch) for images, or a mipmap level index
45     * starting from 0 = (1x1).
46     * (i.e. log(DPI)) .
47   */   */
48  public interface MemoryConsumer {  public interface MemoryConsumer {
     /** Whether this object can make use of byte amounts less  
      * than getMaxBytes() returns.  
      * For example, images can be scaled down but text cannot.  
      */  
     boolean getScalable();  
49      /** The maximum number of bytes this object would like to consume.      /** The maximum number of bytes this object would like to consume.
50       * @param quality The quality at which the maximum bytes are requested.       * @param quality The quality at which the maximum bytes are requested.
51       */       */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26