class com.sun.prism.d3d.D3DSwapChain extends com.sun.prism.d3d.D3DResource implements com.sun.prism.d3d.D3DRenderTarget, com.sun.prism.Presentable, com.sun.prism.d3d.D3DContextSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.d3d.D3DSwapChain
super_class: com.sun.prism.d3d.D3DResource
{
private final com.sun.prism.d3d.D3DRTTexture texBackBuffer;
descriptor: Lcom/sun/prism/d3d/D3DRTTexture;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float pixelScaleFactorX;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final float pixelScaleFactorY;
descriptor: F
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.sun.prism.d3d.D3DContext, long, com.sun.prism.d3d.D3DRTTexture, float, float);
descriptor: (Lcom/sun/prism/d3d/D3DContext;JLcom/sun/prism/d3d/D3DRTTexture;FF)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: aload 0
new com.sun.prism.d3d.D3DResource$D3DRecord
dup
aload 1
lload 2
invokespecial com.sun.prism.d3d.D3DResource$D3DRecord.<init>:(Lcom/sun/prism/d3d/D3DContext;J)V
invokespecial com.sun.prism.d3d.D3DResource.<init>:(Lcom/sun/prism/d3d/D3DResource$D3DRecord;)V
1: aload 0
aload 4
putfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
2: aload 0
fload 5
putfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorX:F
3: aload 0
fload 6
putfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorY:F
4: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/d3d/D3DSwapChain;
0 5 1 context Lcom/sun/prism/d3d/D3DContext;
0 5 2 pResource J
0 5 4 rtt Lcom/sun/prism/d3d/D3DRTTexture;
0 5 5 pixelScaleX F
0 5 6 pixelScaleY F
MethodParameters:
Name Flags
context
pResource
rtt
pixelScaleX
pixelScaleY
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.dispose:()V
1: aload 0
invokespecial com.sun.prism.d3d.D3DResource.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public boolean prepare(com.sun.javafx.geom.Rectangle);
descriptor: (Lcom/sun/javafx/geom/Rectangle;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContext:()Lcom/sun/prism/d3d/D3DContext;
astore 2
start local 2 1: aload 2
invokevirtual com.sun.prism.d3d.D3DContext.flushVertexBuffer:()V
2: aload 0
aload 2
invokestatic com.sun.prism.d3d.D3DGraphics.create:(Lcom/sun/prism/RenderTarget;Lcom/sun/prism/d3d/D3DContext;)Lcom/sun/prism/Graphics;
checkcast com.sun.prism.d3d.D3DGraphics
astore 3
start local 3 3: aload 3
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: com.sun.prism.d3d.D3DContext com.sun.prism.d3d.D3DGraphics
StackMap stack:
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentWidth:()I
istore 4
start local 4 6: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentHeight:()I
istore 5
start local 5 7: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContentWidth:()I
istore 6
start local 6 8: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContentHeight:()I
istore 7
start local 7 9: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.isMSAA:()Z
ifeq 13
10: aload 2
invokevirtual com.sun.prism.d3d.D3DContext.flushVertexBuffer:()V
11: aload 3
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
aconst_null
iconst_0
iconst_0
iload 4
iload 5
iconst_0
iconst_0
iload 6
iload 7
invokevirtual com.sun.prism.d3d.D3DGraphics.blit:(Lcom/sun/prism/RTTexture;Lcom/sun/prism/RTTexture;IIIIIIII)V
12: goto 15
13: StackMap locals: com.sun.prism.d3d.D3DSwapChain com.sun.javafx.geom.Rectangle com.sun.prism.d3d.D3DContext com.sun.prism.d3d.D3DGraphics int int int int
StackMap stack:
aload 3
getstatic com.sun.prism.CompositeMode.SRC:Lcom/sun/prism/CompositeMode;
invokevirtual com.sun.prism.d3d.D3DGraphics.setCompositeMode:(Lcom/sun/prism/CompositeMode;)V
14: aload 3
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
fconst_0
fconst_0
iload 6
i2f
iload 7
i2f
fconst_0
fconst_0
iload 4
i2f
iload 5
i2f
invokevirtual com.sun.prism.d3d.D3DGraphics.drawTexture:(Lcom/sun/prism/Texture;FFFFFFFF)V
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.prism.d3d.D3DContext.flushVertexBuffer:()V
16: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.unlock:()V
17: iconst_1
ireturn
end local 7 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 18 0 this Lcom/sun/prism/d3d/D3DSwapChain;
0 18 1 dirtyregion Lcom/sun/javafx/geom/Rectangle;
1 18 2 context Lcom/sun/prism/d3d/D3DContext;
3 18 3 g Lcom/sun/prism/d3d/D3DGraphics;
6 18 4 sw I
7 18 5 sh I
8 18 6 dw I
9 18 7 dh I
MethodParameters:
Name Flags
dirtyregion
public boolean present();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContext:()Lcom/sun/prism/d3d/D3DContext;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.prism.d3d.D3DContext.getContextHandle:()J
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.d3dResRecord:Lcom/sun/prism/d3d/D3DResource$D3DRecord;
invokevirtual com.sun.prism.d3d.D3DResource$D3DRecord.getResource:()J
invokestatic com.sun.prism.d3d.D3DSwapChain.nPresent:(JJ)I
istore 2
start local 2 2: aload 1
iload 2
invokevirtual com.sun.prism.d3d.D3DContext.validatePresent:(I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DSwapChain;
1 3 1 context Lcom/sun/prism/d3d/D3DContext;
2 3 2 res I
public long getResourceHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.d3dResRecord:Lcom/sun/prism/d3d/D3DResource$D3DRecord;
invokevirtual com.sun.prism.d3d.D3DResource$D3DRecord.getResource:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getPhysicalWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.d3dResRecord:Lcom/sun/prism/d3d/D3DResource$D3DRecord;
invokevirtual com.sun.prism.d3d.D3DResource$D3DRecord.getResource:()J
invokestatic com.sun.prism.d3d.D3DResourceFactory.nGetTextureWidth:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getPhysicalHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.d3dResRecord:Lcom/sun/prism/d3d/D3DResource$D3DRecord;
invokevirtual com.sun.prism.d3d.D3DResource$D3DRecord.getResource:()J
invokestatic com.sun.prism.d3d.D3DResourceFactory.nGetTextureHeight:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getContentWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getPhysicalWidth:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getContentHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getPhysicalHeight:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getContentX();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public int getContentY();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
private static native int nPresent(long, long);
descriptor: (JJ)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
context
pSwapChain
public com.sun.prism.d3d.D3DContext getContext();
descriptor: ()Lcom/sun/prism/d3d/D3DContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.d3dResRecord:Lcom/sun/prism/d3d/D3DResource$D3DRecord;
invokevirtual com.sun.prism.d3d.D3DResource$D3DRecord.getContext:()Lcom/sun/prism/d3d/D3DContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public boolean lockResources(com.sun.prism.PresentableState);
descriptor: (Lcom/sun/prism/PresentableState;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.prism.PresentableState.getRenderWidth:()I
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentWidth:()I
if_icmpne 4
1: aload 1
invokevirtual com.sun.prism.PresentableState.getRenderHeight:()I
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentHeight:()I
if_icmpne 4
2: aload 1
invokevirtual com.sun.prism.PresentableState.getRenderScaleX:()F
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorX:F
fcmpl
ifne 4
3: aload 1
invokevirtual com.sun.prism.PresentableState.getRenderScaleY:()F
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorY:F
fcmpl
ifeq 5
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.lock:()V
6: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.isSurfaceLost:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/d3d/D3DSwapChain;
0 7 1 pState Lcom/sun/prism/PresentableState;
MethodParameters:
Name Flags
pState
public com.sun.prism.Graphics createGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokestatic com.sun.prism.d3d.D3DGraphics.create:(Lcom/sun/prism/RenderTarget;Lcom/sun/prism/d3d/D3DContext;)Lcom/sun/prism/Graphics;
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorX:F
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorY:F
invokeinterface com.sun.prism.Graphics.scale:(FF)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DSwapChain;
1 3 1 g Lcom/sun/prism/Graphics;
public com.sun.prism.RTTexture getRTTBackBuffer();
descriptor: ()Lcom/sun/prism/RTTexture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public com.sun.glass.ui.Screen getAssociatedScreen();
descriptor: ()Lcom/sun/glass/ui/Screen;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DSwapChain.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokevirtual com.sun.prism.d3d.D3DContext.getAssociatedScreen:()Lcom/sun/glass/ui/Screen;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public float getPixelScaleFactorX();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorX:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
public float getPixelScaleFactorY();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.pixelScaleFactorY:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
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.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.isOpaque:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DSwapChain;
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
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
iload 1
invokevirtual com.sun.prism.d3d.D3DRTTexture.setOpaque:(Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/d3d/D3DSwapChain;
0 2 1 opaque Z
MethodParameters:
Name Flags
opaque
public boolean isMSAA();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
ifnull 1
aload 0
getfield com.sun.prism.d3d.D3DSwapChain.texBackBuffer:Lcom/sun/prism/d3d/D3DRTTexture;
invokevirtual com.sun.prism.d3d.D3DRTTexture.isMSAA:()Z
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DSwapChain;
}
SourceFile: "D3DSwapChain.java"
InnerClasses:
D3DRecord = com.sun.prism.d3d.D3DResource$D3DRecord of com.sun.prism.d3d.D3DResource