class com.sun.javafx.sg.prism.NGCanvas$PixelData
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.sg.prism.NGCanvas$PixelData
super_class: java.lang.Object
{
private java.nio.IntBuffer pixels;
descriptor: Ljava/nio/IntBuffer;
flags: (0x0002) ACC_PRIVATE
private boolean validPixels;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int cw;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int ch;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
2: aload 0
iconst_0
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.validPixels:Z
3: aload 0
iload 1
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.cw:I
4: aload 0
iload 2
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.ch:I
5: aload 0
iload 1
iload 2
imul
invokestatic java.nio.IntBuffer.allocate:(I)Ljava/nio/IntBuffer;
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
0 7 1 cw I
0 7 2 ch I
MethodParameters:
Name Flags
cw
ch
private void save(com.sun.prism.RTTexture);
descriptor: (Lcom/sun/prism/RTTexture;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.prism.RTTexture.getContentWidth:()I
istore 2
start local 2 1: aload 1
invokeinterface com.sun.prism.RTTexture.getContentHeight:()I
istore 3
start local 3 2: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.cw:I
iload 2
if_icmplt 3
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.ch:I
iload 3
if_icmpge 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.cw:I
4: aload 0
iload 3
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.ch:I
5: aload 0
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.cw:I
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.ch:I
imul
invokestatic java.nio.IntBuffer.allocate:(I)Ljava/nio/IntBuffer;
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
invokevirtual java.nio.IntBuffer.rewind:()Ljava/nio/Buffer;
pop
7: aload 1
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
invokeinterface com.sun.prism.RTTexture.readPixels:(Ljava/nio/Buffer;)Z
pop
8: aload 0
iconst_1
putfield com.sun.javafx.sg.prism.NGCanvas$PixelData.validPixels:Z
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
0 10 1 tex Lcom/sun/prism/RTTexture;
1 10 2 tw I
2 10 3 th I
MethodParameters:
Name Flags
tex
private void restore(com.sun.prism.Graphics, int, int);
descriptor: (Lcom/sun/prism/Graphics;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.validPixels:Z
ifeq 10
1: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$PixelData.pixels:Ljava/nio/IntBuffer;
iload 2
iload 3
invokestatic com.sun.prism.Image.fromIntArgbPreData:(Ljava/nio/IntBuffer;II)Lcom/sun/prism/Image;
astore 4
start local 4 2: aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 5
start local 5 3: aload 5
aload 4
4: getstatic com.sun.prism.Texture$Usage.DEFAULT:Lcom/sun/prism/Texture$Usage;
5: getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
6: invokeinterface com.sun.prism.ResourceFactory.createTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$Usage;Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
7: astore 6
start local 6 8: aload 1
aload 6
fconst_0
fconst_0
iload 2
i2f
iload 3
i2f
invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFF)V
9: aload 6
invokeinterface com.sun.prism.Texture.dispose:()V
end local 6 end local 5 end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
0 11 1 g Lcom/sun/prism/Graphics;
0 11 2 tw I
0 11 3 th I
2 10 4 img Lcom/sun/prism/Image;
3 10 5 factory Lcom/sun/prism/ResourceFactory;
8 10 6 tempTex Lcom/sun/prism/Texture;
MethodParameters:
Name Flags
g
tw
th
}
SourceFile: "NGCanvas.java"
NestHost: com.sun.javafx.sg.prism.NGCanvas
InnerClasses:
private PixelData = com.sun.javafx.sg.prism.NGCanvas$PixelData of com.sun.javafx.sg.prism.NGCanvas
public final Usage = com.sun.prism.Texture$Usage of com.sun.prism.Texture
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture