public class com.sun.prism.impl.QueuedPixelSource implements com.sun.prism.PixelSource
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.prism.impl.QueuedPixelSource
  super_class: java.lang.Object
{
  private volatile com.sun.glass.ui.Pixels beingConsumed;
    descriptor: Lcom/sun/glass/ui/Pixels;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private volatile com.sun.glass.ui.Pixels enqueued;
    descriptor: Lcom/sun/glass/ui/Pixels;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final java.util.List<java.lang.ref.WeakReference<com.sun.glass.ui.Pixels>> saved;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/sun/glass/ui/Pixels;>;>;

  private final boolean useDirectBuffers;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
        start local 1 // boolean useDirectBuffers
         0: .line 68
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
         2: .line 65
            new java.util.ArrayList
            dup
            iconst_3
            invokespecial java.util.ArrayList.<init>:(I)V
            putfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
         3: .line 69
            aload 0 /* this */
            iload 1 /* useDirectBuffers */
            putfield com.sun.prism.impl.QueuedPixelSource.useDirectBuffers:Z
         4: .line 70
            return
        end local 1 // boolean useDirectBuffers
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    5     0              this  Lcom/sun/prism/impl/QueuedPixelSource;
            0    5     1  useDirectBuffers  Z
    MethodParameters:
                  Name  Flags
      useDirectBuffers  

  public synchronized com.sun.glass.ui.Pixels getLatestPixels();
    descriptor: ()Lcom/sun/glass/ui/Pixels;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
         0: .line 74
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            ifnull 2
         1: .line 75
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "already consuming pixels: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
            ifnull 5
         3: .line 78
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
            putfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
         4: .line 79
            aload 0 /* this */
            aconst_null
            putfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
         5: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            areturn
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/sun/prism/impl/QueuedPixelSource;

  public synchronized void doneWithPixels(com.sun.glass.ui.Pixels);
    descriptor: (Lcom/sun/glass/ui/Pixels;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
        start local 1 // com.sun.glass.ui.Pixels used
         0: .line 86
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            aload 1 /* used */
            if_acmpeq 2
         1: .line 87
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "wrong pixels buffer: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* used */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " != "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 89
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
         3: .line 90
            return
        end local 1 // com.sun.glass.ui.Pixels used
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/prism/impl/QueuedPixelSource;
            0    4     1  used  Lcom/sun/glass/ui/Pixels;
    MethodParameters:
      Name  Flags
      used  

  public synchronized void skipLatestPixels();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
         0: .line 94
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            ifnull 2
         1: .line 95
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "cannot skip while processing: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
         3: .line 98
            return
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/prism/impl/QueuedPixelSource;

  private boolean usesSameBuffer(com.sun.glass.ui.Pixels, com.sun.glass.ui.Pixels);
    descriptor: (Lcom/sun/glass/ui/Pixels;Lcom/sun/glass/ui/Pixels;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
        start local 1 // com.sun.glass.ui.Pixels p1
        start local 2 // com.sun.glass.ui.Pixels p2
         0: .line 101
            aload 1 /* p1 */
            aload 2 /* p2 */
            if_acmpne 1
            iconst_1
            ireturn
         1: .line 102
      StackMap locals:
      StackMap stack:
            aload 1 /* p1 */
            ifnull 2
            aload 2 /* p2 */
            ifnonnull 3
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
         3: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* p1 */
            invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
            aload 2 /* p2 */
            invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
            if_acmpne 4
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         4: iconst_0
            ireturn
        end local 2 // com.sun.glass.ui.Pixels p2
        end local 1 // com.sun.glass.ui.Pixels p1
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/prism/impl/QueuedPixelSource;
            0    5     1    p1  Lcom/sun/glass/ui/Pixels;
            0    5     2    p2  Lcom/sun/glass/ui/Pixels;
    MethodParameters:
      Name  Flags
      p1    
      p2    

  public synchronized com.sun.glass.ui.Pixels getUnusedPixels(int, int, float, float);
    descriptor: (IIFF)Lcom/sun/glass/ui/Pixels;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=6, locals=9, args_size=5
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
        start local 1 // int w
        start local 2 // int h
        start local 3 // float scalex
        start local 4 // float scaley
         0: .line 121
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         1: .line 122
            aconst_null
            astore 6 /* reuseBuffer */
        start local 6 // java.nio.IntBuffer reuseBuffer
         2: .line 123
            goto 21
         3: .line 124
      StackMap locals: int java.nio.IntBuffer
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.ref.WeakReference
            astore 7 /* ref */
        start local 7 // java.lang.ref.WeakReference ref
         4: .line 125
            aload 7 /* ref */
            invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
            checkcast com.sun.glass.ui.Pixels
            astore 8 /* p */
        start local 8 // com.sun.glass.ui.Pixels p
         5: .line 126
            aload 8 /* p */
            ifnonnull 8
         6: .line 127
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
         7: .line 128
            goto 21
         8: .line 130
      StackMap locals: java.lang.ref.WeakReference com.sun.glass.ui.Pixels
      StackMap stack:
            aload 0 /* this */
            aload 8 /* p */
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.beingConsumed:Lcom/sun/glass/ui/Pixels;
            invokevirtual com.sun.prism.impl.QueuedPixelSource.usesSameBuffer:(Lcom/sun/glass/ui/Pixels;Lcom/sun/glass/ui/Pixels;)Z
            ifne 9
            aload 0 /* this */
            aload 8 /* p */
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
            invokevirtual com.sun.prism.impl.QueuedPixelSource.usesSameBuffer:(Lcom/sun/glass/ui/Pixels;Lcom/sun/glass/ui/Pixels;)Z
            ifeq 11
         9: .line 131
      StackMap locals:
      StackMap stack:
            iinc 5 /* i */ 1
        10: .line 132
            goto 21
        11: .line 134
      StackMap locals:
      StackMap stack:
            aload 8 /* p */
            invokevirtual com.sun.glass.ui.Pixels.getWidthUnsafe:()I
            iload 1 /* w */
            if_icmpne 16
        12: .line 135
            aload 8 /* p */
            invokevirtual com.sun.glass.ui.Pixels.getHeightUnsafe:()I
            iload 2 /* h */
            if_icmpne 16
        13: .line 136
            aload 8 /* p */
            invokevirtual com.sun.glass.ui.Pixels.getScaleXUnsafe:()F
            fload 3 /* scalex */
            fcmpl
            ifne 16
        14: .line 137
            aload 8 /* p */
            invokevirtual com.sun.glass.ui.Pixels.getScaleYUnsafe:()F
            fload 4 /* scaley */
            fcmpl
            ifne 16
        15: .line 139
            aload 8 /* p */
            areturn
        16: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
        17: .line 143
            aload 8 /* p */
            invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
            checkcast java.nio.IntBuffer
            astore 6 /* reuseBuffer */
        18: .line 144
            aload 6 /* reuseBuffer */
            invokevirtual java.nio.IntBuffer.capacity:()I
            iload 1 /* w */
            iload 2 /* h */
            imul
            if_icmplt 20
        19: .line 145
            goto 22
        20: .line 147
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 6 /* reuseBuffer */
        end local 8 // com.sun.glass.ui.Pixels p
        end local 7 // java.lang.ref.WeakReference ref
        21: .line 123
      StackMap locals:
      StackMap stack:
            iload 5 /* i */
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            if_icmplt 3
        22: .line 152
      StackMap locals:
      StackMap stack:
            aload 6 /* reuseBuffer */
            ifnonnull 28
        23: .line 153
            iload 1 /* w */
            iload 2 /* h */
            imul
            istore 7 /* bufsize */
        start local 7 // int bufsize
        24: .line 154
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.useDirectBuffers:Z
            ifeq 27
        25: .line 155
            iload 7 /* bufsize */
            invokestatic com.sun.prism.impl.BufferUtil.newIntBuffer:(I)Ljava/nio/IntBuffer;
            astore 6 /* reuseBuffer */
        26: .line 156
            goto 28
        27: .line 157
      StackMap locals: int
      StackMap stack:
            iload 7 /* bufsize */
            invokestatic java.nio.IntBuffer.allocate:(I)Ljava/nio/IntBuffer;
            astore 6 /* reuseBuffer */
        end local 7 // int bufsize
        28: .line 160
      StackMap locals:
      StackMap stack:
            invokestatic com.sun.glass.ui.Application.GetApplication:()Lcom/sun/glass/ui/Application;
            iload 1 /* w */
            iload 2 /* h */
            aload 6 /* reuseBuffer */
            fload 3 /* scalex */
            fload 4 /* scaley */
            invokevirtual com.sun.glass.ui.Application.createPixels:(IILjava/nio/IntBuffer;FF)Lcom/sun/glass/ui/Pixels;
            astore 7 /* p */
        start local 7 // com.sun.glass.ui.Pixels p
        29: .line 161
            aload 0 /* this */
            getfield com.sun.prism.impl.QueuedPixelSource.saved:Ljava/util/List;
            new java.lang.ref.WeakReference
            dup
            aload 7 /* p */
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        30: .line 162
            aload 7 /* p */
            areturn
        end local 7 // com.sun.glass.ui.Pixels p
        end local 6 // java.nio.IntBuffer reuseBuffer
        end local 5 // int i
        end local 4 // float scaley
        end local 3 // float scalex
        end local 2 // int h
        end local 1 // int w
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   31     0         this  Lcom/sun/prism/impl/QueuedPixelSource;
            0   31     1            w  I
            0   31     2            h  I
            0   31     3       scalex  F
            0   31     4       scaley  F
            1   31     5            i  I
            2   31     6  reuseBuffer  Ljava/nio/IntBuffer;
            4   21     7          ref  Ljava/lang/ref/WeakReference<Lcom/sun/glass/ui/Pixels;>;
            5   21     8            p  Lcom/sun/glass/ui/Pixels;
           24   28     7      bufsize  I
           29   31     7            p  Lcom/sun/glass/ui/Pixels;
    MethodParameters:
        Name  Flags
      w       
      h       
      scalex  
      scaley  

  public synchronized void enqueuePixels(com.sun.glass.ui.Pixels);
    descriptor: (Lcom/sun/glass/ui/Pixels;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.prism.impl.QueuedPixelSource this
        start local 1 // com.sun.glass.ui.Pixels pixels
         0: .line 173
            aload 0 /* this */
            aload 1 /* pixels */
            putfield com.sun.prism.impl.QueuedPixelSource.enqueued:Lcom/sun/glass/ui/Pixels;
         1: .line 174
            return
        end local 1 // com.sun.glass.ui.Pixels pixels
        end local 0 // com.sun.prism.impl.QueuedPixelSource this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lcom/sun/prism/impl/QueuedPixelSource;
            0    2     1  pixels  Lcom/sun/glass/ui/Pixels;
    MethodParameters:
        Name  Flags
      pixels  
}
SourceFile: "QueuedPixelSource.java"