class com.sun.prism.impl.ps.CachingShapeRepState$MaskCache
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.impl.ps.CachingShapeRepState$MaskCache
super_class: java.lang.Object
{
private static final int MAX_MASK_DIM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 512
private static final int MAX_SIZE_IN_PIXELS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4194304
private static java.util.Comparator<com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;>;
private com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry[] entries;
descriptor: [Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
flags: (0x0002) ACC_PRIVATE
private int entriesSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int totalPixels;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry tmpKey;
descriptor: Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
com/sun/prism/impl/ps/CachingShapeRepState$MaskCache.lambda$0(Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)I (6)
(Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)I
putstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
1: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 8
anewarray com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
2: aload 0
iconst_0
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
3: aload 0
new com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
dup
invokespecial com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.<init>:()V
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
4: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
new com.sun.javafx.geom.RectBounds
dup
invokespecial com.sun.javafx.geom.RectBounds.<init>:()V
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
private void ensureSize(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
arraylength
iload 1
if_icmpge 4
1: iload 1
iconst_3
imul
iconst_2
idiv
anewarray com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
astore 2
start local 2 2: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 2
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 5 1 size I
2 4 2 newEntries [Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
MethodParameters:
Name Flags
size
private void addEntry(com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry);
descriptor: (Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
iconst_1
iadd
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.ensureSize:(I)V
1: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 1
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 2
start local 2 2: iload 2
ifge 4
3: iload 2
iconst_m1
ixor
istore 2
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
iconst_1
iadd
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
iload 2
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
aload 1
aastore
6: aload 0
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
iconst_1
iadd
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 8 1 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
2 8 2 pos I
MethodParameters:
Name Flags
entry
private void removeEntry(com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry);
descriptor: (Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 1
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 2
start local 2 1: iload 2
ifge 3
2: new java.lang.IllegalStateException
dup
ldc "Trying to remove a cached item that's not in the cache"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
aaload
aload 1
if_acmpeq 17
4: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
fconst_0
fconst_0
fconst_0
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
ldc -Infinity
invokestatic java.lang.Math.nextAfter:(FD)F
fconst_0
invokevirtual com.sun.javafx.geom.RectBounds.deriveWithNewBounds:(FFFFFF)Lcom/sun/javafx/geom/BaseBounds;
pop
5: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 2
6: iload 2
ifge 8
7: iload 2
iconst_m1
ixor
istore 2
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
fconst_0
fconst_0
fconst_0
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
ldc Infinity
invokestatic java.lang.Math.nextAfter:(FD)F
fconst_0
invokevirtual com.sun.javafx.geom.RectBounds.deriveWithNewBounds:(FFFFFF)Lcom/sun/javafx/geom/BaseBounds;
pop
9: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 3
start local 3 10: iload 3
ifge 14
11: iload 3
iconst_m1
ixor
istore 3
12: goto 14
StackMap locals: int
StackMap stack:
13: iinc 2 1
StackMap locals:
StackMap stack:
14: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
aaload
aload 1
if_acmpeq 15
iload 2
iload 3
if_icmplt 13
15: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 17
16: new java.lang.IllegalStateException
dup
ldc "Trying to remove a cached item that's not in the cache"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
iconst_1
iadd
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 2
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
iload 2
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 0
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
iconst_1
isub
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
19: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 20 1 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
1 20 2 pos I
10 17 3 toPos I
MethodParameters:
Name Flags
entry
boolean hasRoom(com.sun.javafx.geom.RectBounds);
descriptor: (Lcom/sun/javafx/geom/RectBounds;)Z
flags: (0x0000)
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
ldc 0.5
fadd
f2i
istore 2
start local 2 1: aload 1
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
ldc 0.5
fadd
f2i
istore 3
start local 3 2: iload 2
iload 3
imul
istore 4
start local 4 3: iload 2
sipush 512
if_icmpgt 7
4: iload 3
sipush 512
if_icmpgt 7
5: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.totalPixels:I
iload 4
iadd
ldc 4194304
6: if_icmpgt 7
iconst_1
ireturn
StackMap locals: int int int
StackMap stack:
7: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 8 1 xformBounds Lcom/sun/javafx/geom/RectBounds;
1 8 2 w I
2 8 3 h I
3 8 4 size I
MethodParameters:
Name Flags
xformBounds
boolean entryMatches(com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry, com.sun.javafx.geom.Shape, com.sun.prism.BasicStroke, com.sun.javafx.geom.transform.BaseTransform, boolean);
descriptor: (Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;Lcom/sun/javafx/geom/Shape;Lcom/sun/prism/BasicStroke;Lcom/sun/javafx/geom/transform/BaseTransform;Z)Z
flags: (0x0000)
Code:
stack=2, 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 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.antialiasedShape:Z
iload 5
if_icmpne 4
aload 4
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xform:Lcom/sun/javafx/geom/transform/BaseTransform;
invokestatic com.sun.prism.impl.ps.CachingShapeRepState.equalsIgnoreTranslation:(Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/transform/BaseTransform;)Z
ifeq 4
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.shape:Lcom/sun/javafx/geom/Shape;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
1: aload 3
ifnonnull 2
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.stroke:Lcom/sun/prism/BasicStroke;
ifnonnull 4
goto 3
StackMap locals:
StackMap stack:
2: aload 3
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.stroke:Lcom/sun/prism/BasicStroke;
invokevirtual com.sun.prism.BasicStroke.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
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 5 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 5 1 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
0 5 2 shape Lcom/sun/javafx/geom/Shape;
0 5 3 stroke Lcom/sun/prism/BasicStroke;
0 5 4 xform Lcom/sun/javafx/geom/transform/BaseTransform;
0 5 5 antialiasedShape Z
MethodParameters:
Name Flags
entry
shape
stroke
xform
antialiasedShape
void get(com.sun.prism.impl.ps.BaseShaderContext, com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData, com.sun.javafx.geom.Shape, com.sun.prism.BasicStroke, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.geom.RectBounds, boolean, boolean);
descriptor: (Lcom/sun/prism/impl/ps/BaseShaderContext;Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;Lcom/sun/javafx/geom/Shape;Lcom/sun/prism/BasicStroke;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/RectBounds;ZZ)V
flags: (0x0000)
Code:
stack=8, locals=15, args_size=9
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 0: aload 2
ifnonnull 2
1: new java.lang.InternalError
dup
ldc "MaskTexData must be non-null"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.cacheEntry:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
ifnull 4
3: new java.lang.InternalError
dup
ldc "CacheEntry should already be null"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
fconst_0
fconst_0
fconst_0
aload 6
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
aload 6
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
ldc -Infinity
invokestatic java.lang.Math.nextAfter:(FD)F
fconst_0
invokevirtual com.sun.javafx.geom.RectBounds.deriveWithNewBounds:(FFFFFF)Lcom/sun/javafx/geom/BaseBounds;
pop
5: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 9
start local 9 6: iload 9
ifge 8
7: iload 9
iconst_m1
ixor
istore 9
8: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
fconst_0
fconst_0
fconst_0
aload 6
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
aload 6
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
ldc Infinity
invokestatic java.lang.Math.nextAfter:(FD)F
fconst_0
invokevirtual com.sun.javafx.geom.RectBounds.deriveWithNewBounds:(FFFFFF)Lcom/sun/javafx/geom/BaseBounds;
pop
9: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iconst_0
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entriesSize:I
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.tmpKey:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
getstatic com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.binarySearch:([Ljava/lang/Object;IILjava/lang/Object;Ljava/util/Comparator;)I
istore 10
start local 10 10: iload 10
ifge 25
11: iload 10
iconst_m1
ixor
istore 10
12: goto 25
13: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entries:[Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
iload 9
aaload
astore 11
start local 11 14: aload 0
aload 11
aload 3
aload 4
aload 5
iload 8
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.entryMatches:(Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;Lcom/sun/javafx/geom/Shape;Lcom/sun/prism/BasicStroke;Lcom/sun/javafx/geom/transform/BaseTransform;Z)Z
ifeq 24
15: aload 11
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
16: aload 11
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.isSurfaceLost:()Z
ifeq 19
17: aload 11
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.unlock:()V
18: goto 24
19: StackMap locals: com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
StackMap stack:
aload 11
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
iconst_1
iadd
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
20: aload 11
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
aload 2
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.copyInto:(Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;)V
21: aload 2
aload 11
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.cacheEntry:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
22: aload 2
aload 5
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.adjustOrigin:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
23: return
end local 11 24: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
25: iload 9
iload 10
if_icmplt 13
26: aload 3
aload 4
aload 6
aload 5
iconst_1
iload 8
invokestatic com.sun.prism.impl.shape.ShapeUtil.rasterizeShape:(Lcom/sun/javafx/geom/Shape;Lcom/sun/prism/BasicStroke;Lcom/sun/javafx/geom/RectBounds;Lcom/sun/javafx/geom/transform/BaseTransform;ZZ)Lcom/sun/prism/impl/shape/MaskData;
27: astore 11
start local 11 28: aload 11
invokevirtual com.sun.prism.impl.shape.MaskData.getWidth:()I
istore 12
start local 12 29: aload 11
invokevirtual com.sun.prism.impl.shape.MaskData.getHeight:()I
istore 13
start local 13 30: aload 2
aload 11
invokevirtual com.sun.prism.impl.shape.MaskData.getOriginX:()I
i2f
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskX:F
31: aload 2
aload 11
invokevirtual com.sun.prism.impl.shape.MaskData.getOriginY:()I
i2f
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskY:F
32: aload 2
iload 12
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskW:I
33: aload 2
iload 13
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskH:I
34: aload 2
35: aload 1
invokevirtual com.sun.prism.impl.ps.BaseShaderContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
iload 12
iload 13
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createMaskTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
36: putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
37: aload 11
aload 2
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
iconst_0
iconst_0
iconst_0
invokevirtual com.sun.prism.impl.shape.MaskData.uploadToTexture:(Lcom/sun/prism/Texture;IIZ)V
38: aload 2
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.contentsUseful:()V
39: new com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
dup
invokespecial com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.<init>:()V
astore 14
start local 14 40: aload 14
aload 3
invokevirtual com.sun.javafx.geom.Shape.copy:()Lcom/sun/javafx/geom/Shape;
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.shape:Lcom/sun/javafx/geom/Shape;
41: aload 4
ifnull 42
aload 14
aload 4
invokevirtual com.sun.prism.BasicStroke.copy:()Lcom/sun/prism/BasicStroke;
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.stroke:Lcom/sun/prism/BasicStroke;
42: StackMap locals: com.sun.prism.impl.ps.CachingShapeRepState$MaskCache com.sun.prism.impl.ps.BaseShaderContext com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData com.sun.javafx.geom.Shape com.sun.prism.BasicStroke com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.RectBounds int int int int com.sun.prism.impl.shape.MaskData int int com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
StackMap stack:
aload 14
aload 5
invokevirtual com.sun.javafx.geom.transform.BaseTransform.copy:()Lcom/sun/javafx/geom/transform/BaseTransform;
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xform:Lcom/sun/javafx/geom/transform/BaseTransform;
43: aload 14
iload 7
ifeq 44
aload 6
goto 45
StackMap locals:
StackMap stack: com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
44: aload 6
invokevirtual com.sun.javafx.geom.RectBounds.copy:()Lcom/sun/javafx/geom/BaseBounds;
checkcast com.sun.javafx.geom.RectBounds
StackMap locals: com.sun.prism.impl.ps.CachingShapeRepState$MaskCache com.sun.prism.impl.ps.BaseShaderContext com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData com.sun.javafx.geom.Shape com.sun.prism.BasicStroke com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.RectBounds int int int int com.sun.prism.impl.shape.MaskData int int com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
StackMap stack: com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry com.sun.javafx.geom.RectBounds
45: putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
46: aload 14
aload 2
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.copy:()Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
47: aload 14
iload 8
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.antialiasedShape:Z
48: aload 14
iconst_1
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
49: aload 2
aload 14
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.cacheEntry:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
50: aload 0
aload 14
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.addEntry:(Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)V
51: aload 0
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.totalPixels:I
iload 12
iload 13
imul
iadd
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.totalPixels:I
52: return
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 53 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 53 1 context Lcom/sun/prism/impl/ps/BaseShaderContext;
0 53 2 texData Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
0 53 3 shape Lcom/sun/javafx/geom/Shape;
0 53 4 stroke Lcom/sun/prism/BasicStroke;
0 53 5 xform Lcom/sun/javafx/geom/transform/BaseTransform;
0 53 6 xformBounds Lcom/sun/javafx/geom/RectBounds;
0 53 7 xformBoundsIsACopy Z
0 53 8 antialiasedShape Z
6 53 9 i I
10 53 10 toPos I
14 24 11 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
28 53 11 maskData Lcom/sun/prism/impl/shape/MaskData;
29 53 12 mw I
30 53 13 mh I
40 53 14 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
MethodParameters:
Name Flags
context
texData
shape
stroke
xform
xformBounds
xformBoundsIsACopy
antialiasedShape
void unref(com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData);
descriptor: (Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.InternalError
dup
ldc "MaskTexData must be non-null"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.cacheEntry:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: return
5: StackMap locals: com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry
StackMap stack:
aload 1
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.cacheEntry:Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
6: aload 1
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
7: aload 2
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
iconst_1
isub
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
8: aload 2
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.refCount:I
ifgt 18
9: aload 0
aload 2
invokevirtual com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.removeEntry:(Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)V
10: aload 2
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.shape:Lcom/sun/javafx/geom/Shape;
11: aload 2
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.stroke:Lcom/sun/prism/BasicStroke;
12: aload 2
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xform:Lcom/sun/javafx/geom/transform/BaseTransform;
13: aload 2
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
14: aload 2
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.dispose:()V
15: aload 2
iconst_0
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.antialiasedShape:Z
16: aload 2
aconst_null
putfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.texData:Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
17: aload 0
dup
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.totalPixels:I
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskW:I
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData.maskH:I
imul
isub
putfield com.sun.prism.impl.ps.CachingShapeRepState$MaskCache.totalPixels:I
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskCache;
0 19 1 texData Lcom/sun/prism/impl/ps/CachingShapeRepState$MaskTexData;
3 19 2 entry Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
MethodParameters:
Name Flags
texData
private static int lambda$0(com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry, com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry);
descriptor: (Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
invokestatic java.lang.Float.compare:(FF)I
istore 2
start local 2 1: iload 2
ifeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
aload 1
getfield com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry.xformBounds:Lcom/sun/javafx/geom/RectBounds;
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
invokestatic java.lang.Float.compare:(FF)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 o1 Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
0 4 1 o2 Lcom/sun/prism/impl/ps/CachingShapeRepState$CacheEntry;
1 4 2 widthCompare I
}
SourceFile: "CachingShapeRep.java"
NestHost: com.sun.prism.impl.ps.CachingShapeRepState
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
private CacheEntry = com.sun.prism.impl.ps.CachingShapeRepState$CacheEntry of com.sun.prism.impl.ps.CachingShapeRepState
private MaskCache = com.sun.prism.impl.ps.CachingShapeRepState$MaskCache of com.sun.prism.impl.ps.CachingShapeRepState
private MaskTexData = com.sun.prism.impl.ps.CachingShapeRepState$MaskTexData of com.sun.prism.impl.ps.CachingShapeRepState
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles