class com.sun.javafx.sg.prism.NGCanvas$RenderBuf
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.javafx.sg.prism.NGCanvas$RenderBuf
super_class: java.lang.Object
{
final com.sun.javafx.sg.prism.NGCanvas$InitType init_type;
descriptor: Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
flags: (0x0010) ACC_FINAL
com.sun.prism.RTTexture tex;
descriptor: Lcom/sun/prism/RTTexture;
flags: (0x0000)
com.sun.prism.Graphics g;
descriptor: Lcom/sun/prism/Graphics;
flags: (0x0000)
com.sun.javafx.sg.prism.NGCanvas$EffectInput input;
descriptor: Lcom/sun/javafx/sg/prism/NGCanvas$EffectInput;
flags: (0x0000)
private com.sun.javafx.sg.prism.NGCanvas$PixelData savedPixelData;
descriptor: Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.javafx.sg.prism.NGCanvas$InitType);
descriptor: (Lcom/sun/javafx/sg/prism/NGCanvas$InitType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
2: aload 0
aload 1
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.init_type:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/sg/prism/NGCanvas$RenderBuf;
0 4 1 init_type Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
MethodParameters:
Name Flags
init_type
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
ifnull 1
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.dispose:()V
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
2: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
3: aload 0
aconst_null
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.input:Lcom/sun/javafx/sg/prism/NGCanvas$EffectInput;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/sg/prism/NGCanvas$RenderBuf;
public boolean validate(com.sun.prism.Graphics, int, int);
descriptor: (Lcom/sun/prism/Graphics;II)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, 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$RenderBuf.tex:Lcom/sun/prism/RTTexture;
ifnonnull 5
1: iconst_0
dup
istore 5
start local 5 2: istore 4
start local 4 3: iconst_1
istore 6
start local 6 4: goto 11
end local 6 end local 5 end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentWidth:()I
istore 4
start local 4 6: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.getContentHeight:()I
istore 5
start local 5 7: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.lock:()V
8: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.isSurfaceLost:()Z
ifne 9
iload 4
iload 2
if_icmplt 9
iload 5
iload 3
if_icmplt 9
iconst_0
goto 10
StackMap locals: int int
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: istore 6
start local 6 11: StackMap locals: int
StackMap stack:
iload 6
ifeq 36
12: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
astore 7
start local 7 13: aload 1
ifnonnull 15
14: invokestatic com.sun.prism.GraphicsPipeline.getDefaultResourceFactory:()Lcom/sun/prism/ResourceFactory;
goto 16
15: StackMap locals: com.sun.prism.RTTexture
StackMap stack:
aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
16: StackMap locals:
StackMap stack: com.sun.prism.ResourceFactory
astore 8
start local 8 17: aload 8
iload 2
iload 3
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createRTTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/RTTexture;
18: astore 9
start local 9 19: aload 0
aload 9
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
20: aload 0
aload 9
invokeinterface com.sun.prism.RTTexture.createGraphics:()Lcom/sun/prism/Graphics;
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
21: aload 0
new com.sun.javafx.sg.prism.NGCanvas$EffectInput
dup
aload 9
invokespecial com.sun.javafx.sg.prism.NGCanvas$EffectInput.<init>:(Lcom/sun/prism/RTTexture;)V
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.input:Lcom/sun/javafx/sg/prism/NGCanvas$EffectInput;
22: aload 7
ifnull 33
23: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.init_type:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
getstatic com.sun.javafx.sg.prism.NGCanvas$InitType.PRESERVE_UPPER_LEFT:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
if_acmpne 31
24: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.CompositeMode.SRC:Lcom/sun/prism/CompositeMode;
invokeinterface com.sun.prism.Graphics.setCompositeMode:(Lcom/sun/prism/CompositeMode;)V
25: aload 7
invokeinterface com.sun.prism.RTTexture.isSurfaceLost:()Z
ifeq 29
26: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
ifnull 30
27: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
iload 4
iload 5
invokevirtual com.sun.javafx.sg.prism.NGCanvas$PixelData.restore:(Lcom/sun/prism/Graphics;II)V
28: goto 30
29: StackMap locals: com.sun.prism.ResourceFactory com.sun.prism.RTTexture
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
aload 7
fconst_0
fconst_0
iload 4
i2f
iload 5
i2f
invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFF)V
30: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.CompositeMode.SRC_OVER:Lcom/sun/prism/CompositeMode;
invokeinterface com.sun.prism.Graphics.setCompositeMode:(Lcom/sun/prism/CompositeMode;)V
31: StackMap locals:
StackMap stack:
aload 7
invokeinterface com.sun.prism.RTTexture.unlock:()V
32: aload 7
invokeinterface com.sun.prism.RTTexture.dispose:()V
33: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.init_type:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
getstatic com.sun.javafx.sg.prism.NGCanvas$InitType.FILL_WHITE:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
if_acmpne 35
34: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.paint.Color.WHITE:Lcom/sun/prism/paint/Color;
invokeinterface com.sun.prism.Graphics.clear:(Lcom/sun/prism/paint/Color;)V
35: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 9 end local 8 end local 7 36: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
ifnonnull 55
37: aload 0
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.createGraphics:()Lcom/sun/prism/Graphics;
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
38: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
ifnonnull 55
39: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.dispose:()V
40: aload 1
ifnonnull 42
41: invokestatic com.sun.prism.GraphicsPipeline.getDefaultResourceFactory:()Lcom/sun/prism/ResourceFactory;
goto 43
42: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
43: StackMap locals:
StackMap stack: com.sun.prism.ResourceFactory
astore 7
start local 7 44: aload 0
aload 7
iload 2
iload 3
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createRTTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/RTTexture;
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
45: aload 0
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.createGraphics:()Lcom/sun/prism/Graphics;
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
46: aload 0
new com.sun.javafx.sg.prism.NGCanvas$EffectInput
dup
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokespecial com.sun.javafx.sg.prism.NGCanvas$EffectInput.<init>:(Lcom/sun/prism/RTTexture;)V
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.input:Lcom/sun/javafx/sg/prism/NGCanvas$EffectInput;
47: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
ifnull 52
48: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.CompositeMode.SRC:Lcom/sun/prism/CompositeMode;
invokeinterface com.sun.prism.Graphics.setCompositeMode:(Lcom/sun/prism/CompositeMode;)V
49: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
iload 2
iload 3
invokevirtual com.sun.javafx.sg.prism.NGCanvas$PixelData.restore:(Lcom/sun/prism/Graphics;II)V
50: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.CompositeMode.SRC_OVER:Lcom/sun/prism/CompositeMode;
invokeinterface com.sun.prism.Graphics.setCompositeMode:(Lcom/sun/prism/CompositeMode;)V
51: goto 54
StackMap locals: com.sun.prism.ResourceFactory
StackMap stack:
52: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.init_type:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
getstatic com.sun.javafx.sg.prism.NGCanvas$InitType.FILL_WHITE:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
if_acmpne 54
53: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
getstatic com.sun.prism.paint.Color.WHITE:Lcom/sun/prism/paint/Color;
invokeinterface com.sun.prism.Graphics.clear:(Lcom/sun/prism/paint/Color;)V
54: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 7 55: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.init_type:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
getstatic com.sun.javafx.sg.prism.NGCanvas$InitType.CLEAR:Lcom/sun/javafx/sg/prism/NGCanvas$InitType;
if_acmpne 57
56: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.g:Lcom/sun/prism/Graphics;
invokeinterface com.sun.prism.Graphics.clear:()V
57: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 58 0 this Lcom/sun/javafx/sg/prism/NGCanvas$RenderBuf;
0 58 1 resg Lcom/sun/prism/Graphics;
0 58 2 tw I
0 58 3 th I
3 5 4 cw I
6 58 4 cw I
2 5 5 ch I
7 58 5 ch I
4 5 6 create Z
11 58 6 create Z
13 36 7 oldtex Lcom/sun/prism/RTTexture;
17 36 8 factory Lcom/sun/prism/ResourceFactory;
19 36 9 newtex Lcom/sun/prism/RTTexture;
44 55 7 factory Lcom/sun/prism/ResourceFactory;
MethodParameters:
Name Flags
resg
tw
th
private void save(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokeinterface com.sun.prism.RTTexture.isVolatile:()Z
ifeq 4
1: aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
ifnonnull 3
2: aload 0
new com.sun.javafx.sg.prism.NGCanvas$PixelData
dup
iload 1
iload 2
invokespecial com.sun.javafx.sg.prism.NGCanvas$PixelData.<init>:(II)V
putfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.savedPixelData:Lcom/sun/javafx/sg/prism/NGCanvas$PixelData;
aload 0
getfield com.sun.javafx.sg.prism.NGCanvas$RenderBuf.tex:Lcom/sun/prism/RTTexture;
invokevirtual com.sun.javafx.sg.prism.NGCanvas$PixelData.save:(Lcom/sun/prism/RTTexture;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/javafx/sg/prism/NGCanvas$RenderBuf;
0 5 1 tw I
0 5 2 th I
MethodParameters:
Name Flags
tw
th
}
SourceFile: "NGCanvas.java"
NestHost: com.sun.javafx.sg.prism.NGCanvas
InnerClasses:
EffectInput = com.sun.javafx.sg.prism.NGCanvas$EffectInput of com.sun.javafx.sg.prism.NGCanvas
final InitType = com.sun.javafx.sg.prism.NGCanvas$InitType of com.sun.javafx.sg.prism.NGCanvas
private PixelData = com.sun.javafx.sg.prism.NGCanvas$PixelData of com.sun.javafx.sg.prism.NGCanvas
RenderBuf = com.sun.javafx.sg.prism.NGCanvas$RenderBuf of com.sun.javafx.sg.prism.NGCanvas
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture