public abstract class com.sun.prism.j2d.J2DPresentable implements com.sun.prism.Presentable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.j2d.J2DPresentable
super_class: java.lang.Object
{
com.sun.prism.j2d.J2DResourceFactory factory;
descriptor: Lcom/sun/prism/j2d/J2DResourceFactory;
flags: (0x0000)
boolean needsResize;
descriptor: Z
flags: (0x0000)
java.awt.image.BufferedImage buffer;
descriptor: Ljava/awt/image/BufferedImage;
flags: (0x0000)
java.nio.IntBuffer ib;
descriptor: Ljava/nio/IntBuffer;
flags: (0x0000)
com.sun.prism.j2d.J2DRTTexture readbackBuffer;
descriptor: Lcom/sun/prism/j2d/J2DRTTexture;
flags: (0x0000)
static com.sun.prism.j2d.J2DPresentable create(com.sun.prism.PresentableState, com.sun.prism.j2d.J2DResourceFactory);
descriptor: (Lcom/sun/prism/PresentableState;Lcom/sun/prism/j2d/J2DResourceFactory;)Lcom/sun/prism/j2d/J2DPresentable;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.J2DPresentable$Glass
dup
aload 0
aload 1
invokespecial com.sun.prism.j2d.J2DPresentable$Glass.<init>:(Lcom/sun/prism/PresentableState;Lcom/sun/prism/j2d/J2DResourceFactory;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pState Lcom/sun/prism/PresentableState;
0 1 1 factory Lcom/sun/prism/j2d/J2DResourceFactory;
MethodParameters:
Name Flags
pState
factory
static com.sun.prism.j2d.J2DPresentable create(java.awt.image.BufferedImage, com.sun.prism.j2d.J2DResourceFactory);
descriptor: (Ljava/awt/image/BufferedImage;Lcom/sun/prism/j2d/J2DResourceFactory;)Lcom/sun/prism/j2d/J2DPresentable;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.J2DPresentable$Bimg
dup
aload 0
aload 1
invokespecial com.sun.prism.j2d.J2DPresentable$Bimg.<init>:(Ljava/awt/image/BufferedImage;Lcom/sun/prism/j2d/J2DResourceFactory;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/awt/image/BufferedImage;
0 1 1 factory Lcom/sun/prism/j2d/J2DResourceFactory;
MethodParameters:
Name Flags
buffer
factory
void <init>(java.awt.image.BufferedImage, com.sun.prism.j2d.J2DResourceFactory);
descriptor: (Ljava/awt/image/BufferedImage;Lcom/sun/prism/j2d/J2DResourceFactory;)V
flags: (0x0000)
Code:
stack=2, 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
aload 1
putfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
2: aload 0
aload 2
putfield com.sun.prism.j2d.J2DPresentable.factory:Lcom/sun/prism/j2d/J2DResourceFactory;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/J2DPresentable;
0 4 1 buffer Ljava/awt/image/BufferedImage;
0 4 2 factory Lcom/sun/prism/j2d/J2DResourceFactory;
MethodParameters:
Name Flags
buffer
factory
com.sun.prism.ResourceFactory getResourceFactory();
descriptor: ()Lcom/sun/prism/ResourceFactory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable.factory:Lcom/sun/prism/j2d/J2DResourceFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable;
public abstract java.awt.image.BufferedImage createBuffer(int, int);
descriptor: (II)Ljava/awt/image/BufferedImage;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
w
h
public com.sun.prism.Graphics createGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable.needsResize:Z
ifeq 12
1: aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentWidth:()I
istore 1
start local 1 2: aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentHeight:()I
istore 2
start local 2 3: aload 0
aconst_null
putfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
4: aload 0
aconst_null
putfield com.sun.prism.j2d.J2DPresentable.readbackBuffer:Lcom/sun/prism/j2d/J2DRTTexture;
5: aload 0
aload 0
iload 1
iload 2
invokevirtual com.sun.prism.j2d.J2DPresentable.createBuffer:(II)Ljava/awt/image/BufferedImage;
putfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
6: aload 0
getfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 3
start local 3 7: aload 3
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
astore 4
start local 4 8: aload 3
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
checkcast java.awt.image.SinglePixelPackedSampleModel
pop
9: aload 4
checkcast java.awt.image.DataBufferInt
invokevirtual java.awt.image.DataBufferInt.getData:()[I
astore 5
start local 5 10: aload 0
aload 5
aload 4
invokevirtual java.awt.image.DataBuffer.getOffset:()I
aload 4
invokevirtual java.awt.image.DataBuffer.getSize:()I
invokestatic java.nio.IntBuffer.wrap:([III)Ljava/nio/IntBuffer;
putfield com.sun.prism.j2d.J2DPresentable.ib:Ljava/nio/IntBuffer;
11: aload 0
iconst_0
putfield com.sun.prism.j2d.J2DPresentable.needsResize:Z
end local 5 end local 4 end local 3 end local 2 end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 1
start local 1 13: aload 0
getfield com.sun.prism.j2d.J2DPresentable.factory:Lcom/sun/prism/j2d/J2DResourceFactory;
aload 0
aload 1
invokevirtual com.sun.prism.j2d.J2DResourceFactory.createJ2DPrismGraphics:(Lcom/sun/prism/j2d/J2DPresentable;Ljava/awt/Graphics2D;)Lcom/sun/prism/j2d/J2DPrismGraphics;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/prism/j2d/J2DPresentable;
2 12 1 w I
3 12 2 h I
7 12 3 r Ljava/awt/image/Raster;
8 12 4 db Ljava/awt/image/DataBuffer;
10 12 5 pixels [I
13 14 1 g2d Ljava/awt/Graphics2D;
com.sun.prism.j2d.J2DRTTexture getReadbackBuffer();
descriptor: ()Lcom/sun/prism/j2d/J2DRTTexture;
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable.readbackBuffer:Lcom/sun/prism/j2d/J2DRTTexture;
ifnonnull 7
1: aload 0
2: aload 0
getfield com.sun.prism.j2d.J2DPresentable.factory:Lcom/sun/prism/j2d/J2DResourceFactory;
aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentWidth:()I
aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentHeight:()I
3: getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
4: invokevirtual com.sun.prism.j2d.J2DResourceFactory.createRTTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/RTTexture;
5: checkcast com.sun.prism.j2d.J2DRTTexture
putfield com.sun.prism.j2d.J2DPresentable.readbackBuffer:Lcom/sun/prism/j2d/J2DRTTexture;
6: aload 0
getfield com.sun.prism.j2d.J2DPresentable.readbackBuffer:Lcom/sun/prism/j2d/J2DRTTexture;
invokevirtual com.sun.prism.j2d.J2DRTTexture.makePermanent:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.j2d.J2DPresentable.readbackBuffer:Lcom/sun/prism/j2d/J2DRTTexture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/j2d/J2DPresentable;
java.awt.image.BufferedImage getBackBuffer();
descriptor: ()Ljava/awt/image/BufferedImage;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable;
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
getfield com.sun.prism.j2d.J2DPresentable.factory:Lcom/sun/prism/j2d/J2DResourceFactory;
invokevirtual com.sun.prism.j2d.J2DResourceFactory.getScreen:()Lcom/sun/glass/ui/Screen;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable;
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/j2d/J2DPresentable;
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/j2d/J2DPresentable;
public float getPixelScaleFactorX();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fconst_1
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable;
public float getPixelScaleFactorY();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: fconst_1
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DPresentable;
public int getPhysicalWidth();
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.buffer:Ljava/awt/image/BufferedImage;
ifnonnull 1
aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentWidth:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getWidth:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/J2DPresentable;
public int getPhysicalHeight();
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.buffer:Ljava/awt/image/BufferedImage;
ifnonnull 1
aload 0
invokevirtual com.sun.prism.j2d.J2DPresentable.getContentHeight:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.prism.j2d.J2DPresentable.buffer:Ljava/awt/image/BufferedImage;
invokevirtual java.awt.image.BufferedImage.getHeight:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/J2DPresentable;
public boolean isMSAA();
descriptor: ()Z
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/j2d/J2DPresentable;
}
SourceFile: "J2DPresentable.java"
NestMembers:
com.sun.prism.j2d.J2DPresentable$Bimg com.sun.prism.j2d.J2DPresentable$Glass
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
private Bimg = com.sun.prism.j2d.J2DPresentable$Bimg of com.sun.prism.j2d.J2DPresentable
private Glass = com.sun.prism.j2d.J2DPresentable$Glass of com.sun.prism.j2d.J2DPresentable