class com.sun.javafx.sg.prism.RegionImageCache
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.javafx.sg.prism.RegionImageCache
  super_class: java.lang.Object
{
  private static final int MAX_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 90000

  private static final int WIDTH;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  private static final int HEIGHT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  private java.util.HashMap<java.lang.Integer, com.sun.javafx.sg.prism.RegionImageCache$CachedImage> imageMap;
    descriptor: Ljava/util/HashMap;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/HashMap<Ljava/lang/Integer;Lcom/sun/javafx/sg/prism/RegionImageCache$CachedImage;>;

  private com.sun.prism.RTTexture backingStore;
    descriptor: Lcom/sun/prism/RTTexture;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.prism.impl.packrect.RectanglePacker hPacker;
    descriptor: Lcom/sun/prism/impl/packrect/RectanglePacker;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.prism.impl.packrect.RectanglePacker vPacker;
    descriptor: Lcom/sun/prism/impl/packrect/RectanglePacker;
    flags: (0x0002) ACC_PRIVATE

  void <init>(com.sun.prism.ResourceFactory);
    descriptor: (Lcom/sun/prism/ResourceFactory;)V
    flags: (0x0000) 
    Code:
      stack=9, locals=4, args_size=2
        start local 0 // com.sun.javafx.sg.prism.RegionImageCache this
        start local 1 // com.sun.prism.ResourceFactory factory
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 60
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield com.sun.javafx.sg.prism.RegionImageCache.imageMap:Ljava/util/HashMap;
         2: .line 63
            aload 1 /* factory */
            getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
            invokeinterface com.sun.prism.ResourceFactory.isWrapModeSupported:(Lcom/sun/prism/Texture$WrapMode;)Z
            ifeq 6
         3: .line 64
            getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
            astore 2 /* mode */
        start local 2 // com.sun.prism.Texture$WrapMode mode
         4: .line 65
            iconst_0
            istore 3 /* pad */
        start local 3 // int pad
         5: .line 66
            goto 8
        end local 3 // int pad
        end local 2 // com.sun.prism.Texture$WrapMode mode
         6: .line 67
      StackMap locals: com.sun.javafx.sg.prism.RegionImageCache com.sun.prism.ResourceFactory
      StackMap stack:
            getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
            astore 2 /* mode */
        start local 2 // com.sun.prism.Texture$WrapMode mode
         7: .line 68
            iconst_1
            istore 3 /* pad */
        start local 3 // int pad
         8: .line 70
      StackMap locals: com.sun.prism.Texture$WrapMode int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* factory */
            sipush 2048
            sipush 1024
            aload 2 /* mode */
            invokeinterface com.sun.prism.ResourceFactory.createRTTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/RTTexture;
            putfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
         9: .line 71
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            invokeinterface com.sun.prism.RTTexture.contentsUseful:()V
        10: .line 72
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            invokeinterface com.sun.prism.RTTexture.makePermanent:()V
        11: .line 73
            aload 1 /* factory */
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            invokeinterface com.sun.prism.ResourceFactory.setRegionTexture:(Lcom/sun/prism/Texture;)V
        12: .line 81
            aload 0 /* this */
            new com.sun.prism.impl.packrect.RectanglePacker
            dup
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            iload 3 /* pad */
            iload 3 /* pad */
            sipush 1024
            iload 3 /* pad */
            isub
            sipush 1024
            iload 3 /* pad */
            isub
            iconst_0
            invokespecial com.sun.prism.impl.packrect.RectanglePacker.<init>:(Lcom/sun/prism/Texture;IIIIZ)V
            putfield com.sun.javafx.sg.prism.RegionImageCache.hPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
        13: .line 82
            aload 0 /* this */
            new com.sun.prism.impl.packrect.RectanglePacker
            dup
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            sipush 1024
            iload 3 /* pad */
            sipush 1024
            sipush 1024
            iload 3 /* pad */
            isub
            iconst_1
            invokespecial com.sun.prism.impl.packrect.RectanglePacker.<init>:(Lcom/sun/prism/Texture;IIIIZ)V
            putfield com.sun.javafx.sg.prism.RegionImageCache.vPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
        14: .line 83
            return
        end local 3 // int pad
        end local 2 // com.sun.prism.Texture$WrapMode mode
        end local 1 // com.sun.prism.ResourceFactory factory
        end local 0 // com.sun.javafx.sg.prism.RegionImageCache this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   15     0     this  Lcom/sun/javafx/sg/prism/RegionImageCache;
            0   15     1  factory  Lcom/sun/prism/ResourceFactory;
            4    6     2     mode  Lcom/sun/prism/Texture$WrapMode;
            7   15     2     mode  Lcom/sun/prism/Texture$WrapMode;
            5    6     3      pad  I
            8   15     3      pad  I
    MethodParameters:
         Name  Flags
      factory  final

  boolean isImageCachable(int, int);
    descriptor: (II)Z
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // com.sun.javafx.sg.prism.RegionImageCache this
        start local 1 // int w
        start local 2 // int h
         0: .line 93
            iload 1 /* w */
            ifle 4
            iload 1 /* w */
            sipush 1024
            if_icmpge 4
         1: .line 94
            iload 2 /* h */
            ifle 4
            iload 2 /* h */
            sipush 1024
            if_icmpge 4
         2: .line 95
            iload 1 /* w */
            iload 2 /* h */
            imul
            ldc 90000
         3: .line 93
            if_icmpge 4
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_0
            ireturn
        end local 2 // int h
        end local 1 // int w
        end local 0 // com.sun.javafx.sg.prism.RegionImageCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/javafx/sg/prism/RegionImageCache;
            0    5     1     w  I
            0    5     2     h  I
    MethodParameters:
      Name  Flags
      w     
      h     

  com.sun.prism.RTTexture getBackingStore();
    descriptor: ()Lcom/sun/prism/RTTexture;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.javafx.sg.prism.RegionImageCache this
         0: .line 99
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            areturn
        end local 0 // com.sun.javafx.sg.prism.RegionImageCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/javafx/sg/prism/RegionImageCache;

  boolean getImageLocation(java.lang.Integer, com.sun.javafx.geom.Rectangle, javafx.scene.layout.Background, com.sun.javafx.geom.Shape, com.sun.prism.Graphics);
    descriptor: (Ljava/lang/Integer;Lcom/sun/javafx/geom/Rectangle;Ljavafx/scene/layout/Background;Lcom/sun/javafx/geom/Shape;Lcom/sun/prism/Graphics;)Z
    flags: (0x0000) 
    Code:
      stack=7, locals=9, args_size=6
        start local 0 // com.sun.javafx.sg.prism.RegionImageCache this
        start local 1 // java.lang.Integer key
        start local 2 // com.sun.javafx.geom.Rectangle rect
        start local 3 // javafx.scene.layout.Background background
        start local 4 // com.sun.javafx.geom.Shape shape
        start local 5 // com.sun.prism.Graphics g
         0: .line 119
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.imageMap:Ljava/util/HashMap;
            aload 1 /* key */
            invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.sun.javafx.sg.prism.RegionImageCache$CachedImage
            astore 6 /* cache */
        start local 6 // com.sun.javafx.sg.prism.RegionImageCache$CachedImage cache
         1: .line 120
            aload 6 /* cache */
            ifnull 8
         2: .line 121
            aload 6 /* cache */
            aload 2 /* rect */
            getfield com.sun.javafx.geom.Rectangle.width:I
            aload 2 /* rect */
            getfield com.sun.javafx.geom.Rectangle.height:I
            aload 3 /* background */
            aload 4 /* shape */
            invokevirtual com.sun.javafx.sg.prism.RegionImageCache$CachedImage.equals:(IILjavafx/scene/layout/Background;Lcom/sun/javafx/geom/Shape;)Z
            ifeq 6
         3: .line 122
            aload 2 /* rect */
            aload 6 /* cache */
            getfield com.sun.javafx.sg.prism.RegionImageCache$CachedImage.x:I
            putfield com.sun.javafx.geom.Rectangle.x:I
         4: .line 123
            aload 2 /* rect */
            aload 6 /* cache */
            getfield com.sun.javafx.sg.prism.RegionImageCache$CachedImage.y:I
            putfield com.sun.javafx.geom.Rectangle.y:I
         5: .line 124
            iconst_0
            ireturn
         6: .line 128
      StackMap locals: com.sun.javafx.sg.prism.RegionImageCache$CachedImage
      StackMap stack:
            aload 2 /* rect */
            aload 2 /* rect */
            iconst_m1
            dup_x1
            putfield com.sun.javafx.geom.Rectangle.height:I
            putfield com.sun.javafx.geom.Rectangle.width:I
         7: .line 129
            iconst_0
            ireturn
         8: .line 131
      StackMap locals:
      StackMap stack:
            aload 2 /* rect */
            getfield com.sun.javafx.geom.Rectangle.height:I
            bipush 64
            if_icmple 9
            iconst_1
            goto 10
      StackMap locals:
      StackMap stack:
         9: iconst_0
      StackMap locals:
      StackMap stack: int
        10: istore 7 /* vertical */
        start local 7 // boolean vertical
        11: .line 132
            iload 7 /* vertical */
            ifeq 12
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.vPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
            goto 13
      StackMap locals: int
      StackMap stack:
        12: aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.hPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
      StackMap locals:
      StackMap stack: com.sun.prism.impl.packrect.RectanglePacker
        13: astore 8 /* packer */
        start local 8 // com.sun.prism.impl.packrect.RectanglePacker packer
        14: .line 134
            aload 8 /* packer */
            aload 2 /* rect */
            invokevirtual com.sun.prism.impl.packrect.RectanglePacker.add:(Lcom/sun/javafx/geom/Rectangle;)Z
            ifne 23
        15: .line 135
            aload 5 /* g */
            invokeinterface com.sun.prism.Graphics.sync:()V
        16: .line 137
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.vPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
            invokevirtual com.sun.prism.impl.packrect.RectanglePacker.clear:()V
        17: .line 138
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.hPacker:Lcom/sun/prism/impl/packrect/RectanglePacker;
            invokevirtual com.sun.prism.impl.packrect.RectanglePacker.clear:()V
        18: .line 139
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.imageMap:Ljava/util/HashMap;
            invokevirtual java.util.HashMap.clear:()V
        19: .line 140
            aload 8 /* packer */
            aload 2 /* rect */
            invokevirtual com.sun.prism.impl.packrect.RectanglePacker.add:(Lcom/sun/javafx/geom/Rectangle;)Z
            pop
        20: .line 141
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.backingStore:Lcom/sun/prism/RTTexture;
            invokeinterface com.sun.prism.RTTexture.createGraphics:()Lcom/sun/prism/Graphics;
            invokeinterface com.sun.prism.Graphics.clear:()V
        21: .line 142
            getstatic com.sun.javafx.logging.PulseLogger.PULSE_LOGGING_ENABLED:Z
            ifeq 23
        22: .line 143
            ldc "Region image cache flushed"
            invokestatic com.sun.javafx.logging.PulseLogger.incrementCounter:(Ljava/lang/String;)V
        23: .line 146
      StackMap locals: com.sun.prism.impl.packrect.RectanglePacker
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.javafx.sg.prism.RegionImageCache.imageMap:Ljava/util/HashMap;
            aload 1 /* key */
            new com.sun.javafx.sg.prism.RegionImageCache$CachedImage
            dup
            aload 2 /* rect */
            aload 3 /* background */
            aload 4 /* shape */
            invokespecial com.sun.javafx.sg.prism.RegionImageCache$CachedImage.<init>:(Lcom/sun/javafx/geom/Rectangle;Ljavafx/scene/layout/Background;Lcom/sun/javafx/geom/Shape;)V
            invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        24: .line 147
            iconst_1
            ireturn
        end local 8 // com.sun.prism.impl.packrect.RectanglePacker packer
        end local 7 // boolean vertical
        end local 6 // com.sun.javafx.sg.prism.RegionImageCache$CachedImage cache
        end local 5 // com.sun.prism.Graphics g
        end local 4 // com.sun.javafx.geom.Shape shape
        end local 3 // javafx.scene.layout.Background background
        end local 2 // com.sun.javafx.geom.Rectangle rect
        end local 1 // java.lang.Integer key
        end local 0 // com.sun.javafx.sg.prism.RegionImageCache this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   25     0        this  Lcom/sun/javafx/sg/prism/RegionImageCache;
            0   25     1         key  Ljava/lang/Integer;
            0   25     2        rect  Lcom/sun/javafx/geom/Rectangle;
            0   25     3  background  Ljavafx/scene/layout/Background;
            0   25     4       shape  Lcom/sun/javafx/geom/Shape;
            0   25     5           g  Lcom/sun/prism/Graphics;
            1   25     6       cache  Lcom/sun/javafx/sg/prism/RegionImageCache$CachedImage;
           11   25     7    vertical  Z
           14   25     8      packer  Lcom/sun/prism/impl/packrect/RectanglePacker;
    MethodParameters:
            Name  Flags
      key         
      rect        
      background  
      shape       
      g           
}
SourceFile: "RegionImageCache.java"
NestMembers:
  com.sun.javafx.sg.prism.RegionImageCache$CachedImage
InnerClasses:
  CachedImage = com.sun.javafx.sg.prism.RegionImageCache$CachedImage of com.sun.javafx.sg.prism.RegionImageCache
  public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture