class com.sun.prism.j2d.J2DTexture extends com.sun.prism.impl.BaseTexture<com.sun.prism.j2d.J2DTexture$J2DTexResource>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.j2d.J2DTexture
super_class: com.sun.prism.impl.BaseTexture
{
private final com.sun.javafx.image.PixelSetter setter;
descriptor: Lcom/sun/javafx/image/PixelSetter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$sun$prism$PixelFormat;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static com.sun.prism.j2d.J2DTexture create(com.sun.prism.PixelFormat, com.sun.prism.Texture$WrapMode, int, int);
descriptor: (Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;II)Lcom/sun/prism/j2d/J2DTexture;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic com.sun.prism.j2d.J2DTexture.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
aload 0
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 7
2: 7
3: 1
4: 4
default: 10
}
1: StackMap locals:
StackMap stack:
iconst_5
istore 4
start local 4 2: getstatic com.sun.javafx.image.impl.ByteBgr.setter:Lcom/sun/javafx/image/BytePixelSetter;
astore 5
start local 5 3: goto 11
end local 5 end local 4 4: StackMap locals:
StackMap stack:
bipush 10
istore 4
start local 4 5: getstatic com.sun.javafx.image.impl.ByteGray.setter:Lcom/sun/javafx/image/BytePixelSetter;
astore 5
start local 5 6: goto 11
end local 5 end local 4 7: StackMap locals:
StackMap stack:
iconst_3
istore 4
start local 4 8: getstatic com.sun.javafx.image.impl.IntArgbPre.setter:Lcom/sun/javafx/image/IntPixelSetter;
astore 5
start local 5 9: goto 11
end local 5 end local 4 10: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized PixelFormat ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
start local 4 start local 5 11: StackMap locals: int com.sun.javafx.image.PixelSetter
StackMap stack:
getstatic com.sun.prism.j2d.J2DTexturePool.instance:Lcom/sun/prism/j2d/J2DTexturePool;
astore 6
start local 6 12: iload 2
iload 3
iload 4
invokestatic com.sun.prism.j2d.J2DTexturePool.size:(III)J
lstore 7
start local 7 13: aload 6
lload 7
invokevirtual com.sun.prism.j2d.J2DTexturePool.prepareForAllocation:(J)Z
ifne 15
14: aconst_null
areturn
15: StackMap locals: com.sun.prism.j2d.J2DTexturePool long
StackMap stack:
new java.awt.image.BufferedImage
dup
iload 2
iload 3
iload 4
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 9
start local 9 16: new com.sun.prism.j2d.J2DTexture
dup
aload 9
aload 0
aload 5
aload 1
invokespecial com.sun.prism.j2d.J2DTexture.<init>:(Ljava/awt/image/BufferedImage;Lcom/sun/prism/PixelFormat;Lcom/sun/javafx/image/PixelSetter;Lcom/sun/prism/Texture$WrapMode;)V
areturn
end local 9 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 17 0 format Lcom/sun/prism/PixelFormat;
0 17 1 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 17 2 w I
0 17 3 h I
2 4 4 type I
5 7 4 type I
8 10 4 type I
11 17 4 type I
3 4 5 setter Lcom/sun/javafx/image/PixelSetter;
6 7 5 setter Lcom/sun/javafx/image/PixelSetter;
9 10 5 setter Lcom/sun/javafx/image/PixelSetter;
11 17 5 setter Lcom/sun/javafx/image/PixelSetter;
12 17 6 pool Lcom/sun/prism/j2d/J2DTexturePool;
13 17 7 size J
16 17 9 bimg Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
format
wrapMode
w
h
void <init>(java.awt.image.BufferedImage, com.sun.prism.PixelFormat, com.sun.javafx.image.PixelSetter, com.sun.prism.Texture$WrapMode);
descriptor: (Ljava/awt/image/BufferedImage;Lcom/sun/prism/PixelFormat;Lcom/sun/javafx/image/PixelSetter;Lcom/sun/prism/Texture$WrapMode;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new com.sun.prism.j2d.J2DTexture$J2DTexResource
dup
aload 1
invokespecial com.sun.prism.j2d.J2DTexture$J2DTexResource.<init>:(Ljava/awt/image/BufferedImage;)V
aload 2
aload 4
1: aload 1
invokevirtual java.awt.image.BufferedImage.getWidth:()I
aload 1
invokevirtual java.awt.image.BufferedImage.getHeight:()I
invokespecial com.sun.prism.impl.BaseTexture.<init>:(Lcom/sun/prism/impl/ManagedResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;II)V
2: aload 0
aload 3
putfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/j2d/J2DTexture;
0 4 1 bimg Ljava/awt/image/BufferedImage;
0 4 2 format Lcom/sun/prism/PixelFormat;
0 4 3 setter Lcom/sun/javafx/image/PixelSetter;
0 4 4 wrapMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
bimg
format
setter
wrapMode
void <init>(com.sun.prism.j2d.J2DTexture, com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/j2d/J2DTexture;Lcom/sun/prism/Texture$WrapMode;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial com.sun.prism.impl.BaseTexture.<init>:(Lcom/sun/prism/impl/BaseTexture;Lcom/sun/prism/Texture$WrapMode;Z)V
1: aload 0
aload 1
getfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
putfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/J2DTexture;
0 3 1 sharedTex Lcom/sun/prism/j2d/J2DTexture;
0 3 2 altMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
sharedTex
altMode
protected com.sun.prism.Texture createSharedTexture(com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.J2DTexture
dup
aload 0
aload 1
invokespecial com.sun.prism.j2d.J2DTexture.<init>:(Lcom/sun/prism/j2d/J2DTexture;Lcom/sun/prism/Texture$WrapMode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DTexture;
0 1 1 newMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
newMode
java.awt.image.BufferedImage getBufferedImage();
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.J2DTexture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.j2d.J2DTexture$J2DTexResource
invokevirtual com.sun.prism.j2d.J2DTexture$J2DTexResource.getResource:()Ljava/lang/Object;
checkcast java.awt.image.BufferedImage
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/J2DTexture;
private static com.sun.javafx.image.PixelGetter getGetter(com.sun.prism.PixelFormat);
descriptor: (Lcom/sun/prism/PixelFormat;)Lcom/sun/javafx/image/PixelGetter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic com.sun.prism.j2d.J2DTexture.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
aload 0
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 3
2: 4
3: 1
4: 2
default: 5
}
1: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.image.impl.ByteRgb.getter:Lcom/sun/javafx/image/BytePixelGetter;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.image.impl.ByteGray.getter:Lcom/sun/javafx/image/BytePixelGetter;
areturn
3: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.image.impl.IntArgbPre.getter:Lcom/sun/javafx/image/IntPixelGetter;
areturn
4: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.image.impl.ByteBgraPre.getter:Lcom/sun/javafx/image/BytePixelGetter;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized PixelFormat ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 format Lcom/sun/prism/PixelFormat;
MethodParameters:
Name Flags
format
private static java.nio.Buffer getDstBuffer(java.awt.image.BufferedImage);
descriptor: (Ljava/awt/image/BufferedImage;)Ljava/nio/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.image.BufferedImage.getType:()I
iconst_3
if_icmpne 6
1: aload 0
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
2: checkcast java.awt.image.DataBufferInt
3: invokevirtual java.awt.image.DataBufferInt.getData:()[I
4: astore 1
start local 1 5: aload 1
invokestatic java.nio.IntBuffer.wrap:([I)Ljava/nio/IntBuffer;
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
7: checkcast java.awt.image.DataBufferByte
8: invokevirtual java.awt.image.DataBufferByte.getData:()[B
9: astore 1
start local 1 10: aload 1
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 bimg Ljava/awt/image/BufferedImage;
5 6 1 dstbuf [I
10 11 1 dstbuf [B
MethodParameters:
Name Flags
bimg
void updateFromBuffer(java.awt.image.BufferedImage, java.nio.Buffer, com.sun.prism.PixelFormat, int, int, int, int, int, int, int);
descriptor: (Ljava/awt/image/BufferedImage;Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIII)V
flags: (0x0000)
Code:
stack=9, locals=16, args_size=11
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 start local 10 0: aload 3
invokestatic com.sun.prism.j2d.J2DTexture.getGetter:(Lcom/sun/prism/PixelFormat;)Lcom/sun/javafx/image/PixelGetter;
astore 11
start local 11 1: aload 11
aload 0
getfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
invokestatic com.sun.javafx.image.PixelUtils.getConverter:(Lcom/sun/javafx/image/PixelGetter;Lcom/sun/javafx/image/PixelSetter;)Lcom/sun/javafx/image/PixelConverter;
astore 12
start local 12 2: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 8
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "src = ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] x ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 8
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "], dst = ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "bimg = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "format = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", buffer = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "getter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", setter = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "converter = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: StackMap locals: com.sun.javafx.image.PixelGetter com.sun.javafx.image.PixelConverter
StackMap stack:
aload 1
invokevirtual java.awt.image.BufferedImage.getWidth:()I
aload 0
getfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
invokeinterface com.sun.javafx.image.PixelSetter.getNumElements:()I
imul
istore 13
start local 13 9: iload 5
iload 13
imul
iload 4
aload 0
getfield com.sun.prism.j2d.J2DTexture.setter:Lcom/sun/javafx/image/PixelSetter;
invokeinterface com.sun.javafx.image.PixelSetter.getNumElements:()I
imul
iadd
istore 14
start local 14 10: aload 11
instanceof com.sun.javafx.image.IntPixelGetter
ifeq 12
11: iload 10
iconst_4
idiv
istore 10
12: StackMap locals: int int
StackMap stack:
aload 2
invokevirtual java.nio.Buffer.position:()I
iload 7
iload 10
imul
iadd
iload 6
aload 11
invokeinterface com.sun.javafx.image.PixelGetter.getNumElements:()I
imul
iadd
istore 15
start local 15 13: aload 12
aload 2
iload 15
iload 10
aload 1
invokestatic com.sun.prism.j2d.J2DTexture.getDstBuffer:(Ljava/awt/image/BufferedImage;)Ljava/nio/Buffer;
iload 14
iload 13
iload 8
iload 9
invokeinterface com.sun.javafx.image.PixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
14: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 15 0 this Lcom/sun/prism/j2d/J2DTexture;
0 15 1 bimg Ljava/awt/image/BufferedImage;
0 15 2 buffer Ljava/nio/Buffer;
0 15 3 format Lcom/sun/prism/PixelFormat;
0 15 4 dstx I
0 15 5 dsty I
0 15 6 srcx I
0 15 7 srcy I
0 15 8 srcw I
0 15 9 srch I
0 15 10 srcscan I
1 15 11 getter Lcom/sun/javafx/image/PixelGetter;
2 15 12 converter Lcom/sun/javafx/image/PixelConverter;
9 15 13 dstscan I
10 15 14 dstoffset I
13 15 15 srcoffset I
MethodParameters:
Name Flags
bimg
buffer
format
dstx
dsty
srcx
srcy
srcw
srch
srcscan
public void update(java.nio.Buffer, com.sun.prism.PixelFormat, int, int, int, int, int, int, int, boolean);
descriptor: (Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=12, args_size=11
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 start local 10 0: aload 0
invokevirtual com.sun.prism.j2d.J2DTexture.getBufferedImage:()Ljava/awt/image/BufferedImage;
astore 11
start local 11 1: aload 1
iconst_0
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 0
aload 11
aload 1
aload 2
3: iload 3
iload 4
4: iload 5
iload 6
iload 7
iload 8
iload 9
5: invokevirtual com.sun.prism.j2d.J2DTexture.updateFromBuffer:(Ljava/awt/image/BufferedImage;Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIII)V
6: return
end local 11 end local 10 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 7 0 this Lcom/sun/prism/j2d/J2DTexture;
0 7 1 buffer Ljava/nio/Buffer;
0 7 2 format Lcom/sun/prism/PixelFormat;
0 7 3 dstx I
0 7 4 dsty I
0 7 5 srcx I
0 7 6 srcy I
0 7 7 srcw I
0 7 8 srch I
0 7 9 srcscan I
0 7 10 skipFlush Z
1 7 11 bimg Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
buffer
format
dstx
dsty
srcx
srcy
srcw
srch
srcscan
skipFlush
public void update(com.sun.prism.MediaFrame, boolean);
descriptor: (Lcom/sun/prism/MediaFrame;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.sun.prism.MediaFrame.holdFrame:()V
1: aload 1
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
if_acmpeq 7
2: aload 1
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
invokeinterface com.sun.prism.MediaFrame.convertToFormat:(Lcom/sun/prism/PixelFormat;)Lcom/sun/prism/MediaFrame;
astore 3
start local 3 3: aload 1
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
4: aload 3
astore 1
5: aload 1
ifnonnull 7
6: return
end local 3 7: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface com.sun.prism.MediaFrame.getBufferForPlane:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 8: aload 0
invokevirtual com.sun.prism.j2d.J2DTexture.getBufferedImage:()Ljava/awt/image/BufferedImage;
astore 4
start local 4 9: aload 0
aload 4
aload 3
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
10: iconst_0
iconst_0
iconst_0
iconst_0
aload 1
invokeinterface com.sun.prism.MediaFrame.getWidth:()I
aload 1
invokeinterface com.sun.prism.MediaFrame.getHeight:()I
11: aload 1
iconst_0
invokeinterface com.sun.prism.MediaFrame.strideForPlane:(I)I
12: invokevirtual com.sun.prism.j2d.J2DTexture.updateFromBuffer:(Ljava/awt/image/BufferedImage;Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIII)V
13: aload 1
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/j2d/J2DTexture;
0 15 1 frame Lcom/sun/prism/MediaFrame;
0 15 2 skipFlush Z
3 7 3 newFrame Lcom/sun/prism/MediaFrame;
8 15 3 bbuf Ljava/nio/ByteBuffer;
9 15 4 bimg Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
frame
skipFlush
static int[] $SWITCH_TABLE$com$sun$prism$PixelFormat();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.j2d.J2DTexture.$SWITCH_TABLE$com$sun$prism$PixelFormat:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.PixelFormat.values:()[Lcom/sun/prism/PixelFormat;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_ALPHA:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_5
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_APPLE_422:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 7
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_GRAY:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_RGB:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.prism.PixelFormat.FLOAT_XYZW:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 8
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_1
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic com.sun.prism.PixelFormat.MULTI_YCbCr_420:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 6
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
dup
putstatic com.sun.prism.j2d.J2DTexture.$SWITCH_TABLE$com$sun$prism$PixelFormat:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
}
Signature: Lcom/sun/prism/impl/BaseTexture<Lcom/sun/prism/j2d/J2DTexture$J2DTexResource;>;
SourceFile: "J2DTexture.java"
NestMembers:
com.sun.prism.j2d.J2DTexture$J2DTexResource
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
J2DTexResource = com.sun.prism.j2d.J2DTexture$J2DTexResource of com.sun.prism.j2d.J2DTexture