class com.sun.prism.sw.SWRTTexture extends com.sun.prism.sw.SWArgbPreTexture implements com.sun.prism.RTTexture
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.sw.SWRTTexture
super_class: com.sun.prism.sw.SWArgbPreTexture
{
private com.sun.pisces.PiscesRenderer pr;
descriptor: Lcom/sun/pisces/PiscesRenderer;
flags: (0x0002) ACC_PRIVATE
private com.sun.pisces.JavaSurface surface;
descriptor: Lcom/sun/pisces/JavaSurface;
flags: (0x0002) ACC_PRIVATE
private final com.sun.javafx.geom.Rectangle dimensions;
descriptor: Lcom/sun/javafx/geom/Rectangle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isOpaque;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.prism.sw.SWResourceFactory, int, int);
descriptor: (Lcom/sun/prism/sw/SWResourceFactory;II)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
iload 2
iload 3
invokespecial com.sun.prism.sw.SWArgbPreTexture.<init>:(Lcom/sun/prism/sw/SWResourceFactory;Lcom/sun/prism/Texture$WrapMode;II)V
1: aload 0
new com.sun.javafx.geom.Rectangle
dup
invokespecial com.sun.javafx.geom.Rectangle.<init>:()V
putfield com.sun.prism.sw.SWRTTexture.dimensions:Lcom/sun/javafx/geom/Rectangle;
2: aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.allocate:()V
3: aload 0
new com.sun.pisces.JavaSurface
dup
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getDataNoClone:()[I
iconst_1
iload 2
iload 3
invokespecial com.sun.pisces.JavaSurface.<init>:([IIII)V
putfield com.sun.prism.sw.SWRTTexture.surface:Lcom/sun/pisces/JavaSurface;
4: aload 0
getfield com.sun.prism.sw.SWRTTexture.dimensions:Lcom/sun/javafx/geom/Rectangle;
iconst_0
iconst_0
iload 2
iload 3
invokevirtual com.sun.javafx.geom.Rectangle.setBounds:(IIII)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/sw/SWRTTexture;
0 6 1 factory Lcom/sun/prism/sw/SWResourceFactory;
0 6 2 w I
0 6 3 h I
MethodParameters:
Name Flags
factory
w
h
com.sun.pisces.JavaSurface getSurface();
descriptor: ()Lcom/sun/pisces/JavaSurface;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWRTTexture.surface:Lcom/sun/pisces/JavaSurface;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWRTTexture;
public int[] getPixels();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWRTTexture.contentWidth:I
aload 0
getfield com.sun.prism.sw.SWRTTexture.physicalWidth:I
if_icmpne 2
1: aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getDataNoClone:()[I
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/sw/SWRTTexture;
public boolean readPixels(java.nio.Buffer, int, int, int, int);
descriptor: (Ljava/nio/Buffer;IIII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getContentX:()I
if_icmpne 2
iload 3
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getContentY:()I
if_icmpne 2
1: iload 4
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getContentWidth:()I
if_icmpne 2
iload 5
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getContentHeight:()I
if_icmpeq 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "reading subtexture not yet supported!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.sw.SWRTTexture.readPixels:(Ljava/nio/Buffer;)Z
ireturn
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 4 0 this Lcom/sun/prism/sw/SWRTTexture;
0 4 1 pixels Ljava/nio/Buffer;
0 4 2 x I
0 4 3 y I
0 4 4 width I
0 4 5 height I
MethodParameters:
Name Flags
pixels
x
y
width
height
public boolean readPixels(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "+ SWRTT.readPixels: this: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getDataNoClone:()[I
astore 2
start local 2 3: aload 1
invokevirtual java.nio.Buffer.clear:()Ljava/nio/Buffer;
pop
4: aload 1
instanceof java.nio.IntBuffer
ifeq 12
5: aload 1
checkcast java.nio.IntBuffer
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int[] java.nio.IntBuffer int
StackMap stack:
aload 3
aload 2
iload 4
aload 0
getfield com.sun.prism.sw.SWRTTexture.physicalWidth:I
imul
aload 0
getfield com.sun.prism.sw.SWRTTexture.contentWidth:I
invokevirtual java.nio.IntBuffer.put:([III)Ljava/nio/IntBuffer;
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 0
getfield com.sun.prism.sw.SWRTTexture.contentHeight:I
if_icmplt 8
end local 4 end local 3 11: goto 30
StackMap locals:
StackMap stack:
12: aload 1
instanceof java.nio.ByteBuffer
ifeq 29
13: aload 1
checkcast java.nio.ByteBuffer
astore 3
start local 3 14: iconst_0
istore 4
start local 4 15: goto 27
16: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
iconst_0
istore 5
start local 5 17: goto 25
18: StackMap locals: int
StackMap stack:
aload 2
iload 4
aload 0
getfield com.sun.prism.sw.SWRTTexture.physicalWidth:I
imul
iload 5
iadd
iaload
istore 6
start local 6 19: iload 6
bipush 24
ishr
i2b
istore 7
start local 7 20: iload 6
bipush 16
ishr
i2b
istore 8
start local 8 21: iload 6
bipush 8
ishr
i2b
istore 9
start local 9 22: iload 6
i2b
istore 10
start local 10 23: aload 3
iload 10
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
iload 9
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
iload 8
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
iload 7
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 24: iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
aload 0
getfield com.sun.prism.sw.SWRTTexture.contentWidth:I
if_icmplt 18
end local 5 26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 0
getfield com.sun.prism.sw.SWRTTexture.contentHeight:I
if_icmplt 16
end local 4 end local 3 28: goto 30
29: StackMap locals:
StackMap stack:
iconst_0
ireturn
30: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.Buffer.rewind:()Ljava/nio/Buffer;
pop
31: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/prism/sw/SWRTTexture;
0 32 1 pixels Ljava/nio/Buffer;
3 32 2 pixbuf [I
6 11 3 iPixels Ljava/nio/IntBuffer;
7 11 4 i I
14 28 3 bPixels Ljava/nio/ByteBuffer;
15 28 4 i I
17 26 5 j I
19 24 6 argb I
20 24 7 a B
21 24 8 r B
22 24 9 g B
23 24 10 b B
MethodParameters:
Name Flags
pixels
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.sw.SWRTTexture.getResourceFactory:()Lcom/sun/prism/sw/SWResourceFactory;
invokevirtual com.sun.prism.sw.SWResourceFactory.getScreen:()Lcom/sun/glass/ui/Screen;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWRTTexture;
public com.sun.prism.Graphics createGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWRTTexture.pr:Lcom/sun/pisces/PiscesRenderer;
ifnonnull 2
1: aload 0
new com.sun.pisces.PiscesRenderer
dup
aload 0
getfield com.sun.prism.sw.SWRTTexture.surface:Lcom/sun/pisces/JavaSurface;
invokespecial com.sun.pisces.PiscesRenderer.<init>:(Lcom/sun/pisces/AbstractSurface;)V
putfield com.sun.prism.sw.SWRTTexture.pr:Lcom/sun/pisces/PiscesRenderer;
2: StackMap locals:
StackMap stack:
new com.sun.prism.sw.SWGraphics
dup
aload 0
aload 0
invokevirtual com.sun.prism.sw.SWRTTexture.getResourceFactory:()Lcom/sun/prism/sw/SWResourceFactory;
invokevirtual com.sun.prism.sw.SWResourceFactory.getContext:()Lcom/sun/prism/sw/SWContext;
aload 0
getfield com.sun.prism.sw.SWRTTexture.pr:Lcom/sun/pisces/PiscesRenderer;
invokespecial com.sun.prism.sw.SWGraphics.<init>:(Lcom/sun/prism/sw/SWRTTexture;Lcom/sun/prism/sw/SWContext;Lcom/sun/pisces/PiscesRenderer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/sw/SWRTTexture;
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.sw.SWRTTexture.isOpaque:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWRTTexture;
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
iload 1
putfield com.sun.prism.sw.SWRTTexture.isOpaque:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWRTTexture;
0 2 1 opaque Z
MethodParameters:
Name Flags
opaque
com.sun.javafx.geom.Rectangle getDimensions();
descriptor: ()Lcom/sun/javafx/geom/Rectangle;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWRTTexture.dimensions:Lcom/sun/javafx/geom/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWRTTexture;
public boolean isVolatile();
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/sw/SWRTTexture;
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/sw/SWRTTexture;
}
SourceFile: "SWRTTexture.java"
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture