public class sun.java2d.xr.XRMaskImage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.xr.XRMaskImage
super_class: java.lang.Object
{
private static final int MASK_SCALE_FACTOR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int BLIT_MASK_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
java.awt.Dimension blitMaskDimensions;
descriptor: Ljava/awt/Dimension;
flags: (0x0000)
int blitMaskPixmap;
descriptor: I
flags: (0x0000)
int blitMaskPicture;
descriptor: I
flags: (0x0000)
int lastMaskWidth;
descriptor: I
flags: (0x0000)
int lastMaskHeight;
descriptor: I
flags: (0x0000)
int lastEA;
descriptor: I
flags: (0x0000)
java.awt.geom.AffineTransform lastMaskTransform;
descriptor: Ljava/awt/geom/AffineTransform;
flags: (0x0000)
sun.java2d.xr.XRCompositeManager xrMgr;
descriptor: Lsun/java2d/xr/XRCompositeManager;
flags: (0x0000)
sun.java2d.xr.XRBackend con;
descriptor: Lsun/java2d/xr/XRBackend;
flags: (0x0000)
public void <init>(sun.java2d.xr.XRCompositeManager, int);
descriptor: (Lsun/java2d/xr/XRCompositeManager;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
new java.awt.Dimension
dup
bipush 8
bipush 8
invokespecial java.awt.Dimension.<init>:(II)V
putfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
2: aload 0
iconst_0
putfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
3: aload 0
iconst_0
putfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
4: aload 0
iconst_m1
putfield sun.java2d.xr.XRMaskImage.lastEA:I
5: aload 0
aload 1
putfield sun.java2d.xr.XRMaskImage.xrMgr:Lsun/java2d/xr/XRCompositeManager;
6: aload 0
aload 1
invokevirtual sun.java2d.xr.XRCompositeManager.getBackend:()Lsun/java2d/xr/XRBackend;
putfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
7: aload 0
iload 2
bipush 8
bipush 8
invokevirtual sun.java2d.xr.XRMaskImage.initBlitMask:(III)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/xr/XRMaskImage;
0 9 1 xrMgr Lsun/java2d/xr/XRCompositeManager;
0 9 2 parentDrawable I
MethodParameters:
Name Flags
xrMgr
parentDrawable
public int prepareBlitMask(sun.java2d.xr.XRSurfaceData, java.awt.geom.AffineTransform, int, int);
descriptor: (Lsun/java2d/xr/XRSurfaceData;Ljava/awt/geom/AffineTransform;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
bipush 8
idiv
iconst_1
invokestatic java.lang.Math.max:(II)I
istore 5
start local 5 1: iload 4
bipush 8
idiv
iconst_1
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 2: aload 2
iload 3
i2d
iload 5
i2d
ddiv
iload 4
i2d
iload 6
i2d
ddiv
invokevirtual java.awt.geom.AffineTransform.scale:(DD)V
3: aload 2
invokevirtual java.awt.geom.AffineTransform.invert:()V
4: goto 7
StackMap locals: sun.java2d.xr.XRMaskImage sun.java2d.xr.XRSurfaceData java.awt.geom.AffineTransform int int int int
StackMap stack: java.awt.geom.NoninvertibleTransformException
5: pop
6: aload 2
invokevirtual java.awt.geom.AffineTransform.setToIdentity:()V
7: StackMap locals:
StackMap stack:
aload 0
iload 5
iload 6
invokevirtual sun.java2d.xr.XRMaskImage.ensureBlitMaskSize:(II)V
8: aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskTransform:Ljava/awt/geom/AffineTransform;
ifnull 9
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskTransform:Ljava/awt/geom/AffineTransform;
aload 2
invokevirtual java.awt.geom.AffineTransform.equals:(Ljava/lang/Object;)Z
ifne 11
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
aload 2
invokeinterface sun.java2d.xr.XRBackend.setPictureTransform:(ILjava/awt/geom/AffineTransform;)V
10: aload 0
aload 2
putfield sun.java2d.xr.XRMaskImage.lastMaskTransform:Ljava/awt/geom/AffineTransform;
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.xr.XRMaskImage.xrMgr:Lsun/java2d/xr/XRCompositeManager;
invokevirtual sun.java2d.xr.XRCompositeManager.getAlphaColor:()Lsun/java2d/xr/XRColor;
invokevirtual sun.java2d.xr.XRColor.getAlpha:()I
istore 7
start local 7 12: aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
iload 5
if_icmpne 13
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
iload 6
if_icmpne 13
aload 0
getfield sun.java2d.xr.XRMaskImage.lastEA:I
iload 7
if_icmpeq 17
13: StackMap locals: int
StackMap stack:
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
iload 5
if_icmpgt 14
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
iload 6
if_icmple 15
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
iconst_0
getstatic sun.java2d.xr.XRColor.NO_ALPHA:Lsun/java2d/xr/XRColor;
iconst_0
iconst_0
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
aload 0
getfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
invokeinterface sun.java2d.xr.XRBackend.renderRectangle:(IBLsun/java2d/xr/XRColor;IIII)V
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
iconst_1
aload 0
getfield sun.java2d.xr.XRMaskImage.xrMgr:Lsun/java2d/xr/XRCompositeManager;
invokevirtual sun.java2d.xr.XRCompositeManager.getAlphaColor:()Lsun/java2d/xr/XRColor;
iconst_0
iconst_0
iload 5
iload 6
invokeinterface sun.java2d.xr.XRBackend.renderRectangle:(IBLsun/java2d/xr/XRColor;IIII)V
16: aload 0
iload 7
putfield sun.java2d.xr.XRMaskImage.lastEA:I
17: StackMap locals:
StackMap stack:
aload 0
iload 5
putfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
18: aload 0
iload 6
putfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
19: aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
ireturn
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 20 0 this Lsun/java2d/xr/XRMaskImage;
0 20 1 dst Lsun/java2d/xr/XRSurfaceData;
0 20 2 maskTX Ljava/awt/geom/AffineTransform;
0 20 3 width I
0 20 4 height I
1 20 5 maskWidth I
2 20 6 maskHeight I
12 20 7 currentEA I
Exception table:
from to target type
3 4 5 Class java.awt.geom.NoninvertibleTransformException
MethodParameters:
Name Flags
dst
maskTX
width
height
private void initBlitMask(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
iload 1
bipush 8
iload 2
iload 3
invokeinterface sun.java2d.xr.XRBackend.createPixmap:(IIII)I
istore 4
start local 4 1: aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
iload 4
iconst_2
invokeinterface sun.java2d.xr.XRBackend.createPicture:(II)I
istore 5
start local 5 2: aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPixmap:I
ifeq 5
3: aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPixmap:I
invokeinterface sun.java2d.xr.XRBackend.freePixmap:(I)V
4: aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
invokeinterface sun.java2d.xr.XRBackend.freePicture:(I)V
5: StackMap locals: int int
StackMap stack:
aload 0
iload 4
putfield sun.java2d.xr.XRMaskImage.blitMaskPixmap:I
6: aload 0
iload 5
putfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
7: aload 0
getfield sun.java2d.xr.XRMaskImage.con:Lsun/java2d/xr/XRBackend;
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPicture:I
iconst_0
getstatic sun.java2d.xr.XRColor.NO_ALPHA:Lsun/java2d/xr/XRColor;
iconst_0
iconst_0
iload 2
iload 3
invokeinterface sun.java2d.xr.XRBackend.renderRectangle:(IBLsun/java2d/xr/XRColor;IIII)V
8: aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
iload 2
putfield java.awt.Dimension.width:I
9: aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
iload 3
putfield java.awt.Dimension.height:I
10: aload 0
iconst_0
putfield sun.java2d.xr.XRMaskImage.lastMaskWidth:I
11: aload 0
iconst_0
putfield sun.java2d.xr.XRMaskImage.lastMaskHeight:I
12: aload 0
aconst_null
putfield sun.java2d.xr.XRMaskImage.lastMaskTransform:Ljava/awt/geom/AffineTransform;
13: 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 14 0 this Lsun/java2d/xr/XRMaskImage;
0 14 1 parentDrawable I
0 14 2 width I
0 14 3 height I
1 14 4 newPM I
2 14 5 newPict I
MethodParameters:
Name Flags
parentDrawable
width
height
private void ensureBlitMaskSize(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
if_icmpgt 1
iload 2
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
if_icmple 4
1: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
invokestatic java.lang.Math.max:(II)I
istore 3
start local 3 2: iload 2
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskDimensions:Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 3: aload 0
aload 0
getfield sun.java2d.xr.XRMaskImage.blitMaskPixmap:I
iload 3
iload 4
invokevirtual sun.java2d.xr.XRMaskImage.initBlitMask:(III)V
end local 4 end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/xr/XRMaskImage;
0 5 1 minSizeX I
0 5 2 minSizeY I
2 4 3 newWidth I
3 4 4 newHeight I
MethodParameters:
Name Flags
minSizeX
minSizeY
}
SourceFile: "XRMaskImage.java"