final class com.sun.javafx.webkit.prism.WCImageImpl extends com.sun.javafx.webkit.prism.PrismImage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.prism.WCImageImpl
super_class: com.sun.javafx.webkit.prism.PrismImage
{
private static final com.sun.javafx.logging.PlatformLogger log;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.sun.prism.Image img;
descriptor: Lcom/sun/prism/Image;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.prism.Texture texture;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.image.CompoundTexture compoundTexture;
descriptor: Lcom/sun/prism/image/CompoundTexture;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/javafx/webkit/prism/WCImageImpl;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.javafx.webkit.prism.WCImageImpl.$assertionsDisabled:Z
3: ldc Lcom/sun/javafx/webkit/prism/WCImageImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
4: putstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.javafx.webkit.prism.PrismImage.<init>:()V
1: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 5
2: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Creating empty image({0},{1})"
3: iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: com.sun.javafx.webkit.prism.WCImageImpl int int
StackMap stack:
aload 0
iload 1
iload 2
imul
newarray 10
iload 1
iload 2
invokestatic com.sun.prism.Image.fromIntArgbPreData:([III)Lcom/sun/prism/Image;
putfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
0 7 1 w I
0 7 2 h I
MethodParameters:
Name Flags
w
h
void <init>(int[], int, int);
descriptor: ([III)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.sun.javafx.webkit.prism.PrismImage.<init>:()V
1: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 5
2: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Creating image({0},{1}) from buffer"
3: iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: com.sun.javafx.webkit.prism.WCImageImpl int[] int int
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokestatic com.sun.prism.Image.fromIntArgbPreData:([III)Lcom/sun/prism/Image;
putfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
0 7 1 buffer [I
0 7 2 w I
0 7 3 h I
MethodParameters:
Name Flags
buffer
w
h
void <init>(com.sun.javafx.iio.ImageFrame);
descriptor: (Lcom/sun/javafx/iio/ImageFrame;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.javafx.webkit.prism.PrismImage.<init>:()V
1: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 5
2: getstatic com.sun.javafx.webkit.prism.WCImageImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Creating image {0}x{1} of type {2} from buffer"
3: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual com.sun.javafx.iio.ImageFrame.getWidth:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
invokevirtual com.sun.javafx.iio.ImageFrame.getHeight:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
invokevirtual com.sun.javafx.iio.ImageFrame.getImageType:()Lcom/sun/javafx/iio/ImageStorage$ImageType;
aastore
4: invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: com.sun.javafx.webkit.prism.WCImageImpl com.sun.javafx.iio.ImageFrame
StackMap stack:
aload 0
aload 1
invokestatic com.sun.prism.Image.convertImageFrame:(Lcom/sun/javafx/iio/ImageFrame;)Lcom/sun/prism/Image;
putfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
0 7 1 frame Lcom/sun/javafx/iio/ImageFrame;
MethodParameters:
Name Flags
frame
com.sun.prism.Image getImage();
descriptor: ()Lcom/sun/prism/Image;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
com.sun.prism.Graphics getGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
void draw(com.sun.prism.Graphics, int, int, int, int, int, int, int, int);
descriptor: (Lcom/sun/prism/Graphics;IIIIIIII)V
flags: (0x0000)
Code:
stack=10, locals=13, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 1
instanceof com.sun.prism.PrinterGraphics
ifeq 10
1: aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
2: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
getstatic com.sun.prism.Texture$Usage.STATIC:Lcom/sun/prism/Texture$Usage;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
3: invokeinterface com.sun.prism.ResourceFactory.createTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$Usage;Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
astore 10
start local 10 4: aload 1
aload 10
5: iload 2
i2f
iload 3
i2f
iload 4
i2f
iload 5
i2f
6: iload 6
i2f
iload 7
i2f
iload 8
i2f
iload 9
i2f
7: invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFFFFFF)V
8: aload 10
invokeinterface com.sun.prism.Texture.dispose:()V
9: return
end local 10 10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
ifnull 14
11: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
12: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.isSurfaceLost:()Z
ifeq 14
13: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
ifnonnull 21
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
ifnonnull 21
15: aload 1
invokeinterface com.sun.prism.Graphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 10
start local 10 16: aload 10
invokeinterface com.sun.prism.ResourceFactory.getMaximumTextureSize:()I
istore 11
start local 11 17: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getWidth:()I
iload 11
if_icmpgt 20
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getHeight:()I
iload 11
if_icmpgt 20
18: aload 0
aload 10
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
getstatic com.sun.prism.Texture$Usage.DEFAULT:Lcom/sun/prism/Texture$Usage;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$Usage;Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
putfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
19: getstatic com.sun.javafx.webkit.prism.WCImageImpl.$assertionsDisabled:Z
ifne 21
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
ifnonnull 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals: com.sun.prism.ResourceFactory int
StackMap stack:
aload 0
new com.sun.prism.image.CompoundTexture
dup
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
iload 11
invokespecial com.sun.prism.image.CompoundTexture.<init>:(Lcom/sun/prism/Image;I)V
putfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
end local 11 end local 10 21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
ifnull 30
22: getstatic com.sun.javafx.webkit.prism.WCImageImpl.$assertionsDisabled:Z
ifne 23
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
ifnull 23
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
23: StackMap locals:
StackMap stack:
aload 1
24: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
25: iload 2
i2f
iload 3
i2f
iload 4
i2f
iload 5
i2f
26: iload 6
i2f
iload 7
i2f
iload 8
i2f
iload 9
i2f
27: invokeinterface com.sun.prism.Graphics.drawTexture:(Lcom/sun/prism/Texture;FFFFFFFF)V
28: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.unlock:()V
29: goto 43
30: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.webkit.prism.WCImageImpl.$assertionsDisabled:Z
ifne 31
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
ifnonnull 31
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
new com.sun.prism.image.ViewPort
dup
32: iload 6
i2f
33: iload 7
i2f
34: iload 8
iload 6
isub
i2f
35: iload 9
iload 7
isub
i2f
36: invokespecial com.sun.prism.image.ViewPort.<init>:(FFFF)V
astore 10
start local 10 37: new com.sun.prism.image.Coords
dup
iload 4
iload 2
isub
i2f
iload 5
iload 3
isub
i2f
aload 10
invokespecial com.sun.prism.image.Coords.<init>:(FFLcom/sun/prism/image/ViewPort;)V
astore 11
start local 11 38: new com.sun.prism.image.CompoundCoords
dup
39: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
40: aload 11
41: invokespecial com.sun.prism.image.CompoundCoords.<init>:(Lcom/sun/prism/image/CompoundImage;Lcom/sun/prism/image/Coords;)V
astore 12
start local 12 42: aload 12
aload 1
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
iload 2
i2f
iload 3
i2f
invokevirtual com.sun.prism.image.CompoundCoords.draw:(Lcom/sun/prism/Graphics;Lcom/sun/prism/image/CompoundImage;FF)V
end local 12 end local 11 end local 10 43: StackMap locals:
StackMap stack:
return
end local 9 end local 8 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 44 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
0 44 1 g Lcom/sun/prism/Graphics;
0 44 2 dstx1 I
0 44 3 dsty1 I
0 44 4 dstx2 I
0 44 5 dsty2 I
0 44 6 srcx1 I
0 44 7 srcy1 I
0 44 8 srcx2 I
0 44 9 srcy2 I
4 10 10 t Lcom/sun/prism/Texture;
16 21 10 resourceFactory Lcom/sun/prism/ResourceFactory;
17 21 11 maxSize I
37 43 10 viewPort Lcom/sun/prism/image/ViewPort;
38 43 11 coords Lcom/sun/prism/image/Coords;
42 43 12 compoundCoords Lcom/sun/prism/image/CompoundCoords;
MethodParameters:
Name Flags
g
dstx1
dsty1
dstx2
dsty2
srcx1
srcy1
srcx2
srcy2
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
ifnull 3
1: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.dispose:()V
2: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageImpl.texture:Lcom/sun/prism/Texture;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
ifnull 6
4: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
invokevirtual com.sun.prism.image.CompoundTexture.dispose:()V
5: aload 0
aconst_null
putfield com.sun.javafx.webkit.prism.WCImageImpl.compoundTexture:Lcom/sun/prism/image/CompoundTexture;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
public int getWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getWidth:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
public int getHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getHeight:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
public java.nio.ByteBuffer getPixelBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getWidth:()I
istore 1
start local 1 1: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getHeight:()I
istore 2
start local 2 2: iload 1
iconst_4
imul
istore 3
start local 3 3: iload 3
iload 2
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 4
start local 4 4: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
iconst_0
iconst_0
iload 1
iload 2
5: invokestatic javafx.scene.image.PixelFormat.getByteBgraInstance:()Ljavafx/scene/image/WritablePixelFormat;
6: aload 4
iload 3
7: invokevirtual com.sun.prism.Image.getPixels:(IIIILjavafx/scene/image/WritablePixelFormat;Ljava/nio/Buffer;I)V
8: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
1 9 1 w I
2 9 2 h I
3 9 3 s I
4 9 4 pixels Ljava/nio/ByteBuffer;
public float getPixelScale();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.prism.WCImageImpl.img:Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getPixelScale:()F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/prism/WCImageImpl;
}
SourceFile: "WCImageImpl.java"
InnerClasses:
public final ImageType = com.sun.javafx.iio.ImageStorage$ImageType of com.sun.javafx.iio.ImageStorage
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
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