Class VmaDefragmentationMoveOperation

java.lang.Object
club.doki7.vma.enumtype.VmaDefragmentationMoveOperation

public final class VmaDefragmentationMoveOperation extends Object
Operation performed on single defragmentation move. See structure VmaDefragmentationMove.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Buffer/image has been recreated at dstTmpAllocation, data has been copied, old buffer/image has been destroyed.
    static final int
    Set this value if you decide to abandon the allocation and you destroyed the buffer/image.
    static final int
    Set this value if you cannot move the allocation.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    explain(int value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • COPY

      public static final int COPY
      Buffer/image has been recreated at dstTmpAllocation, data has been copied, old buffer/image has been destroyed. srcAllocation should be changed to point to the new place. This is the default value set by vmaBeginDefragmentationPass().
      See Also:
    • IGNORE

      public static final int IGNORE
      Set this value if you cannot move the allocation. New place reserved at dstTmpAllocation will be freed. srcAllocation will remain unchanged.
      See Also:
    • DESTROY

      public static final int DESTROY
      Set this value if you decide to abandon the allocation and you destroyed the buffer/image. New place reserved at dstTmpAllocation will be freed, along with srcAllocation, which will be destroyed.
      See Also:
  • Method Details