class com.sun.prism.j2d.J2DPresentable$Glass extends com.sun.prism.j2d.J2DPresentable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.j2d.J2DPresentable$Glass
super_class: com.sun.prism.j2d.J2DPresentable
{
private final com.sun.prism.PresentableState pState;
descriptor: Lcom/sun/prism/PresentableState;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int theFormat;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.glass.ui.Pixels pixels;
descriptor: Lcom/sun/glass/ui/Pixels;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.impl.QueuedPixelSource pixelSource;
descriptor: Lcom/sun/prism/impl/QueuedPixelSource;
flags: (0x0002) ACC_PRIVATE
private boolean opaque;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/prism/j2d/J2DPresentable;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.prism.j2d.J2DPresentable$Glass.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.prism.PresentableState, com.sun.prism.j2d.J2DResourceFactory);
descriptor: (Lcom/sun/prism/PresentableState;Lcom/sun/prism/j2d/J2DResourceFactory;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 2
invokespecial com.sun.prism.j2d.J2DPresentable.<init>:(Ljava/awt/image/BufferedImage;Lcom/sun/prism/j2d/J2DResourceFactory;)V
1: aload 0
new com.sun.prism.impl.QueuedPixelSource
dup
iconst_0
invokespecial com.sun.prism.impl.QueuedPixelSource.<init>:(Z)V
putfield com.sun.prism.j2d.J2DPresentable$Glass.pixelSource:Lcom/sun/prism/impl/QueuedPixelSource;
2: aload 0
aload 1
putfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
3: aload 0
aload 1
invokevirtual com.sun.prism.PresentableState.getPixelFormat:()I
putfield com.sun.prism.j2d.J2DPresentable$Glass.theFormat:I
4: aload 0
iconst_1
putfield com.sun.prism.j2d.J2DPresentable$Glass.needsResize:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
0 6 1 pState Lcom/sun/prism/PresentableState;
0 6 2 factory Lcom/sun/prism/j2d/J2DResourceFactory;
MethodParameters:
Name Flags
pState
factory
public java.awt.image.BufferedImage createBuffer(int, int);
descriptor: (II)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Glass native format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.theFormat:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
astore 3
start local 3 3: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.theFormat:I
tableswitch { // 1 - 2
1: 4
2: 7
default: 10
}
4: StackMap locals: java.nio.ByteOrder
StackMap stack:
aload 3
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 6
5: new java.awt.image.BufferedImage
dup
iload 1
iload 2
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
areturn
6: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "BYTE_BGRA_PRE pixel format on BIG_ENDIAN"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 3
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 9
8: new java.awt.image.BufferedImage
dup
iload 1
iload 2
iconst_2
invokespecial java.awt.image.BufferedImage.<init>:(III)V
areturn
9: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "BYTE_ARGB pixel format on LITTLE_ENDIAN"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "unrecognized pixel format: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.theFormat:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
0 11 1 w I
0 11 2 h I
3 11 3 byteorder Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
w
h
public boolean lockResources(com.sun.prism.PresentableState);
descriptor: (Lcom/sun/prism/PresentableState;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
aload 1
if_acmpne 1
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.theFormat:I
aload 1
invokevirtual com.sun.prism.PresentableState.getPixelFormat:()I
if_icmpeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.buffer:Ljava/awt/image/BufferedImage;
ifnull 5
3: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getWidth:()I
aload 1
invokevirtual com.sun.prism.PresentableState.getWidth:()I
if_icmpne 5
4: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getHeight:()I
aload 1
invokevirtual com.sun.prism.PresentableState.getHeight:()I
if_icmpne 5
iconst_0
goto 6
StackMap locals:
StackMap stack: com.sun.prism.j2d.J2DPresentable$Glass
5: iconst_1
6: StackMap locals: com.sun.prism.j2d.J2DPresentable$Glass com.sun.prism.PresentableState
StackMap stack: com.sun.prism.j2d.J2DPresentable$Glass int
putfield com.sun.prism.j2d.J2DPresentable$Glass.needsResize:Z
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
0 8 1 pState Lcom/sun/prism/PresentableState;
MethodParameters:
Name Flags
pState
public boolean prepare(com.sun.javafx.geom.Rectangle);
descriptor: (Lcom/sun/javafx/geom/Rectangle;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
invokevirtual com.sun.prism.PresentableState.isViewClosed:()Z
ifne 8
1: aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable$Glass.getPhysicalWidth:()I
istore 2
start local 2 2: aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable$Glass.getPhysicalHeight:()I
istore 3
start local 3 3: aload 0
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pixelSource:Lcom/sun/prism/impl/QueuedPixelSource;
iload 2
iload 3
fconst_1
fconst_1
invokevirtual com.sun.prism.impl.QueuedPixelSource.getUnusedPixels:(IIFF)Lcom/sun/glass/ui/Pixels;
putfield com.sun.prism.j2d.J2DPresentable$Glass.pixels:Lcom/sun/glass/ui/Pixels;
4: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pixels:Lcom/sun/glass/ui/Pixels;
invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
checkcast java.nio.IntBuffer
astore 4
start local 4 5: getstatic com.sun.prism.j2d.J2DPresentable$Glass.$assertionsDisabled:Z
ifne 6
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.ib:Ljava/nio/IntBuffer;
invokevirtual java.nio.IntBuffer.hasArray:()Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: int int java.nio.IntBuffer
StackMap stack:
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.ib:Ljava/nio/IntBuffer;
invokevirtual java.nio.IntBuffer.array:()[I
iconst_0
aload 4
invokevirtual java.nio.IntBuffer.array:()[I
iconst_0
iload 2
iload 3
imul
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: iconst_1
ireturn
end local 4 end local 3 end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
0 9 1 dirty Lcom/sun/javafx/geom/Rectangle;
2 8 2 w I
3 8 3 h I
5 8 4 pixBuf Ljava/nio/IntBuffer;
MethodParameters:
Name Flags
dirty
public boolean present();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pixelSource:Lcom/sun/prism/impl/QueuedPixelSource;
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pixels:Lcom/sun/glass/ui/Pixels;
invokevirtual com.sun.prism.impl.QueuedPixelSource.enqueuePixels:(Lcom/sun/glass/ui/Pixels;)V
1: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pixelSource:Lcom/sun/prism/impl/QueuedPixelSource;
invokevirtual com.sun.prism.PresentableState.uploadPixels:(Lcom/sun/prism/PixelSource;)V
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
public int getContentWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
invokevirtual com.sun.prism.PresentableState.getWidth:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
public int getContentHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.pState:Lcom/sun/prism/PresentableState;
invokevirtual com.sun.prism.PresentableState.getHeight:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
public void setOpaque(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.prism.j2d.J2DPresentable$Glass.opaque:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
0 2 1 opaque Z
MethodParameters:
Name Flags
opaque
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable$Glass.opaque:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable$Glass;
}
SourceFile: "J2DPresentable.java"
NestHost: com.sun.prism.j2d.J2DPresentable
InnerClasses:
private Glass = com.sun.prism.j2d.J2DPresentable$Glass of com.sun.prism.j2d.J2DPresentable