class com.sun.prism.impl.ps.PaintHelper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.impl.ps.PaintHelper
super_class: java.lang.Object
{
static final int MULTI_MAX_FRACTIONS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 12
private static final int MULTI_TEXTURE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int MULTI_CACHE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 256
private static final int GTEX_CLR_TABLE_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 101
private static final int GTEX_CLR_TABLE_MIRRORED_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 201
private static final float FULL_TEXEL_Y;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.00390625
private static final float HALF_TEXEL_Y;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.001953125
private static final java.nio.FloatBuffer stopVals;
descriptor: Ljava/nio/FloatBuffer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.ByteBuffer bgraColors;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.prism.Image colorsImg;
descriptor: Lcom/sun/prism/Image;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] previousColors;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] gtexColors;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.prism.Image gtexImg;
descriptor: Lcom/sun/prism/Image;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static long cacheOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.prism.Texture gradientCacheTexture;
descriptor: Lcom/sun/prism/Texture;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.prism.Texture gtexCacheTexture;
descriptor: Lcom/sun/prism/Texture;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final com.sun.javafx.geom.transform.Affine2D scratchXform2D;
descriptor: Lcom/sun/javafx/geom/transform/Affine2D;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.javafx.geom.transform.Affine3D scratchXform3D;
descriptor: Lcom/sun/javafx/geom/transform/Affine3D;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static com.sun.prism.paint.Color PINK;
descriptor: Lcom/sun/prism/paint/Color;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: bipush 48
invokestatic com.sun.prism.impl.BufferUtil.newFloatBuffer:(I)Ljava/nio/FloatBuffer;
1: putstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
2: bipush 64
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
3: putstatic com.sun.prism.impl.ps.PaintHelper.bgraColors:Ljava/nio/ByteBuffer;
4: getstatic com.sun.prism.impl.ps.PaintHelper.bgraColors:Ljava/nio/ByteBuffer;
bipush 16
iconst_1
invokestatic com.sun.prism.Image.fromByteBgraPreData:(Ljava/nio/ByteBuffer;II)Lcom/sun/prism/Image;
5: putstatic com.sun.prism.impl.ps.PaintHelper.colorsImg:Lcom/sun/prism/Image;
6: bipush 16
newarray 10
putstatic com.sun.prism.impl.ps.PaintHelper.previousColors:[I
7: sipush 804
newarray 8
putstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
8: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
sipush 201
iconst_1
invokestatic com.sun.prism.Image.fromByteBgraPreData:(Ljava/nio/ByteBuffer;II)Lcom/sun/prism/Image;
9: putstatic com.sun.prism.impl.ps.PaintHelper.gtexImg:Lcom/sun/prism/Image;
10: ldc -1
putstatic com.sun.prism.impl.ps.PaintHelper.cacheOffset:J
11: aconst_null
putstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
12: aconst_null
putstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
13: new com.sun.javafx.geom.transform.Affine2D
dup
invokespecial com.sun.javafx.geom.transform.Affine2D.<init>:()V
putstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
14: new com.sun.javafx.geom.transform.Affine3D
dup
invokespecial com.sun.javafx.geom.transform.Affine3D.<init>:()V
putstatic com.sun.prism.impl.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
15: new com.sun.prism.paint.Color
dup
fconst_1
ldc 0.078431375
ldc 0.5764706
fconst_1
invokespecial com.sun.prism.paint.Color.<init>:(FFFF)V
putstatic com.sun.prism.impl.ps.PaintHelper.PINK:Lcom/sun/prism/paint/Color;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/ps/PaintHelper;
private static float len(float, float);
descriptor: (FF)F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 0
fconst_0
fcmpl
ifne 1
fload 1
invokestatic java.lang.Math.abs:(F)F
goto 3
1: StackMap locals:
StackMap stack:
fload 1
fconst_0
fcmpl
ifne 2
fload 0
invokestatic java.lang.Math.abs:(F)F
goto 3
2: StackMap locals:
StackMap stack:
fload 0
fload 0
fmul
fload 1
fload 1
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
3: StackMap locals:
StackMap stack: float
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 dx F
0 4 1 dy F
MethodParameters:
Name Flags
dx
dy
static void initGradientTextures(com.sun.prism.ps.ShaderGraphics);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
1: getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.Texture$Usage.DEFAULT:Lcom/sun/prism/Texture$Usage;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
2: bipush 16
sipush 256
3: invokeinterface com.sun.prism.ResourceFactory.createTexture:(Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$Usage;Lcom/sun/prism/Texture$WrapMode;II)Lcom/sun/prism/Texture;
putstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
4: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
iconst_1
invokeinterface com.sun.prism.Texture.setLinearFiltering:(Z)V
5: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.contentsUseful:()V
6: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.makePermanent:()V
7: aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
8: getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.Texture$Usage.DEFAULT:Lcom/sun/prism/Texture$Usage;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
9: sipush 201
sipush 256
10: invokeinterface com.sun.prism.ResourceFactory.createTexture:(Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$Usage;Lcom/sun/prism/Texture$WrapMode;II)Lcom/sun/prism/Texture;
putstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
11: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
iconst_1
invokeinterface com.sun.prism.Texture.setLinearFiltering:(Z)V
12: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.contentsUseful:()V
13: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.makePermanent:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 g Lcom/sun/prism/ps/ShaderGraphics;
MethodParameters:
Name Flags
g
static com.sun.prism.Texture getGradientTexture(com.sun.prism.ps.ShaderGraphics, com.sun.prism.paint.Gradient);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;Lcom/sun/prism/paint/Gradient;)Lcom/sun/prism/Texture;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
ifnonnull 2
1: aload 0
invokestatic com.sun.prism.impl.ps.PaintHelper.initGradientTextures:(Lcom/sun/prism/ps/ShaderGraphics;)V
2: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
3: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 g Lcom/sun/prism/ps/ShaderGraphics;
0 4 1 paint Lcom/sun/prism/paint/Gradient;
MethodParameters:
Name Flags
g
paint
static com.sun.prism.Texture getWrapGradientTexture(com.sun.prism.ps.ShaderGraphics);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;)Lcom/sun/prism/Texture;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
ifnonnull 2
1: aload 0
invokestatic com.sun.prism.impl.ps.PaintHelper.initGradientTextures:(Lcom/sun/prism/ps/ShaderGraphics;)V
2: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
3: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 g Lcom/sun/prism/ps/ShaderGraphics;
MethodParameters:
Name Flags
g
private static void stopsToImage(java.util.List<com.sun.prism.paint.Stop>, );
descriptor: (Ljava/util/List;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
bipush 12
if_icmple 7
1: new java.lang.RuntimeException
dup
2: new java.lang.StringBuilder
dup
ldc "Maximum number of gradient stops exceeded (paint uses "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc " stops, but max is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.bgraColors:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
8: aconst_null
astore 2
start local 2 9: iconst_0
istore 3
start local 3 10: goto 21
11: StackMap locals: com.sun.prism.paint.Color int
StackMap stack:
iload 3
iload 1
if_icmpge 15
12: aload 0
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
astore 4
start local 4 13: aload 4
astore 2
14: goto 16
end local 4 15: StackMap locals:
StackMap stack:
aload 2
astore 4
start local 4 16: StackMap locals: com.sun.prism.paint.Color
StackMap stack:
aload 4
getstatic com.sun.prism.impl.ps.PaintHelper.bgraColors:Ljava/nio/ByteBuffer;
invokevirtual com.sun.prism.paint.Color.putBgraPreBytes:(Ljava/nio/ByteBuffer;)V
17: aload 4
invokevirtual com.sun.prism.paint.Color.getIntArgbPre:()I
istore 5
start local 5 18: iload 5
getstatic com.sun.prism.impl.ps.PaintHelper.previousColors:[I
iload 3
iaload
if_icmpeq 20
19: getstatic com.sun.prism.impl.ps.PaintHelper.previousColors:[I
iload 3
iload 5
iastore
end local 5 end local 4 20: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
21: iload 3
bipush 16
if_icmplt 11
end local 3 22: getstatic com.sun.prism.impl.ps.PaintHelper.bgraColors:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
pop
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
0 24 1 numStops I
9 24 2 lastColor Lcom/sun/prism/paint/Color;
10 22 3 i I
13 15 4 c Lcom/sun/prism/paint/Color;
16 20 4 c Lcom/sun/prism/paint/Color;
18 20 5 argb I
Signature: (Ljava/util/List<Lcom/sun/prism/paint/Stop;>;I)V
MethodParameters:
Name Flags
stops
numStops
private static void insertInterpColor(byte[], int, com.sun.prism.paint.Color, com.sun.prism.paint.Color, float);
descriptor: ([BILcom/sun/prism/paint/Color;Lcom/sun/prism/paint/Color;F)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 4
ldc 255.0
fmul
fstore 4
1: ldc 255.0
fload 4
fsub
fstore 5
start local 5 2: iload 1
iconst_4
imul
istore 1
3: aload 0
iload 1
iconst_0
iadd
aload 2
invokevirtual com.sun.prism.paint.Color.getBluePremult:()F
fload 5
fmul
aload 3
invokevirtual com.sun.prism.paint.Color.getBluePremult:()F
fload 4
fmul
fadd
ldc 0.5
fadd
f2i
i2b
bastore
4: aload 0
iload 1
iconst_1
iadd
aload 2
invokevirtual com.sun.prism.paint.Color.getGreenPremult:()F
fload 5
fmul
aload 3
invokevirtual com.sun.prism.paint.Color.getGreenPremult:()F
fload 4
fmul
fadd
ldc 0.5
fadd
f2i
i2b
bastore
5: aload 0
iload 1
iconst_2
iadd
aload 2
invokevirtual com.sun.prism.paint.Color.getRedPremult:()F
fload 5
fmul
aload 3
invokevirtual com.sun.prism.paint.Color.getRedPremult:()F
fload 4
fmul
fadd
ldc 0.5
fadd
f2i
i2b
bastore
6: aload 0
iload 1
iconst_3
iadd
aload 2
invokevirtual com.sun.prism.paint.Color.getAlpha:()F
fload 5
fmul
aload 3
invokevirtual com.sun.prism.paint.Color.getAlpha:()F
fload 4
fmul
fadd
ldc 0.5
fadd
f2i
i2b
bastore
7: 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 8 0 colors [B
0 8 1 index I
0 8 2 c0 Lcom/sun/prism/paint/Color;
0 8 3 c1 Lcom/sun/prism/paint/Color;
0 8 4 t F
2 8 5 u F
MethodParameters:
Name Flags
colors
index
c0
c1
t
private static void stopsToGtexImage(java.util.List<com.sun.prism.paint.Stop>, );
descriptor: (Ljava/util/List;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
astore 2
start local 2 1: aload 0
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fstore 3
start local 3 2: fload 3
ldc 100.0
fmul
ldc 0.5
fadd
f2i
istore 4
start local 4 3: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iconst_0
aload 2
aload 2
fconst_0
invokestatic com.sun.prism.impl.ps.PaintHelper.insertInterpColor:([BILcom/sun/prism/paint/Color;Lcom/sun/prism/paint/Color;F)V
4: iconst_1
istore 5
start local 5 5: goto 22
6: StackMap locals: java.util.List int com.sun.prism.paint.Color float int int
StackMap stack:
aload 0
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
astore 6
start local 6 7: aload 0
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fstore 3
8: fload 3
ldc 100.0
fmul
ldc 0.5
fadd
f2i
istore 7
start local 7 9: iload 7
iload 4
if_icmpne 12
10: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 7
aload 2
aload 6
ldc 0.5
invokestatic com.sun.prism.impl.ps.PaintHelper.insertInterpColor:([BILcom/sun/prism/paint/Color;Lcom/sun/prism/paint/Color;F)V
11: goto 19
12: StackMap locals: com.sun.prism.paint.Color int
StackMap stack:
iload 4
iconst_1
iadd
istore 8
start local 8 13: goto 18
14: StackMap locals: int
StackMap stack:
iload 8
iload 4
isub
i2f
fstore 9
start local 9 15: fload 9
iload 7
iload 4
isub
i2f
fdiv
fstore 9
16: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 8
aload 2
aload 6
fload 9
invokestatic com.sun.prism.impl.ps.PaintHelper.insertInterpColor:([BILcom/sun/prism/paint/Color;Lcom/sun/prism/paint/Color;F)V
end local 9 17: iinc 8 1
StackMap locals:
StackMap stack:
18: iload 8
iload 7
if_icmple 14
end local 8 19: StackMap locals:
StackMap stack:
iload 7
istore 4
20: aload 6
astore 2
end local 7 end local 6 21: iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
iload 1
if_icmplt 6
end local 5 23: iconst_1
istore 5
start local 5 24: goto 32
25: StackMap locals:
StackMap stack:
bipush 100
iload 5
iadd
iconst_4
imul
istore 6
start local 6 26: bipush 100
iload 5
isub
iconst_4
imul
istore 7
start local 7 27: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 6
iconst_0
iadd
getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 7
iconst_0
iadd
baload
bastore
28: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 6
iconst_1
iadd
getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 7
iconst_1
iadd
baload
bastore
29: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 6
iconst_2
iadd
getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 7
iconst_2
iadd
baload
bastore
30: getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 6
iconst_3
iadd
getstatic com.sun.prism.impl.ps.PaintHelper.gtexColors:[B
iload 7
iconst_3
iadd
baload
bastore
end local 7 end local 6 31: iinc 5 1
StackMap locals:
StackMap stack:
32: iload 5
bipush 101
if_icmplt 25
end local 5 33: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
0 34 1 numStops I
1 34 2 lastColor Lcom/sun/prism/paint/Color;
2 34 3 offset F
3 34 4 lastIndex I
5 23 5 i I
7 21 6 color Lcom/sun/prism/paint/Color;
9 21 7 index I
13 19 8 j I
15 17 9 t F
24 33 5 i I
26 31 6 j I
27 31 7 k I
Signature: (Ljava/util/List<Lcom/sun/prism/paint/Stop;>;I)V
MethodParameters:
Name Flags
stops
numStops
public static int initGradient(com.sun.prism.paint.Gradient);
descriptor: (Lcom/sun/prism/paint/Gradient;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.paint.Gradient.getGradientOffset:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
iflt 3
lload 1
getstatic com.sun.prism.impl.ps.PaintHelper.cacheOffset:J
ldc 256
lsub
lcmp
ifle 3
2: lload 1
ldc 256
lrem
l2i
ireturn
3: StackMap locals: long
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.Gradient.getStops:()Ljava/util/List;
astore 3
start local 3 4: aload 0
invokevirtual com.sun.prism.paint.Gradient.getNumStops:()I
istore 4
start local 4 5: aload 3
iload 4
invokestatic com.sun.prism.impl.ps.PaintHelper.stopsToImage:(Ljava/util/List;I)V
6: aload 3
iload 4
invokestatic com.sun.prism.impl.ps.PaintHelper.stopsToGtexImage:(Ljava/util/List;I)V
7: getstatic com.sun.prism.impl.ps.PaintHelper.cacheOffset:J
lconst_1
ladd
dup2
putstatic com.sun.prism.impl.ps.PaintHelper.cacheOffset:J
lstore 5
start local 5 8: aload 0
lload 5
invokevirtual com.sun.prism.paint.Gradient.setGradientOffset:(J)V
9: lload 5
ldc 256
lrem
l2i
istore 7
start local 7 10: getstatic com.sun.prism.impl.ps.PaintHelper.gradientCacheTexture:Lcom/sun/prism/Texture;
getstatic com.sun.prism.impl.ps.PaintHelper.colorsImg:Lcom/sun/prism/Image;
iconst_0
iload 7
invokeinterface com.sun.prism.Texture.update:(Lcom/sun/prism/Image;II)V
11: getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
getstatic com.sun.prism.impl.ps.PaintHelper.gtexImg:Lcom/sun/prism/Image;
iconst_0
iload 7
invokeinterface com.sun.prism.Texture.update:(Lcom/sun/prism/Image;II)V
12: iload 7
ireturn
end local 7 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 paint Lcom/sun/prism/paint/Gradient;
1 13 1 offset J
4 13 3 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
5 13 4 numStops I
8 13 5 nextOffset J
10 13 7 cacheIdx I
MethodParameters:
Name Flags
paint
private static void setMultiGradient(com.sun.prism.ps.Shader, com.sun.prism.paint.Gradient);
descriptor: (Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.prism.paint.Gradient.getStops:()Ljava/util/List;
astore 2
start local 2 1: aload 1
invokevirtual com.sun.prism.paint.Gradient.getNumStops:()I
istore 3
start local 3 2: getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
invokevirtual java.nio.FloatBuffer.clear:()Ljava/nio/Buffer;
pop
3: iconst_0
istore 4
start local 4 4: goto 16
5: StackMap locals: java.util.List int int
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
iload 4
iload 3
if_icmpge 7
6: aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
goto 8
StackMap locals:
StackMap stack: java.nio.FloatBuffer
7: fconst_0
8: StackMap locals: com.sun.prism.ps.Shader com.sun.prism.paint.Gradient java.util.List int int
StackMap stack: java.nio.FloatBuffer float
invokevirtual java.nio.FloatBuffer.put:(F)Ljava/nio/FloatBuffer;
pop
9: getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
iload 4
iload 3
iconst_1
isub
if_icmpge 11
10: fconst_1
aload 2
iload 4
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fsub
fdiv
goto 12
StackMap locals:
StackMap stack: java.nio.FloatBuffer
11: fconst_0
12: StackMap locals: com.sun.prism.ps.Shader com.sun.prism.paint.Gradient java.util.List int int
StackMap stack: java.nio.FloatBuffer float
invokevirtual java.nio.FloatBuffer.put:(F)Ljava/nio/FloatBuffer;
pop
13: getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
fconst_0
invokevirtual java.nio.FloatBuffer.put:(F)Ljava/nio/FloatBuffer;
pop
14: getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
fconst_0
invokevirtual java.nio.FloatBuffer.put:(F)Ljava/nio/FloatBuffer;
pop
15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
bipush 12
if_icmplt 5
end local 4 17: getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
invokevirtual java.nio.FloatBuffer.rewind:()Ljava/nio/Buffer;
pop
18: aload 0
ldc "fractions"
getstatic com.sun.prism.impl.ps.PaintHelper.stopVals:Ljava/nio/FloatBuffer;
iconst_0
bipush 12
invokeinterface com.sun.prism.ps.Shader.setConstants:(Ljava/lang/String;Ljava/nio/FloatBuffer;II)V
19: aload 1
invokestatic com.sun.prism.impl.ps.PaintHelper.initGradient:(Lcom/sun/prism/paint/Gradient;)I
i2f
fstore 4
start local 4 20: aload 0
ldc "offset"
fload 4
ldc 256.0
fdiv
ldc 0.001953125
fadd
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;F)V
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 shader Lcom/sun/prism/ps/Shader;
0 22 1 paint Lcom/sun/prism/paint/Gradient;
1 22 2 stops Ljava/util/List<Lcom/sun/prism/paint/Stop;>;
2 22 3 numStops I
4 17 4 i I
20 22 4 index_y F
MethodParameters:
Name Flags
shader
paint
private static void setTextureGradient(com.sun.prism.ps.Shader, com.sun.prism.paint.Gradient);
descriptor: (Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.prism.impl.ps.PaintHelper.initGradient:(Lcom/sun/prism/paint/Gradient;)I
i2f
ldc 0.5
fadd
fstore 2
start local 2 1: ldc 0.5
fstore 3
start local 3 2: fconst_0
fstore 4
start local 4 3: fconst_0
fstore 5
start local 5 4: aload 1
invokevirtual com.sun.prism.paint.Gradient.getSpreadMethod:()I
tableswitch { // 0 - 2
0: 5
1: 9
2: 7
default: 10
}
5: StackMap locals: com.sun.prism.ps.Shader com.sun.prism.paint.Gradient float float float float
StackMap stack:
ldc 100.0
fstore 5
6: goto 10
7: StackMap locals:
StackMap stack:
ldc 100.0
fstore 4
8: goto 10
9: StackMap locals:
StackMap stack:
ldc 200.0
fstore 4
10: StackMap locals:
StackMap stack:
fconst_1
getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getPhysicalWidth:()I
i2f
fdiv
fstore 6
start local 6 11: fconst_1
getstatic com.sun.prism.impl.ps.PaintHelper.gtexCacheTexture:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getPhysicalHeight:()I
i2f
fdiv
fstore 7
start local 7 12: fload 3
fload 6
fmul
fstore 3
13: fload 2
fload 7
fmul
fstore 2
14: fload 4
fload 6
fmul
fstore 4
15: fload 5
fload 6
fmul
fstore 5
16: aload 0
ldc "content"
fload 3
fload 2
fload 4
fload 5
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
17: return
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 18 0 shader Lcom/sun/prism/ps/Shader;
0 18 1 paint Lcom/sun/prism/paint/Gradient;
1 18 2 cy F
2 18 3 cx F
3 18 4 fractmul F
4 18 5 clampmul F
11 18 6 xscale F
12 18 7 yscale F
MethodParameters:
Name Flags
shader
paint
static void setLinearGradient(com.sun.prism.ps.ShaderGraphics, com.sun.prism.ps.Shader, com.sun.prism.paint.LinearGradient, float, float, float, float);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/LinearGradient;FFFF)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=36, 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: aload 2
invokevirtual com.sun.prism.paint.LinearGradient.getGradientTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 7
start local 7 1: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 8
start local 8 2: aload 0
aload 8
invokeinterface com.sun.prism.ps.ShaderGraphics.getPaintShaderTransform:(Lcom/sun/javafx/geom/transform/Affine3D;)V
3: aload 7
ifnull 5
4: aload 8
aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.concatenate:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
5: StackMap locals: com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.transform.Affine3D
StackMap stack:
fload 3
aload 2
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
fload 5
fmul
fadd
fstore 9
start local 9 6: fload 4
aload 2
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
fload 6
fmul
fadd
fstore 10
start local 10 7: fload 3
aload 2
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
fload 5
fmul
fadd
fstore 11
start local 11 8: fload 4
aload 2
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
fload 6
fmul
fadd
fstore 12
start local 12 9: fload 9
fstore 13
start local 13 10: fload 10
fstore 14
start local 14 11: aload 8
fload 13
f2d
fload 14
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
12: fload 11
fload 13
fsub
fstore 13
13: fload 12
fload 14
fsub
fstore 14
14: fload 13
fload 14
invokestatic com.sun.prism.impl.ps.PaintHelper.len:(FF)F
f2d
dstore 15
start local 15 15: aload 8
fload 14
f2d
fload 13
f2d
invokestatic java.lang.Math.atan2:(DD)D
invokevirtual com.sun.javafx.geom.transform.Affine3D.rotate:(D)V
16: aload 8
dload 15
dconst_1
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
17: aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.is2D:()Z
ifne 41
18: aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.createInverse:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 23
start local 23 19: goto 23
end local 23 StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.ps.Shader com.sun.prism.paint.LinearGradient float float float float com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.transform.Affine3D float float float float float float double
StackMap stack: com.sun.javafx.geom.transform.NoninvertibleTransformException
20: pop
21: aload 8
dconst_0
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.setToScale:(DDD)V
22: aload 8
astore 23
start local 23 23: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.ps.Shader com.sun.prism.paint.LinearGradient float float float float com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.transform.Affine3D float float float float float float double top top top top top top com.sun.javafx.geom.transform.BaseTransform
StackMap stack:
aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getCameraNoClone:()Lcom/sun/javafx/sg/prism/NGCamera;
astore 24
start local 24 24: new com.sun.javafx.geom.Vec3d
dup
invokespecial com.sun.javafx.geom.Vec3d.<init>:()V
astore 25
start local 25 25: new com.sun.javafx.geom.PickRay
dup
invokespecial com.sun.javafx.geom.PickRay.<init>:()V
astore 26
start local 26 26: fconst_0
fconst_0
aload 24
aload 23
aload 26
aload 25
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 27
start local 27 27: fconst_1
fconst_0
aload 24
aload 23
aload 26
aload 25
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 28
start local 28 28: fconst_0
fconst_1
aload 24
aload 23
aload 26
aload 25
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 29
start local 29 29: aload 28
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 17
start local 17 30: aload 29
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 19
start local 19 31: aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dstore 21
start local 21 32: dload 17
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 17
33: dload 19
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 19
34: dload 21
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 21
35: aload 28
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 30
start local 30 36: aload 29
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 32
start local 32 37: aload 27
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dstore 34
start local 34 38: aload 1
ldc "gradParams"
dload 17
d2f
dload 19
d2f
dload 21
d2f
aload 27
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
39: aload 1
ldc "perspVec"
dload 30
d2f
dload 32
d2f
dload 34
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
end local 34 end local 32 end local 30 end local 29 end local 28 end local 27 end local 26 end local 25 end local 24 end local 23 40: goto 50
end local 21 end local 19 end local 17 41: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.ps.Shader com.sun.prism.paint.LinearGradient float float float float com.sun.javafx.geom.transform.BaseTransform com.sun.javafx.geom.transform.Affine3D float float float float float float double
StackMap stack:
aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.invert:()V
42: goto 45
StackMap locals:
StackMap stack: com.sun.javafx.geom.transform.NoninvertibleTransformException
43: pop
44: aload 8
dconst_0
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.setToScale:(DDD)V
45: StackMap locals:
StackMap stack:
aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxx:()D
d2f
f2d
dstore 17
start local 17 46: aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxy:()D
d2f
f2d
dstore 19
start local 19 47: aload 8
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxt:()D
d2f
f2d
dstore 21
start local 21 48: aload 1
ldc "gradParams"
dload 17
d2f
dload 19
d2f
dload 21
d2f
fconst_0
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
49: aload 1
ldc "perspVec"
fconst_0
fconst_0
fconst_1
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
50: StackMap locals: double double double
StackMap stack:
aload 1
aload 2
invokestatic com.sun.prism.impl.ps.PaintHelper.setMultiGradient:(Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
51: return
end local 21 end local 19 end local 17 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 52 0 g Lcom/sun/prism/ps/ShaderGraphics;
0 52 1 shader Lcom/sun/prism/ps/Shader;
0 52 2 paint Lcom/sun/prism/paint/LinearGradient;
0 52 3 rx F
0 52 4 ry F
0 52 5 rw F
0 52 6 rh F
1 52 7 paintXform Lcom/sun/javafx/geom/transform/BaseTransform;
2 52 8 at Lcom/sun/javafx/geom/transform/Affine3D;
6 52 9 x1 F
7 52 10 y1 F
8 52 11 x2 F
9 52 12 y2 F
10 52 13 x F
11 52 14 y F
15 52 15 len D
30 41 17 p0 D
46 52 17 p0 D
31 41 19 p1 D
47 52 19 p1 D
32 41 21 p2 D
48 52 21 p2 D
19 20 23 inv Lcom/sun/javafx/geom/transform/BaseTransform;
23 40 23 inv Lcom/sun/javafx/geom/transform/BaseTransform;
24 40 24 cam Lcom/sun/javafx/sg/prism/NGCamera;
25 40 25 tmpVec Lcom/sun/javafx/geom/Vec3d;
26 40 26 tmpvec Lcom/sun/javafx/geom/PickRay;
27 40 27 ray00 Lcom/sun/javafx/geom/PickRay;
28 40 28 ray10 Lcom/sun/javafx/geom/PickRay;
29 40 29 ray01 Lcom/sun/javafx/geom/PickRay;
36 40 30 wv0 D
37 40 32 wv1 D
38 40 34 wv2 D
Exception table:
from to target type
18 19 20 Class com.sun.javafx.geom.transform.NoninvertibleTransformException
41 42 43 Class com.sun.javafx.geom.transform.NoninvertibleTransformException
MethodParameters:
Name Flags
g
shader
paint
rx
ry
rw
rh
static com.sun.javafx.geom.transform.AffineBase getLinearGradientTx(com.sun.prism.paint.LinearGradient, com.sun.prism.ps.Shader, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/LinearGradient;Lcom/sun/prism/ps/Shader;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)Lcom/sun/javafx/geom/transform/AffineBase;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=17, 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: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
fstore 8
start local 8 1: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
fstore 9
start local 9 2: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
fstore 10
start local 10 3: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
fstore 11
start local 11 4: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.isProportional:()Z
ifeq 9
5: fload 3
fload 8
fload 5
fmul
fadd
fstore 8
6: fload 4
fload 9
fload 6
fmul
fadd
fstore 9
7: fload 3
fload 10
fload 5
fmul
fadd
fstore 10
8: fload 4
fload 11
fload 6
fmul
fadd
fstore 11
9: StackMap locals: com.sun.prism.paint.LinearGradient com.sun.prism.ps.Shader com.sun.javafx.geom.transform.BaseTransform float float float float top float float float float
StackMap stack:
fload 10
fload 8
fsub
fstore 12
start local 12 10: fload 11
fload 9
fsub
fstore 13
start local 13 11: fload 12
fload 13
invokestatic com.sun.prism.impl.ps.PaintHelper.len:(FF)F
fstore 14
start local 14 12: aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getSpreadMethod:()I
iconst_1
if_icmpne 14
13: fload 14
fconst_2
fmul
fstore 14
14: StackMap locals: float float float
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.LinearGradient.getGradientTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 15
start local 15 15: aload 15
invokevirtual com.sun.javafx.geom.transform.BaseTransform.isIdentity:()Z
ifeq 22
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.isIdentity:()Z
ifeq 22
16: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
astore 16
start local 16 17: aload 16
fload 8
f2d
fload 9
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.setToTranslation:(DD)V
18: aload 16
fload 12
f2d
fload 13
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.rotate:(DD)V
19: aload 16
fload 14
f2d
dconst_1
invokevirtual com.sun.javafx.geom.transform.Affine2D.scale:(DD)V
20: aload 16
astore 7
end local 16 start local 7 21: goto 29
end local 7 22: StackMap locals: com.sun.javafx.geom.transform.BaseTransform
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 16
start local 16 23: aload 16
aload 2
invokevirtual com.sun.javafx.geom.transform.Affine3D.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
24: aload 16
aload 15
invokevirtual com.sun.javafx.geom.transform.Affine3D.concatenate:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
25: aload 16
fload 8
f2d
fload 9
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
26: aload 16
fload 13
f2d
fload 12
f2d
invokestatic java.lang.Math.atan2:(DD)D
invokevirtual com.sun.javafx.geom.transform.Affine3D.rotate:(D)V
27: aload 16
fload 14
f2d
dconst_1
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
28: aload 16
astore 7
end local 16 start local 7 29: StackMap locals: com.sun.prism.paint.LinearGradient com.sun.prism.ps.Shader com.sun.javafx.geom.transform.BaseTransform float float float float com.sun.javafx.geom.transform.AffineBase float float float float float float float com.sun.javafx.geom.transform.BaseTransform
StackMap stack:
aload 7
invokevirtual com.sun.javafx.geom.transform.AffineBase.invert:()V
30: goto 34
StackMap locals:
StackMap stack: com.sun.javafx.geom.transform.NoninvertibleTransformException
31: pop
32: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine2D.setToScale:(DD)V
33: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
astore 7
34: StackMap locals:
StackMap stack:
aload 1
aload 0
invokestatic com.sun.prism.impl.ps.PaintHelper.setTextureGradient:(Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
35: aload 7
areturn
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 36 0 paint Lcom/sun/prism/paint/LinearGradient;
0 36 1 shader Lcom/sun/prism/ps/Shader;
0 36 2 renderTx Lcom/sun/javafx/geom/transform/BaseTransform;
0 36 3 rx F
0 36 4 ry F
0 36 5 rw F
0 36 6 rh F
21 22 7 ret Lcom/sun/javafx/geom/transform/AffineBase;
29 36 7 ret Lcom/sun/javafx/geom/transform/AffineBase;
1 36 8 x1 F
2 36 9 y1 F
3 36 10 x2 F
4 36 11 y2 F
10 36 12 dx F
11 36 13 dy F
12 36 14 len F
15 36 15 paintXform Lcom/sun/javafx/geom/transform/BaseTransform;
17 21 16 at Lcom/sun/javafx/geom/transform/Affine2D;
23 29 16 at Lcom/sun/javafx/geom/transform/Affine3D;
Exception table:
from to target type
29 30 31 Class com.sun.javafx.geom.transform.NoninvertibleTransformException
MethodParameters:
Name Flags
paint
shader
renderTx
rx
ry
rw
rh
static void setRadialGradient(com.sun.prism.ps.ShaderGraphics, com.sun.prism.ps.Shader, com.sun.prism.paint.RadialGradient, float, float, float, float);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/RadialGradient;FFFF)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=38, 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.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 7
start local 7 1: aload 0
aload 7
invokeinterface com.sun.prism.ps.ShaderGraphics.getPaintShaderTransform:(Lcom/sun/javafx/geom/transform/Affine3D;)V
2: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getRadius:()F
fstore 8
start local 8 3: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getCenterX:()F
fstore 9
start local 9 4: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getCenterY:()F
fstore 10
start local 10 5: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
fstore 11
start local 11 6: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
fstore 12
start local 12 7: fload 12
fconst_0
fcmpg
ifge 10
8: fload 12
fneg
fstore 12
9: fload 11
ldc 180.0
fadd
fstore 11
10: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.ps.Shader com.sun.prism.paint.RadialGradient float float float float com.sun.javafx.geom.transform.Affine3D float float float float float
StackMap stack:
fload 11
f2d
invokestatic java.lang.Math.toRadians:(D)D
d2f
fstore 11
11: aload 2
invokevirtual com.sun.prism.paint.RadialGradient.isProportional:()Z
ifeq 22
12: fload 3
fload 5
fconst_2
fdiv
fadd
fstore 13
start local 13 13: fload 4
fload 6
fconst_2
fdiv
fadd
fstore 14
start local 14 14: fload 5
fload 6
invokestatic java.lang.Math.min:(FF)F
fstore 15
start local 15 15: fload 9
ldc 0.5
fsub
fload 15
fmul
fload 13
fadd
fstore 9
16: fload 10
ldc 0.5
fsub
fload 15
fmul
fload 14
fadd
fstore 10
17: fload 5
fload 6
fcmpl
ifeq 21
fload 5
fconst_0
fcmpl
ifeq 21
fload 6
fconst_0
fcmpl
ifeq 21
18: aload 7
fload 13
f2d
fload 14
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
19: aload 7
fload 5
fload 15
fdiv
f2d
fload 6
fload 15
fdiv
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
20: aload 7
fload 13
fneg
f2d
fload 14
fneg
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
21: StackMap locals: float float float
StackMap stack:
fload 8
fload 15
fmul
fstore 8
end local 15 end local 14 end local 13 22: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.prism.paint.RadialGradient.getGradientTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 13
start local 13 23: aload 13
ifnull 25
24: aload 7
aload 13
invokevirtual com.sun.javafx.geom.transform.Affine3D.concatenate:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
25: StackMap locals: com.sun.javafx.geom.transform.BaseTransform
StackMap stack:
aload 7
fload 9
f2d
fload 10
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
26: aload 7
fload 11
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.rotate:(D)V
27: aload 7
fload 8
f2d
fload 8
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
28: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.invert:()V
29: goto 32
StackMap locals:
StackMap stack: java.lang.Exception
30: pop
31: aload 7
dconst_0
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.setToScale:(DDD)V
32: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.is2D:()Z
ifne 58
33: aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getCameraNoClone:()Lcom/sun/javafx/sg/prism/NGCamera;
astore 14
start local 14 34: new com.sun.javafx.geom.Vec3d
dup
invokespecial com.sun.javafx.geom.Vec3d.<init>:()V
astore 15
start local 15 35: new com.sun.javafx.geom.PickRay
dup
invokespecial com.sun.javafx.geom.PickRay.<init>:()V
astore 16
start local 16 36: fconst_0
fconst_0
aload 14
aload 7
aload 16
aload 15
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 17
start local 17 37: fconst_1
fconst_0
aload 14
aload 7
aload 16
aload 15
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 18
start local 18 38: fconst_0
fconst_1
aload 14
aload 7
aload 16
aload 15
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 19
start local 19 39: aload 18
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 20
start local 20 40: aload 19
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 22
start local 22 41: aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dstore 24
start local 24 42: aload 18
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dsub
dstore 26
start local 26 43: aload 19
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dsub
dstore 28
start local 28 44: aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dstore 30
start local 30 45: dload 20
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 20
46: dload 22
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 22
47: dload 24
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 24
48: dload 26
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 26
49: dload 28
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 28
50: dload 30
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 30
51: aload 18
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 32
start local 32 52: aload 19
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 34
start local 34 53: aload 17
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dstore 36
start local 36 54: aload 1
ldc "perspVec"
dload 32
d2f
dload 34
d2f
dload 36
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
55: aload 1
ldc "m0"
dload 20
d2f
dload 22
d2f
dload 24
d2f
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
56: aload 1
ldc "m1"
dload 26
d2f
dload 28
d2f
dload 30
d2f
aload 17
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
end local 36 end local 34 end local 32 end local 30 end local 28 end local 26 end local 24 end local 22 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 57: goto 67
58: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxx:()D
d2f
fstore 14
start local 14 59: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxy:()D
d2f
fstore 15
start local 15 60: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxt:()D
d2f
fstore 16
start local 16 61: aload 1
ldc "m0"
fload 14
fload 15
fload 16
fconst_0
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
62: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyx:()D
d2f
fstore 17
start local 17 63: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyy:()D
d2f
fstore 18
start local 18 64: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyt:()D
d2f
fstore 19
start local 19 65: aload 1
ldc "m1"
fload 17
fload 18
fload 19
fconst_0
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
66: aload 1
ldc "perspVec"
fconst_0
fconst_0
fconst_1
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 67: StackMap locals:
StackMap stack:
fload 12
ldc 0.99
invokestatic java.lang.Math.min:(FF)F
fstore 12
68: fconst_1
fload 12
fload 12
fmul
fsub
fstore 14
start local 14 69: fconst_1
fload 14
fdiv
fstore 15
start local 15 70: aload 1
ldc "precalc"
fload 12
fload 14
fload 15
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
71: aload 1
aload 2
invokestatic com.sun.prism.impl.ps.PaintHelper.setMultiGradient:(Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
72: 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 73 0 g Lcom/sun/prism/ps/ShaderGraphics;
0 73 1 shader Lcom/sun/prism/ps/Shader;
0 73 2 paint Lcom/sun/prism/paint/RadialGradient;
0 73 3 rx F
0 73 4 ry F
0 73 5 rw F
0 73 6 rh F
1 73 7 at Lcom/sun/javafx/geom/transform/Affine3D;
3 73 8 radius F
4 73 9 cx F
5 73 10 cy F
6 73 11 fa F
7 73 12 fd F
13 22 13 bcx F
14 22 14 bcy F
15 22 15 scale F
23 73 13 paintXform Lcom/sun/javafx/geom/transform/BaseTransform;
34 57 14 cam Lcom/sun/javafx/sg/prism/NGCamera;
35 57 15 tmpVec Lcom/sun/javafx/geom/Vec3d;
36 57 16 tmpvec Lcom/sun/javafx/geom/PickRay;
37 57 17 ray00 Lcom/sun/javafx/geom/PickRay;
38 57 18 ray10 Lcom/sun/javafx/geom/PickRay;
39 57 19 ray01 Lcom/sun/javafx/geom/PickRay;
40 57 20 p0 D
41 57 22 p1 D
42 57 24 p2 D
43 57 26 py0 D
44 57 28 py1 D
45 57 30 py2 D
52 57 32 wv0 D
53 57 34 wv1 D
54 57 36 wv2 D
59 67 14 m00 F
60 67 15 m01 F
61 67 16 m02 F
63 67 17 m10 F
64 67 18 m11 F
65 67 19 m12 F
69 73 14 denom F
70 73 15 inv_denom F
Exception table:
from to target type
28 29 30 Class java.lang.Exception
MethodParameters:
Name Flags
g
shader
paint
rx
ry
rw
rh
static com.sun.javafx.geom.transform.AffineBase getRadialGradientTx(com.sun.prism.paint.RadialGradient, com.sun.prism.ps.Shader, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/RadialGradient;Lcom/sun/prism/ps/Shader;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)Lcom/sun/javafx/geom/transform/AffineBase;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=16, 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.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 7
start local 7 1: aload 7
aload 2
invokevirtual com.sun.javafx.geom.transform.Affine3D.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
2: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getRadius:()F
fstore 8
start local 8 3: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getCenterX:()F
fstore 9
start local 9 4: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getCenterY:()F
fstore 10
start local 10 5: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
fstore 11
start local 11 6: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
fstore 12
start local 12 7: fload 12
fconst_0
fcmpg
ifge 10
8: fload 12
fneg
fstore 12
9: fload 11
ldc 180.0
fadd
fstore 11
10: StackMap locals: com.sun.prism.paint.RadialGradient com.sun.prism.ps.Shader com.sun.javafx.geom.transform.BaseTransform float float float float com.sun.javafx.geom.transform.Affine3D float float float float float
StackMap stack:
fload 11
f2d
invokestatic java.lang.Math.toRadians:(D)D
d2f
fstore 11
11: aload 0
invokevirtual com.sun.prism.paint.RadialGradient.isProportional:()Z
ifeq 22
12: fload 3
fload 5
fconst_2
fdiv
fadd
fstore 13
start local 13 13: fload 4
fload 6
fconst_2
fdiv
fadd
fstore 14
start local 14 14: fload 5
fload 6
invokestatic java.lang.Math.min:(FF)F
fstore 15
start local 15 15: fload 9
ldc 0.5
fsub
fload 15
fmul
fload 13
fadd
fstore 9
16: fload 10
ldc 0.5
fsub
fload 15
fmul
fload 14
fadd
fstore 10
17: fload 5
fload 6
fcmpl
ifeq 21
fload 5
fconst_0
fcmpl
ifeq 21
fload 6
fconst_0
fcmpl
ifeq 21
18: aload 7
fload 13
f2d
fload 14
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
19: aload 7
fload 5
fload 15
fdiv
f2d
fload 6
fload 15
fdiv
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
20: aload 7
fload 13
fneg
f2d
fload 14
fneg
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
21: StackMap locals: float float float
StackMap stack:
fload 8
fload 15
fmul
fstore 8
end local 15 end local 14 end local 13 22: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getSpreadMethod:()I
iconst_1
if_icmpne 24
23: fload 8
fconst_2
fmul
fstore 8
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.RadialGradient.getGradientTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 13
start local 13 25: aload 13
ifnull 27
26: aload 7
aload 13
invokevirtual com.sun.javafx.geom.transform.Affine3D.concatenate:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
27: StackMap locals: com.sun.javafx.geom.transform.BaseTransform
StackMap stack:
aload 7
fload 9
f2d
fload 10
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
28: aload 7
fload 11
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.rotate:(D)V
29: aload 7
fload 8
f2d
fload 8
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
30: aload 7
invokevirtual com.sun.javafx.geom.transform.Affine3D.invert:()V
31: goto 34
StackMap locals:
StackMap stack: java.lang.Exception
32: pop
33: aload 7
dconst_0
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.setToScale:(DDD)V
34: StackMap locals:
StackMap stack:
fload 12
ldc 0.99
invokestatic java.lang.Math.min:(FF)F
fstore 12
35: fconst_1
fload 12
fload 12
fmul
fsub
fstore 14
start local 14 36: fconst_1
fload 14
fdiv
fstore 15
start local 15 37: aload 1
ldc "precalc"
fload 12
fload 14
fload 15
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
38: aload 1
aload 0
invokestatic com.sun.prism.impl.ps.PaintHelper.setTextureGradient:(Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/Gradient;)V
39: aload 7
areturn
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 40 0 paint Lcom/sun/prism/paint/RadialGradient;
0 40 1 shader Lcom/sun/prism/ps/Shader;
0 40 2 renderTx Lcom/sun/javafx/geom/transform/BaseTransform;
0 40 3 rx F
0 40 4 ry F
0 40 5 rw F
0 40 6 rh F
1 40 7 at Lcom/sun/javafx/geom/transform/Affine3D;
3 40 8 radius F
4 40 9 cx F
5 40 10 cy F
6 40 11 fa F
7 40 12 fd F
13 22 13 bcx F
14 22 14 bcy F
15 22 15 scale F
25 40 13 paintXform Lcom/sun/javafx/geom/transform/BaseTransform;
36 40 14 denom F
37 40 15 inv_denom F
Exception table:
from to target type
30 31 32 Class java.lang.Exception
MethodParameters:
Name Flags
paint
shader
renderTx
rx
ry
rw
rh
static void setImagePattern(com.sun.prism.ps.ShaderGraphics, com.sun.prism.ps.Shader, com.sun.prism.paint.ImagePattern, float, float, float, float);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;Lcom/sun/prism/ps/Shader;Lcom/sun/prism/paint/ImagePattern;FFFF)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=45, 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: fload 3
aload 2
invokevirtual com.sun.prism.paint.ImagePattern.getX:()F
fload 5
fmul
fadd
fstore 7
start local 7 1: fload 4
aload 2
invokevirtual com.sun.prism.paint.ImagePattern.getY:()F
fload 6
fmul
fadd
fstore 8
start local 8 2: fload 7
aload 2
invokevirtual com.sun.prism.paint.ImagePattern.getWidth:()F
fload 5
fmul
fadd
fstore 9
start local 9 3: fload 8
aload 2
invokevirtual com.sun.prism.paint.ImagePattern.getHeight:()F
fload 6
fmul
fadd
fstore 10
start local 10 4: aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 11
start local 11 5: aload 2
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
astore 12
start local 12 6: aload 11
aload 12
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.getCachedTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
astore 13
start local 13 7: aload 13
invokeinterface com.sun.prism.Texture.getContentX:()I
i2f
fstore 14
start local 14 8: aload 13
invokeinterface com.sun.prism.Texture.getContentY:()I
i2f
fstore 15
start local 15 9: aload 13
invokeinterface com.sun.prism.Texture.getContentWidth:()I
i2f
fstore 16
start local 16 10: aload 13
invokeinterface com.sun.prism.Texture.getContentHeight:()I
i2f
fstore 17
start local 17 11: aload 13
invokeinterface com.sun.prism.Texture.getPhysicalWidth:()I
i2f
fstore 18
start local 18 12: aload 13
invokeinterface com.sun.prism.Texture.getPhysicalHeight:()I
i2f
fstore 19
start local 19 13: aload 13
invokeinterface com.sun.prism.Texture.unlock:()V
14: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 20
start local 20 15: aload 0
aload 20
invokeinterface com.sun.prism.ps.ShaderGraphics.getPaintShaderTransform:(Lcom/sun/javafx/geom/transform/Affine3D;)V
16: aload 20
fload 7
f2d
fload 8
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
17: aload 20
fload 9
fload 7
fsub
f2d
fload 10
fload 8
fsub
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
18: fload 16
fload 18
fcmpg
ifge 21
19: aload 20
ldc 0.5
fload 16
f2d
ddiv
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
20: fload 14
ldc 0.5
fadd
fstore 14
21: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.ps.Shader com.sun.prism.paint.ImagePattern float float float float float float float float com.sun.prism.ResourceFactory com.sun.prism.Image com.sun.prism.Texture float float float float float float com.sun.javafx.geom.transform.Affine3D
StackMap stack:
fload 17
fload 19
fcmpg
ifge 24
22: aload 20
dconst_0
ldc 0.5
fload 17
f2d
ddiv
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
23: fload 15
ldc 0.5
fadd
fstore 15
24: StackMap locals:
StackMap stack:
aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.invert:()V
25: goto 28
StackMap locals:
StackMap stack: java.lang.Exception
26: pop
27: aload 20
dconst_0
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine3D.setToScale:(DDD)V
28: StackMap locals:
StackMap stack:
aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.is2D:()Z
ifne 54
29: aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getCameraNoClone:()Lcom/sun/javafx/sg/prism/NGCamera;
astore 21
start local 21 30: new com.sun.javafx.geom.Vec3d
dup
invokespecial com.sun.javafx.geom.Vec3d.<init>:()V
astore 22
start local 22 31: new com.sun.javafx.geom.PickRay
dup
invokespecial com.sun.javafx.geom.PickRay.<init>:()V
astore 23
start local 23 32: fconst_0
fconst_0
aload 21
aload 20
aload 23
aload 22
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 24
start local 24 33: fconst_1
fconst_0
aload 21
aload 20
aload 23
aload 22
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 25
start local 25 34: fconst_0
fconst_1
aload 21
aload 20
aload 23
aload 22
aconst_null
invokestatic com.sun.prism.impl.ps.PaintHelper.project:(FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
astore 26
start local 26 35: aload 25
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 27
start local 27 36: aload 26
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dsub
dstore 29
start local 29 37: aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
dstore 31
start local 31 38: aload 25
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dsub
dstore 33
start local 33 39: aload 26
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dsub
dstore 35
start local 35 40: aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
dstore 37
start local 37 41: dload 27
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 27
42: dload 29
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 29
43: dload 31
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 31
44: dload 33
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 33
45: dload 35
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 35
46: dload 37
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dneg
dmul
dstore 37
47: aload 25
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 39
start local 39 48: aload 26
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dsub
dstore 41
start local 41 49: aload 24
invokevirtual com.sun.javafx.geom.PickRay.getDirectionNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.z:D
dstore 43
start local 43 50: aload 1
ldc "perspVec"
dload 39
d2f
dload 41
d2f
dload 43
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
51: aload 1
ldc "xParams"
dload 27
d2f
dload 29
d2f
dload 31
d2f
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.x:D
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
52: aload 1
ldc "yParams"
dload 33
d2f
dload 35
d2f
dload 37
d2f
aload 24
invokevirtual com.sun.javafx.geom.PickRay.getOriginNoClone:()Lcom/sun/javafx/geom/Vec3d;
getfield com.sun.javafx.geom.Vec3d.y:D
d2f
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
end local 43 end local 41 end local 39 end local 37 end local 35 end local 33 end local 31 end local 29 end local 27 end local 26 end local 25 end local 24 end local 23 end local 22 end local 21 53: goto 63
54: StackMap locals:
StackMap stack:
aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxx:()D
d2f
fstore 21
start local 21 55: aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxy:()D
d2f
fstore 22
start local 22 56: aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMxt:()D
d2f
fstore 23
start local 23 57: aload 1
ldc "xParams"
fload 21
fload 22
fload 23
fconst_0
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
58: aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyx:()D
d2f
fstore 24
start local 24 59: aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyy:()D
d2f
fstore 25
start local 25 60: aload 20
invokevirtual com.sun.javafx.geom.transform.Affine3D.getMyt:()D
d2f
fstore 26
start local 26 61: aload 1
ldc "yParams"
fload 24
fload 25
fload 26
fconst_0
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
62: aload 1
ldc "perspVec"
fconst_0
fconst_0
fconst_1
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFF)V
end local 26 end local 25 end local 24 end local 23 end local 22 end local 21 63: StackMap locals:
StackMap stack:
fload 14
fload 18
fdiv
fstore 14
64: fload 15
fload 19
fdiv
fstore 15
65: fload 16
fload 18
fdiv
fstore 16
66: fload 17
fload 19
fdiv
fstore 17
67: aload 1
ldc "content"
fload 14
fload 15
fload 16
fload 17
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
68: return
end local 20 end local 19 end local 18 end local 17 end local 16 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 69 0 g Lcom/sun/prism/ps/ShaderGraphics;
0 69 1 shader Lcom/sun/prism/ps/Shader;
0 69 2 paint Lcom/sun/prism/paint/ImagePattern;
0 69 3 rx F
0 69 4 ry F
0 69 5 rw F
0 69 6 rh F
1 69 7 x1 F
2 69 8 y1 F
3 69 9 x2 F
4 69 10 y2 F
5 69 11 rf Lcom/sun/prism/ResourceFactory;
6 69 12 img Lcom/sun/prism/Image;
7 69 13 paintTex Lcom/sun/prism/Texture;
8 69 14 cx F
9 69 15 cy F
10 69 16 cw F
11 69 17 ch F
12 69 18 texw F
13 69 19 texh F
15 69 20 at Lcom/sun/javafx/geom/transform/Affine3D;
30 53 21 cam Lcom/sun/javafx/sg/prism/NGCamera;
31 53 22 tmpVec Lcom/sun/javafx/geom/Vec3d;
32 53 23 tmpvec Lcom/sun/javafx/geom/PickRay;
33 53 24 ray00 Lcom/sun/javafx/geom/PickRay;
34 53 25 ray10 Lcom/sun/javafx/geom/PickRay;
35 53 26 ray01 Lcom/sun/javafx/geom/PickRay;
36 53 27 p0 D
37 53 29 p1 D
38 53 31 p2 D
39 53 33 py0 D
40 53 35 py1 D
41 53 37 py2 D
48 53 39 wv0 D
49 53 41 wv1 D
50 53 43 wv2 D
55 63 21 m00 F
56 63 22 m01 F
57 63 23 m02 F
59 63 24 m10 F
60 63 25 m11 F
61 63 26 m12 F
Exception table:
from to target type
24 25 26 Class java.lang.Exception
MethodParameters:
Name Flags
g
shader
paint
rx
ry
rw
rh
static com.sun.javafx.geom.transform.AffineBase getImagePatternTx(com.sun.prism.ps.ShaderGraphics, com.sun.prism.paint.ImagePattern, com.sun.prism.ps.Shader, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float);
descriptor: (Lcom/sun/prism/ps/ShaderGraphics;Lcom/sun/prism/paint/ImagePattern;Lcom/sun/prism/ps/Shader;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)Lcom/sun/javafx/geom/transform/AffineBase;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=23, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getX:()F
fstore 8
start local 8 1: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getY:()F
fstore 9
start local 9 2: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getWidth:()F
fstore 10
start local 10 3: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getHeight:()F
fstore 11
start local 11 4: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.isProportional:()Z
ifeq 9
5: fload 4
fload 8
fload 6
fmul
fadd
fstore 8
6: fload 5
fload 9
fload 7
fmul
fadd
fstore 9
7: fload 10
fload 6
fmul
fstore 10
8: fload 11
fload 7
fmul
fstore 11
9: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.paint.ImagePattern com.sun.prism.ps.Shader com.sun.javafx.geom.transform.BaseTransform float float float float float float float float
StackMap stack:
aload 0
invokeinterface com.sun.prism.ps.ShaderGraphics.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
astore 12
start local 12 10: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
astore 13
start local 13 11: aload 12
aload 13
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.getCachedTexture:(Lcom/sun/prism/Image;Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
astore 14
start local 14 12: aload 14
invokeinterface com.sun.prism.Texture.getContentX:()I
i2f
fstore 15
start local 15 13: aload 14
invokeinterface com.sun.prism.Texture.getContentY:()I
i2f
fstore 16
start local 16 14: aload 14
invokeinterface com.sun.prism.Texture.getContentWidth:()I
i2f
fstore 17
start local 17 15: aload 14
invokeinterface com.sun.prism.Texture.getContentHeight:()I
i2f
fstore 18
start local 18 16: aload 14
invokeinterface com.sun.prism.Texture.getPhysicalWidth:()I
i2f
fstore 19
start local 19 17: aload 14
invokeinterface com.sun.prism.Texture.getPhysicalHeight:()I
i2f
fstore 20
start local 20 18: aload 14
invokeinterface com.sun.prism.Texture.unlock:()V
19: aload 3
invokevirtual com.sun.javafx.geom.transform.BaseTransform.isIdentity:()Z
ifeq 25
20: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
astore 22
start local 22 21: aload 22
fload 8
f2d
fload 9
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.setToTranslation:(DD)V
22: aload 22
fload 10
f2d
fload 11
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.scale:(DD)V
23: aload 22
astore 21
end local 22 start local 21 24: goto 30
end local 21 25: StackMap locals: com.sun.prism.ps.ShaderGraphics com.sun.prism.paint.ImagePattern com.sun.prism.ps.Shader com.sun.javafx.geom.transform.BaseTransform float float float float float float float float com.sun.prism.ResourceFactory com.sun.prism.Image com.sun.prism.Texture float float float float float float
StackMap stack:
getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform3D:Lcom/sun/javafx/geom/transform/Affine3D;
astore 22
start local 22 26: aload 22
aload 3
invokevirtual com.sun.javafx.geom.transform.Affine3D.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
27: aload 22
fload 8
f2d
fload 9
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.translate:(DD)V
28: aload 22
fload 10
f2d
fload 11
f2d
invokevirtual com.sun.javafx.geom.transform.Affine3D.scale:(DD)V
29: aload 22
astore 21
end local 22 start local 21 30: StackMap locals: com.sun.javafx.geom.transform.AffineBase
StackMap stack:
fload 17
fload 19
fcmpg
ifge 33
31: aload 21
ldc 0.5
fload 17
f2d
ddiv
dconst_0
invokevirtual com.sun.javafx.geom.transform.AffineBase.translate:(DD)V
32: fload 15
ldc 0.5
fadd
fstore 15
33: StackMap locals:
StackMap stack:
fload 18
fload 20
fcmpg
ifge 36
34: aload 21
dconst_0
ldc 0.5
fload 18
f2d
ddiv
invokevirtual com.sun.javafx.geom.transform.AffineBase.translate:(DD)V
35: fload 16
ldc 0.5
fadd
fstore 16
36: StackMap locals:
StackMap stack:
aload 21
invokevirtual com.sun.javafx.geom.transform.AffineBase.invert:()V
37: goto 41
StackMap locals:
StackMap stack: java.lang.Exception
38: pop
39: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
astore 21
40: getstatic com.sun.prism.impl.ps.PaintHelper.scratchXform2D:Lcom/sun/javafx/geom/transform/Affine2D;
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.Affine2D.setToScale:(DD)V
41: StackMap locals:
StackMap stack:
fload 15
fload 19
fdiv
fstore 15
42: fload 16
fload 20
fdiv
fstore 16
43: fload 17
fload 19
fdiv
fstore 17
44: fload 18
fload 20
fdiv
fstore 18
45: aload 2
ldc "content"
fload 15
fload 16
fload 17
fload 18
invokeinterface com.sun.prism.ps.Shader.setConstant:(Ljava/lang/String;FFFF)V
46: aload 21
areturn
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 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 47 0 g Lcom/sun/prism/ps/ShaderGraphics;
0 47 1 paint Lcom/sun/prism/paint/ImagePattern;
0 47 2 shader Lcom/sun/prism/ps/Shader;
0 47 3 renderTx Lcom/sun/javafx/geom/transform/BaseTransform;
0 47 4 rx F
0 47 5 ry F
0 47 6 rw F
0 47 7 rh F
1 47 8 px F
2 47 9 py F
3 47 10 pw F
4 47 11 ph F
10 47 12 rf Lcom/sun/prism/ResourceFactory;
11 47 13 img Lcom/sun/prism/Image;
12 47 14 paintTex Lcom/sun/prism/Texture;
13 47 15 cx F
14 47 16 cy F
15 47 17 cw F
16 47 18 ch F
17 47 19 texw F
18 47 20 texh F
24 25 21 ret Lcom/sun/javafx/geom/transform/AffineBase;
30 47 21 ret Lcom/sun/javafx/geom/transform/AffineBase;
21 24 22 at Lcom/sun/javafx/geom/transform/Affine2D;
26 30 22 at Lcom/sun/javafx/geom/transform/Affine3D;
Exception table:
from to target type
36 37 38 Class java.lang.Exception
MethodParameters:
Name Flags
g
paint
shader
renderTx
rx
ry
rw
rh
static com.sun.javafx.geom.PickRay project(float, float, com.sun.javafx.sg.prism.NGCamera, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.geom.PickRay, com.sun.javafx.geom.Vec3d, com.sun.javafx.geom.Point2D);
descriptor: (FFLcom/sun/javafx/sg/prism/NGCamera;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/PickRay;Lcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
flags: (0x0008) ACC_STATIC
Code:
stack=5, 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: aload 2
fload 0
fload 1
aload 4
invokevirtual com.sun.javafx.sg.prism.NGCamera.computePickRay:(FFLcom/sun/javafx/geom/PickRay;)Lcom/sun/javafx/geom/PickRay;
astore 4
1: aload 4
aload 3
aload 2
instanceof com.sun.javafx.sg.prism.NGPerspectiveCamera
2: aload 5
aload 6
3: invokevirtual com.sun.javafx.geom.PickRay.project:(Lcom/sun/javafx/geom/transform/BaseTransform;ZLcom/sun/javafx/geom/Vec3d;Lcom/sun/javafx/geom/Point2D;)Lcom/sun/javafx/geom/PickRay;
areturn
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 4 0 x F
0 4 1 y F
0 4 2 cam Lcom/sun/javafx/sg/prism/NGCamera;
0 4 3 inv Lcom/sun/javafx/geom/transform/BaseTransform;
0 4 4 tmpray Lcom/sun/javafx/geom/PickRay;
0 4 5 tmpvec Lcom/sun/javafx/geom/Vec3d;
0 4 6 ret Lcom/sun/javafx/geom/Point2D;
MethodParameters:
Name Flags
x
y
cam
inv
tmpray
tmpvec
ret
}
SourceFile: "PaintHelper.java"
InnerClasses:
public final Usage = com.sun.prism.Texture$Usage of com.sun.prism.Texture
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture