class com.sun.javafx.tk.quantum.QuantumToolkit$5 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.tk.quantum.QuantumToolkit$5
super_class: java.lang.Object
{
final com.sun.javafx.tk.quantum.QuantumToolkit this$0;
descriptor: Lcom/sun/javafx/tk/quantum/QuantumToolkit;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.sun.prism.paint.Paint val$currentPaint;
descriptor: Lcom/sun/prism/paint/Paint;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.sun.javafx.tk.Toolkit$ImageRenderingContext val$params;
descriptor: Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.javafx.tk.quantum.QuantumToolkit, com.sun.prism.paint.Paint, com.sun.javafx.tk.Toolkit$ImageRenderingContext);
descriptor: (Lcom/sun/javafx/tk/quantum/QuantumToolkit;Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield com.sun.javafx.tk.quantum.QuantumToolkit$5.this$0:Lcom/sun/javafx/tk/quantum/QuantumToolkit;
aload 0
aload 2
putfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
aload 0
aload 3
putfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$5;
MethodParameters:
Name Flags
this$0 final
val$currentPaint final
val$params final
private com.sun.prism.paint.Color getClearColor();
descriptor: ()Lcom/sun/prism/paint/Color;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
ifnonnull 2
1: getstatic com.sun.prism.paint.Color.WHITE:Lcom/sun/prism/paint/Color;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
invokevirtual com.sun.prism.paint.Paint.getType:()Lcom/sun/prism/paint/Paint$Type;
getstatic com.sun.prism.paint.Paint$Type.COLOR:Lcom/sun/prism/paint/Paint$Type;
if_acmpne 4
3: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
checkcast com.sun.prism.paint.Color
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
invokevirtual com.sun.prism.paint.Paint.isOpaque:()Z
ifeq 6
5: getstatic com.sun.prism.paint.Color.TRANSPARENT:Lcom/sun/prism/paint/Color;
areturn
6: StackMap locals:
StackMap stack:
getstatic com.sun.prism.paint.Color.WHITE:Lcom/sun/prism/paint/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$5;
private void draw(com.sun.prism.Graphics, int, int, int, int);
descriptor: (Lcom/sun/prism/Graphics;IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.lights:[Lcom/sun/javafx/sg/prism/NGLightBase;
invokeinterface com.sun.prism.Graphics.setLights:([Lcom/sun/javafx/sg/prism/NGLightBase;)V
1: aload 1
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.depthBuffer:Z
invokeinterface com.sun.prism.Graphics.setDepthBuffer:(Z)V
2: aload 1
aload 0
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$5.getClearColor:()Lcom/sun/prism/paint/Color;
invokeinterface com.sun.prism.Graphics.clear:(Lcom/sun/prism/paint/Color;)V
3: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
ifnull 8
4: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
invokevirtual com.sun.prism.paint.Paint.getType:()Lcom/sun/prism/paint/Paint$Type;
getstatic com.sun.prism.paint.Paint$Type.COLOR:Lcom/sun/prism/paint/Paint$Type;
if_acmpeq 8
5: aload 1
invokeinterface com.sun.prism.Graphics.getRenderTarget:()Lcom/sun/prism/RenderTarget;
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
invokevirtual com.sun.prism.paint.Paint.isOpaque:()Z
invokeinterface com.sun.prism.RenderTarget.setOpaque:(Z)V
6: aload 1
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$currentPaint:Lcom/sun/prism/paint/Paint;
invokeinterface com.sun.prism.Graphics.setPaint:(Lcom/sun/prism/paint/Paint;)V
7: aload 1
fconst_0
fconst_0
iload 4
i2f
iload 5
i2f
invokeinterface com.sun.prism.Graphics.fillQuad:(FFFF)V
8: StackMap locals:
StackMap stack:
iload 2
ifne 9
iload 3
ifeq 10
9: StackMap locals:
StackMap stack:
aload 1
iload 2
ineg
i2f
iload 3
ineg
i2f
invokeinterface com.sun.prism.Graphics.translate:(FF)V
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.transform:Lcom/sun/javafx/geom/transform/BaseTransform;
ifnull 12
11: aload 1
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.transform:Lcom/sun/javafx/geom/transform/BaseTransform;
invokeinterface com.sun.prism.Graphics.transform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.root:Lcom/sun/javafx/sg/prism/NGNode;
ifnull 17
13: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.camera:Lcom/sun/javafx/sg/prism/NGCamera;
ifnull 15
14: aload 1
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.camera:Lcom/sun/javafx/sg/prism/NGCamera;
invokeinterface com.sun.prism.Graphics.setCamera:(Lcom/sun/javafx/sg/prism/NGCamera;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.root:Lcom/sun/javafx/sg/prism/NGNode;
astore 6
start local 6 16: aload 6
aload 1
invokevirtual com.sun.javafx.sg.prism.NGNode.render:(Lcom/sun/prism/Graphics;)V
end local 6 17: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$5;
0 18 1 g Lcom/sun/prism/Graphics;
0 18 2 x I
0 18 3 y I
0 18 4 w I
0 18 5 h I
16 17 6 ngNode Lcom/sun/javafx/sg/prism/NGNode;
MethodParameters:
Name Flags
g
x
y
w
h
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=1
start local 0 0: invokestatic com.sun.prism.GraphicsPipeline.getDefaultResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 1
start local 1 1: aload 1
invokeinterface com.sun.prism.ResourceFactory.isDeviceReady:()Z
ifne 3
2: return
3: StackMap locals: com.sun.prism.ResourceFactory
StackMap stack:
aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.x:I
istore 2
start local 2 4: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.y:I
istore 3
start local 3 5: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.width:I
istore 4
start local 4 6: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.height:I
istore 5
start local 5 7: iload 4
ifle 8
iload 5
ifgt 9
8: StackMap locals: com.sun.javafx.tk.quantum.QuantumToolkit$5 com.sun.prism.ResourceFactory int int int int
StackMap stack:
return
9: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 10: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.platformImage:Ljava/lang/Object;
instanceof com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage
ifeq 12
11: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
getfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.platformImage:Ljava/lang/Object;
checkcast com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage
goto 13
StackMap locals: int
StackMap stack:
12: new com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage
dup
aconst_null
invokespecial com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.<init>:(Lcom/sun/prism/Image;)V
13: StackMap locals:
StackMap stack: com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage
astore 7
start local 7 14: aload 7
iload 4
iload 5
aload 1
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.getRT:(IILcom/sun/prism/ResourceFactory;)Lcom/sun/prism/RTTexture;
astore 8
start local 8 15: aload 8
ifnonnull 19
16: invokestatic com.sun.prism.impl.Disposer.cleanUp:()V
17: aload 1
invokeinterface com.sun.prism.ResourceFactory.getTextureResourcePool:()Lcom/sun/prism/impl/TextureResourcePool;
iload 6
invokeinterface com.sun.prism.impl.TextureResourcePool.freeDisposalRequestedAndCheckResources:(Z)V
18: return
19: StackMap locals: com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage com.sun.prism.RTTexture
StackMap stack:
aload 8
invokeinterface com.sun.prism.RTTexture.createGraphics:()Lcom/sun/prism/Graphics;
astore 9
start local 9 20: aload 0
aload 9
iload 2
iload 3
iload 4
iload 5
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$5.draw:(Lcom/sun/prism/Graphics;IIII)V
21: aload 7
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getPixels:()[I
astore 10
start local 10 22: aload 10
ifnull 25
23: aload 7
aload 10
iload 4
iload 5
invokestatic com.sun.prism.Image.fromIntArgbPreData:([III)Lcom/sun/prism/Image;
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.setImage:(Lcom/sun/prism/Image;)V
24: goto 34
25: StackMap locals: com.sun.prism.Graphics int[]
StackMap stack:
iload 4
iload 5
imul
invokestatic java.nio.IntBuffer.allocate:(I)Ljava/nio/IntBuffer;
astore 11
start local 11 26: aload 7
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
aload 11
aload 7
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentX:()I
27: aload 7
getfield com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.rt:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentY:()I
iload 4
iload 5
28: invokeinterface com.sun.prism.RTTexture.readPixels:(Ljava/nio/Buffer;IIII)Z
29: ifeq 32
30: aload 7
aload 11
iload 4
iload 5
invokestatic com.sun.prism.Image.fromIntArgbPreData:(Ljava/nio/IntBuffer;II)Lcom/sun/prism/Image;
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.setImage:(Lcom/sun/prism/Image;)V
31: goto 34
32: StackMap locals: java.nio.IntBuffer
StackMap stack:
aload 7
invokevirtual com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage.dispose:()V
33: aconst_null
astore 7
end local 11 34: StackMap locals:
StackMap stack:
aload 8
invokeinterface com.sun.prism.RTTexture.unlock:()V
35: aload 0
getfield com.sun.javafx.tk.quantum.QuantumToolkit$5.val$params:Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;
aload 7
putfield com.sun.javafx.tk.Toolkit$ImageRenderingContext.platformImage:Ljava/lang/Object;
end local 10 end local 9 end local 8 end local 7 36: goto 46
StackMap locals: com.sun.javafx.tk.quantum.QuantumToolkit$5 com.sun.prism.ResourceFactory int int int int int
StackMap stack: java.lang.Throwable
37: astore 7
start local 7 38: iconst_1
istore 6
39: aload 7
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
end local 7 40: invokestatic com.sun.prism.impl.Disposer.cleanUp:()V
41: aload 1
invokeinterface com.sun.prism.ResourceFactory.getTextureResourcePool:()Lcom/sun/prism/impl/TextureResourcePool;
iload 6
invokeinterface com.sun.prism.impl.TextureResourcePool.freeDisposalRequestedAndCheckResources:(Z)V
goto 48
42: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
43: invokestatic com.sun.prism.impl.Disposer.cleanUp:()V
44: aload 1
invokeinterface com.sun.prism.ResourceFactory.getTextureResourcePool:()Lcom/sun/prism/impl/TextureResourcePool;
iload 6
invokeinterface com.sun.prism.impl.TextureResourcePool.freeDisposalRequestedAndCheckResources:(Z)V
45: aload 12
athrow
46: StackMap locals:
StackMap stack:
invokestatic com.sun.prism.impl.Disposer.cleanUp:()V
47: aload 1
invokeinterface com.sun.prism.ResourceFactory.getTextureResourcePool:()Lcom/sun/prism/impl/TextureResourcePool;
iload 6
invokeinterface com.sun.prism.impl.TextureResourcePool.freeDisposalRequestedAndCheckResources:(Z)V
48: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lcom/sun/javafx/tk/quantum/QuantumToolkit$5;
1 49 1 rf Lcom/sun/prism/ResourceFactory;
4 49 2 x I
5 49 3 y I
6 49 4 w I
7 49 5 h I
10 49 6 errored Z
14 36 7 pImage Lcom/sun/javafx/tk/quantum/QuantumToolkit$QuantumImage;
15 36 8 rt Lcom/sun/prism/RTTexture;
20 36 9 g Lcom/sun/prism/Graphics;
22 36 10 pixels [I
26 34 11 ib Ljava/nio/IntBuffer;
38 40 7 t Ljava/lang/Throwable;
Exception table:
from to target type
10 16 37 Class java.lang.Throwable
19 36 37 Class java.lang.Throwable
10 16 42 any
19 40 42 any
}
SourceFile: "QuantumToolkit.java"
EnclosingMethod: com.sun.javafx.tk.quantum.QuantumToolkit.renderToImage:(Lcom/sun/javafx/tk/Toolkit$ImageRenderingContext;)Ljava/lang/Object;
NestHost: com.sun.javafx.tk.quantum.QuantumToolkit
InnerClasses:
public ImageRenderingContext = com.sun.javafx.tk.Toolkit$ImageRenderingContext of com.sun.javafx.tk.Toolkit
com.sun.javafx.tk.quantum.QuantumToolkit$5
QuantumImage = com.sun.javafx.tk.quantum.QuantumToolkit$QuantumImage of com.sun.javafx.tk.quantum.QuantumToolkit
public final Type = com.sun.prism.paint.Paint$Type of com.sun.prism.paint.Paint