abstract class com.sun.prism.sw.SWTexture implements com.sun.prism.Texture
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.sw.SWTexture
super_class: java.lang.Object
{
boolean allocated;
descriptor: Z
flags: (0x0000)
int physicalWidth;
descriptor: I
flags: (0x0000)
int physicalHeight;
descriptor: I
flags: (0x0000)
int contentWidth;
descriptor: I
flags: (0x0000)
int contentHeight;
descriptor: I
flags: (0x0000)
private com.sun.prism.sw.SWResourceFactory factory;
descriptor: Lcom/sun/prism/sw/SWResourceFactory;
flags: (0x0002) ACC_PRIVATE
private int lastImageSerial;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final com.sun.prism.Texture$WrapMode wrapMode;
descriptor: Lcom/sun/prism/Texture$WrapMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int lockcount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
boolean permanent;
descriptor: Z
flags: (0x0000)
int employcount;
descriptor: I
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$com$sun$prism$PixelFormat;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$com$sun$prism$Texture$WrapMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static com.sun.prism.Texture create(com.sun.prism.sw.SWResourceFactory, com.sun.prism.PixelFormat, com.sun.prism.Texture$WrapMode, int, int);
descriptor: (Lcom/sun/prism/sw/SWResourceFactory;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;II)Lcom/sun/prism/Texture;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic com.sun.prism.sw.SWTexture.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
aload 1
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iaload
tableswitch { // 5 - 5
5: 1
default: 2
}
1: StackMap locals:
StackMap stack:
new com.sun.prism.sw.SWMaskTexture
dup
aload 0
aload 2
iload 3
iload 4
invokespecial com.sun.prism.sw.SWMaskTexture.<init>:(Lcom/sun/prism/sw/SWResourceFactory;Lcom/sun/prism/Texture$WrapMode;II)V
areturn
2: StackMap locals:
StackMap stack:
new com.sun.prism.sw.SWArgbPreTexture
dup
aload 0
aload 2
iload 3
iload 4
invokespecial com.sun.prism.sw.SWArgbPreTexture.<init>:(Lcom/sun/prism/sw/SWResourceFactory;Lcom/sun/prism/Texture$WrapMode;II)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 factory Lcom/sun/prism/sw/SWResourceFactory;
0 3 1 formatHint Lcom/sun/prism/PixelFormat;
0 3 2 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 3 3 w I
0 3 4 h I
MethodParameters:
Name Flags
factory
formatHint
wrapMode
w
h
void <init>(com.sun.prism.sw.SWResourceFactory, com.sun.prism.Texture$WrapMode, int, int);
descriptor: (Lcom/sun/prism/sw/SWResourceFactory;Lcom/sun/prism/Texture$WrapMode;II)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.prism.sw.SWTexture.allocated:Z
2: aload 0
aload 1
putfield com.sun.prism.sw.SWTexture.factory:Lcom/sun/prism/sw/SWResourceFactory;
3: aload 0
aload 2
putfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
4: aload 0
iload 3
putfield com.sun.prism.sw.SWTexture.physicalWidth:I
5: aload 0
iload 4
putfield com.sun.prism.sw.SWTexture.physicalHeight:I
6: aload 0
iload 3
putfield com.sun.prism.sw.SWTexture.contentWidth:I
7: aload 0
iload 4
putfield com.sun.prism.sw.SWTexture.contentHeight:I
8: aload 0
invokevirtual com.sun.prism.sw.SWTexture.lock:()V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/prism/sw/SWTexture;
0 10 1 factory Lcom/sun/prism/sw/SWResourceFactory;
0 10 2 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 10 3 w I
0 10 4 h I
MethodParameters:
Name Flags
factory
wrapMode
w
h
void <init>(com.sun.prism.sw.SWTexture, com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/sw/SWTexture;Lcom/sun/prism/Texture$WrapMode;)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
iconst_0
putfield com.sun.prism.sw.SWTexture.allocated:Z
2: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.allocated:Z
putfield com.sun.prism.sw.SWTexture.allocated:Z
3: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.physicalWidth:I
putfield com.sun.prism.sw.SWTexture.physicalWidth:I
4: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.physicalHeight:I
putfield com.sun.prism.sw.SWTexture.physicalHeight:I
5: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.contentWidth:I
putfield com.sun.prism.sw.SWTexture.contentWidth:I
6: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.contentHeight:I
putfield com.sun.prism.sw.SWTexture.contentHeight:I
7: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.factory:Lcom/sun/prism/sw/SWResourceFactory;
putfield com.sun.prism.sw.SWTexture.factory:Lcom/sun/prism/sw/SWResourceFactory;
8: aload 0
aload 1
getfield com.sun.prism.sw.SWTexture.lastImageSerial:I
putfield com.sun.prism.sw.SWTexture.lastImageSerial:I
9: aload 0
aload 2
putfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
10: aload 0
invokevirtual com.sun.prism.sw.SWTexture.lock:()V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/prism/sw/SWTexture;
0 12 1 sharedTex Lcom/sun/prism/sw/SWTexture;
0 12 2 altMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
sharedTex
altMode
com.sun.prism.sw.SWResourceFactory getResourceFactory();
descriptor: ()Lcom/sun/prism/sw/SWResourceFactory;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.factory:Lcom/sun/prism/sw/SWResourceFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
int getOffset();
descriptor: ()I
flags: (0x0000)
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/SWTexture;
public void lock();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.prism.sw.SWTexture.lockcount:I
iconst_1
iadd
putfield com.sun.prism.sw.SWTexture.lockcount:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
public void unlock();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.sw.SWTexture.assertLocked:()V
1: aload 0
dup
getfield com.sun.prism.sw.SWTexture.lockcount:I
iconst_1
isub
putfield com.sun.prism.sw.SWTexture.lockcount:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/sw/SWTexture;
public boolean isLocked();
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.SWTexture.lockcount:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
public int getLockCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.lockcount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public void assertLocked();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.lockcount:I
ifgt 2
1: new java.lang.IllegalStateException
dup
ldc "texture not locked"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/sw/SWTexture;
public void makePermanent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.sun.prism.sw.SWTexture.permanent:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
public void contentsUseful();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.sw.SWTexture.assertLocked:()V
1: aload 0
dup
getfield com.sun.prism.sw.SWTexture.employcount:I
iconst_1
iadd
putfield com.sun.prism.sw.SWTexture.employcount:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/sw/SWTexture;
public void contentsNotUseful();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.employcount:I
ifgt 2
1: new java.lang.IllegalStateException
dup
ldc "Resource obsoleted too many times"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.prism.sw.SWTexture.employcount:I
iconst_1
isub
putfield com.sun.prism.sw.SWTexture.employcount:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/sw/SWTexture;
public boolean isSurfaceLost();
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/SWTexture;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
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.sw.SWTexture.physicalWidth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
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.sw.SWTexture.physicalHeight:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
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/sw/SWTexture;
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/sw/SWTexture;
public int getContentWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.contentWidth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public void setContentWidth(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.prism.sw.SWTexture.physicalWidth:I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "contentWidth cannot exceed physicalWidth"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.prism.sw.SWTexture.contentWidth:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/sw/SWTexture;
0 4 1 contentWidth I
MethodParameters:
Name Flags
contentWidth
public int getContentHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.contentHeight:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public void setContentHeight(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.prism.sw.SWTexture.physicalHeight:I
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "contentHeight cannot exceed physicalHeight"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.prism.sw.SWTexture.contentHeight:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/sw/SWTexture;
0 4 1 contentHeight I
MethodParameters:
Name Flags
contentHeight
public int getMaxContentWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.sw.SWTexture.getPhysicalWidth:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public int getMaxContentHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.sw.SWTexture.getPhysicalHeight:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public int getLastImageSerial();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.lastImageSerial:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public void setLastImageSerial(int);
descriptor: (I)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.SWTexture.lastImageSerial:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
0 2 1 serial I
MethodParameters:
Name Flags
serial
public void update(com.sun.prism.Image);
descriptor: (Lcom/sun/prism/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
iconst_0
invokevirtual com.sun.prism.sw.SWTexture.update:(Lcom/sun/prism/Image;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
0 2 1 img Lcom/sun/prism/Image;
MethodParameters:
Name Flags
img
public void update(com.sun.prism.Image, int, int);
descriptor: (Lcom/sun/prism/Image;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
aload 1
invokevirtual com.sun.prism.Image.getWidth:()I
aload 1
invokevirtual com.sun.prism.Image.getHeight:()I
invokevirtual com.sun.prism.sw.SWTexture.update:(Lcom/sun/prism/Image;IIII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWTexture;
0 2 1 img Lcom/sun/prism/Image;
0 2 2 dstx I
0 2 3 dsty I
MethodParameters:
Name Flags
img
dstx
dsty
public void update(com.sun.prism.Image, int, int, int, int);
descriptor: (Lcom/sun/prism/Image;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
iconst_0
invokevirtual com.sun.prism.sw.SWTexture.update:(Lcom/sun/prism/Image;IIIIZ)V
1: return
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 2 0 this Lcom/sun/prism/sw/SWTexture;
0 2 1 img Lcom/sun/prism/Image;
0 2 2 dstx I
0 2 3 dsty I
0 2 4 srcw I
0 2 5 srch I
MethodParameters:
Name Flags
img
dstx
dsty
srcw
srch
public void update(com.sun.prism.Image, int, int, int, int, boolean);
descriptor: (Lcom/sun/prism/Image;IIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "IMG.Bytes per pixel: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.Image.getBytesPerPixelUnit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "IMG.scanline: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.Image.getScanlineStride:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.Image.getPixelBuffer:()Ljava/nio/Buffer;
aload 1
invokevirtual com.sun.prism.Image.getPixelFormat:()Lcom/sun/prism/PixelFormat;
iload 2
iload 3
4: aload 1
invokevirtual com.sun.prism.Image.getMinX:()I
aload 1
invokevirtual com.sun.prism.Image.getMinY:()I
iload 4
iload 5
aload 1
invokevirtual com.sun.prism.Image.getScanlineStride:()I
iload 6
5: invokevirtual com.sun.prism.sw.SWTexture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
6: return
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/sw/SWTexture;
0 7 1 img Lcom/sun/prism/Image;
0 7 2 dstx I
0 7 3 dsty I
0 7 4 srcw I
0 7 5 srch I
0 7 6 skipFlush Z
MethodParameters:
Name Flags
img
dstx
dsty
srcw
srch
skipFlush
public com.sun.prism.Texture$WrapMode getWrapMode();
descriptor: ()Lcom/sun/prism/Texture$WrapMode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
public boolean getUseMipmap();
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/SWTexture;
public com.sun.prism.Texture getSharedTexture(com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.prism.sw.SWTexture.assertLocked:()V
1: aload 0
getfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
aload 1
if_acmpne 4
2: aload 0
invokevirtual com.sun.prism.sw.SWTexture.lock:()V
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
invokestatic com.sun.prism.sw.SWTexture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:()[I
aload 1
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iaload
tableswitch { // 3 - 4
3: 7
4: 5
default: 9
}
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
if_acmpeq 10
6: aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWTexture.wrapMode:Lcom/sun/prism/Texture$WrapMode;
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
if_acmpeq 10
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.sw.SWTexture.createSharedLockedTexture:(Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/prism/sw/SWTexture;
0 11 1 altMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
altMode
public boolean getLinearFiltering();
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/SWTexture;
public void setLinearFiltering(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWTexture;
0 1 1 linear Z
MethodParameters:
Name Flags
linear
void allocate();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWTexture.allocated:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 4
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PCS Texture allocating buffer: "
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;
aload 0
getfield com.sun.prism.sw.SWTexture.physicalWidth:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.sw.SWTexture.physicalHeight:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.sw.SWTexture.allocateBuffer:()V
5: aload 0
iconst_1
putfield com.sun.prism.sw.SWTexture.allocated:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/sw/SWTexture;
abstract void allocateBuffer();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
abstract com.sun.prism.Texture createSharedLockedTexture(com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
altMode
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.sw.SWTexture.$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.sw.SWTexture.$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
static int[] $SWITCH_TABLE$com$sun$prism$Texture$WrapMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.sw.SWTexture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.Texture$WrapMode.values:()[Lcom/sun/prism/Texture$WrapMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_1
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.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.prism.Texture$WrapMode.REPEAT_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic com.sun.prism.sw.SWTexture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:[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
}
SourceFile: "SWTexture.java"
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture