public abstract class com.sun.prism.impl.BaseContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.prism.impl.BaseContext
super_class: java.lang.Object
{
private final com.sun.glass.ui.Screen screen;
descriptor: Lcom/sun/glass/ui/Screen;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.prism.ResourceFactory factory;
descriptor: Lcom/sun/prism/ResourceFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.prism.impl.VertexBuffer vertexBuffer;
descriptor: Lcom/sun/prism/impl/VertexBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int MIN_MASK_DIM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private com.sun.prism.Texture maskTex;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer maskBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer clearBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int curMaskRow;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextMaskRow;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int curMaskCol;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int highMaskCol;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.Texture paintTex;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private int[] paintPixels;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer paintBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.Texture rectTex;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private int rectTexMax;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.Texture wrapRectTex;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private com.sun.prism.Texture ovalTex;
descriptor: Lcom/sun/prism/Texture;
flags: (0x0002) ACC_PRIVATE
private final com.sun.javafx.geom.transform.GeneralTransform3D perspectiveTransform;
descriptor: Lcom/sun/javafx/geom/transform/GeneralTransform3D;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<com.sun.javafx.font.FontStrike, com.sun.prism.impl.GlyphCache> greyGlyphCaches;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;
private final java.util.Map<com.sun.javafx.font.FontStrike, com.sun.prism.impl.GlyphCache> lcdGlyphCaches;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;
protected void <init>(com.sun.glass.ui.Screen, com.sun.prism.ResourceFactory, int);
descriptor: (Lcom/sun/glass/ui/Screen;Lcom/sun/prism/ResourceFactory;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.sun.javafx.geom.transform.GeneralTransform3D
dup
invokespecial com.sun.javafx.geom.transform.GeneralTransform3D.<init>:()V
putfield com.sun.prism.impl.BaseContext.perspectiveTransform:Lcom/sun/javafx/geom/transform/GeneralTransform3D;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.prism.impl.BaseContext.greyGlyphCaches:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.prism.impl.BaseContext.lcdGlyphCaches:Ljava/util/Map;
4: aload 0
aload 1
putfield com.sun.prism.impl.BaseContext.screen:Lcom/sun/glass/ui/Screen;
5: aload 0
aload 2
putfield com.sun.prism.impl.BaseContext.factory:Lcom/sun/prism/ResourceFactory;
6: aload 0
new com.sun.prism.impl.VertexBuffer
dup
aload 0
iload 3
invokespecial com.sun.prism.impl.VertexBuffer.<init>:(Lcom/sun/prism/impl/BaseContext;I)V
putfield com.sun.prism.impl.BaseContext.vertexBuffer:Lcom/sun/prism/impl/VertexBuffer;
7: return
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/BaseContext;
0 8 1 screen Lcom/sun/glass/ui/Screen;
0 8 2 factory Lcom/sun/prism/ResourceFactory;
0 8 3 vbQuads I
MethodParameters:
Name Flags
screen
factory
vbQuads
protected void setDeviceParametersFor2D();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
protected void setDeviceParametersFor3D();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
public com.sun.glass.ui.Screen getAssociatedScreen();
descriptor: ()Lcom/sun/glass/ui/Screen;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.screen:Lcom/sun/glass/ui/Screen;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
public com.sun.prism.ResourceFactory getResourceFactory();
descriptor: ()Lcom/sun/prism/ResourceFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.factory:Lcom/sun/prism/ResourceFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
public com.sun.prism.impl.VertexBuffer getVertexBuffer();
descriptor: ()Lcom/sun/prism/impl/VertexBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.vertexBuffer:Lcom/sun/prism/impl/VertexBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
public void flushVertexBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.vertexBuffer:Lcom/sun/prism/impl/VertexBuffer;
invokevirtual com.sun.prism.impl.VertexBuffer.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/impl/BaseContext;
protected final void flushMask();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=11, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
ifgt 1
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
ifle 8
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
2: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getPixelFormat:()Lcom/sun/prism/PixelFormat;
3: iconst_0
iconst_0
iconst_0
iconst_0
aload 0
getfield com.sun.prism.impl.BaseContext.highMaskCol:I
aload 0
getfield com.sun.prism.impl.BaseContext.nextMaskRow:I
4: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentWidth:()I
iconst_1
5: invokeinterface com.sun.prism.Texture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
6: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.unlock:()V
7: aload 0
aload 0
aload 0
aload 0
iconst_0
dup_x1
putfield com.sun.prism.impl.BaseContext.highMaskCol:I
dup_x1
putfield com.sun.prism.impl.BaseContext.nextMaskRow:I
dup_x1
putfield com.sun.prism.impl.BaseContext.curMaskCol:I
putfield com.sun.prism.impl.BaseContext.curMaskRow:I
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/impl/BaseContext;
public void drawQuads(float[], byte[], int);
descriptor: ([F[BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.prism.impl.BaseContext.flushMask:()V
1: aload 0
aload 1
aload 2
iload 3
invokevirtual com.sun.prism.impl.BaseContext.renderQuads:([F[BI)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/impl/BaseContext;
0 3 1 coordArray [F
0 3 2 colorArray [B
0 3 3 numVertices I
MethodParameters:
Name Flags
coordArray
colorArray
numVertices
protected com.sun.javafx.geom.transform.GeneralTransform3D getPerspectiveTransformNoClone();
descriptor: ()Lcom/sun/javafx/geom/transform/GeneralTransform3D;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.perspectiveTransform:Lcom/sun/javafx/geom/transform/GeneralTransform3D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
protected void setPerspectiveTransform(com.sun.javafx.geom.transform.GeneralTransform3D);
descriptor: (Lcom/sun/javafx/geom/transform/GeneralTransform3D;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
getfield com.sun.prism.impl.BaseContext.perspectiveTransform:Lcom/sun/javafx/geom/transform/GeneralTransform3D;
invokevirtual com.sun.javafx.geom.transform.GeneralTransform3D.setIdentity:()Lcom/sun/javafx/geom/transform/GeneralTransform3D;
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.perspectiveTransform:Lcom/sun/javafx/geom/transform/GeneralTransform3D;
aload 1
invokevirtual com.sun.javafx.geom.transform.GeneralTransform3D.set:(Lcom/sun/javafx/geom/transform/GeneralTransform3D;)Lcom/sun/javafx/geom/transform/GeneralTransform3D;
pop
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/BaseContext;
0 5 1 transform Lcom/sun/javafx/geom/transform/GeneralTransform3D;
MethodParameters:
Name Flags
transform
protected abstract void renderQuads(float[], byte[], int);
descriptor: ([F[BI)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
coordArray
colorArray
numVertices
public void setRenderTarget(com.sun.prism.impl.BaseGraphics);
descriptor: (Lcom/sun/prism/impl/BaseGraphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
1: aload 0
aload 1
invokevirtual com.sun.prism.impl.BaseGraphics.getRenderTarget:()Lcom/sun/prism/RenderTarget;
aload 1
invokevirtual com.sun.prism.impl.BaseGraphics.getCameraNoClone:()Lcom/sun/javafx/sg/prism/NGCamera;
2: aload 1
invokevirtual com.sun.prism.impl.BaseGraphics.isDepthTest:()Z
ifeq 3
aload 1
invokevirtual com.sun.prism.impl.BaseGraphics.isDepthBuffer:()Z
ifeq 3
iconst_1
goto 4
StackMap locals: com.sun.prism.impl.BaseContext com.sun.prism.impl.BaseGraphics
StackMap stack: com.sun.prism.impl.BaseContext com.sun.prism.RenderTarget com.sun.javafx.sg.prism.NGCamera
3: iconst_0
StackMap locals: com.sun.prism.impl.BaseContext com.sun.prism.impl.BaseGraphics
StackMap stack: com.sun.prism.impl.BaseContext com.sun.prism.RenderTarget com.sun.javafx.sg.prism.NGCamera int
4: aload 1
invokevirtual com.sun.prism.impl.BaseGraphics.isState3D:()Z
5: invokevirtual com.sun.prism.impl.BaseContext.setRenderTarget:(Lcom/sun/prism/RenderTarget;Lcom/sun/javafx/sg/prism/NGCamera;ZZ)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.impl.BaseContext.releaseRenderTarget:()V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/prism/impl/BaseContext;
0 9 1 g Lcom/sun/prism/impl/BaseGraphics;
MethodParameters:
Name Flags
g
protected void releaseRenderTarget();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
protected abstract void setRenderTarget(com.sun.prism.RenderTarget, com.sun.javafx.sg.prism.NGCamera, boolean, boolean);
descriptor: (Lcom/sun/prism/RenderTarget;Lcom/sun/javafx/sg/prism/NGCamera;ZZ)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
target
camera
depthTest
state3D
public abstract void validateClearOp(com.sun.prism.impl.BaseGraphics);
descriptor: (Lcom/sun/prism/impl/BaseGraphics;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
g
public abstract void validatePaintOp(com.sun.prism.impl.BaseGraphics, com.sun.javafx.geom.transform.BaseTransform, com.sun.prism.Texture, float, float, float, float);
descriptor: (Lcom/sun/prism/impl/BaseGraphics;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/prism/Texture;FFFF)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
g
xform
maskTex
bx
by
bw
bh
public abstract void validateTextureOp(com.sun.prism.impl.BaseGraphics, com.sun.javafx.geom.transform.BaseTransform, com.sun.prism.Texture, com.sun.prism.PixelFormat);
descriptor: (Lcom/sun/prism/impl/BaseGraphics;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/prism/Texture;Lcom/sun/prism/PixelFormat;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
g
xform
src
format
public void clearGlyphCaches();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.prism.impl.BaseContext.greyGlyphCaches:Ljava/util/Map;
invokevirtual com.sun.prism.impl.BaseContext.clearCaches:(Ljava/util/Map;)V
1: aload 0
aload 0
getfield com.sun.prism.impl.BaseContext.lcdGlyphCaches:Ljava/util/Map;
invokevirtual com.sun.prism.impl.BaseContext.clearCaches:(Ljava/util/Map;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/impl/BaseContext;
private void clearCaches(java.util.Map<com.sun.javafx.font.FontStrike, com.sun.prism.impl.GlyphCache>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 3
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.javafx.font.FontStrike
invokeinterface com.sun.javafx.font.FontStrike.clearDesc:()V
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 4: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.sun.prism.impl.BaseContext java.util.Map top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.prism.impl.GlyphCache
astore 2
start local 2 6: aload 2
ifnull 8
7: aload 2
invokevirtual com.sun.prism.impl.GlyphCache.clear:()V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 1
invokeinterface java.util.Map.clear:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/prism/impl/BaseContext;
0 11 1 glyphCaches Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;
1 4 2 iter Ljava/util/Iterator<Lcom/sun/javafx/font/FontStrike;>;
6 8 2 cache Lcom/sun/prism/impl/GlyphCache;
Signature: (Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;)V
MethodParameters:
Name Flags
glyphCaches
public abstract com.sun.prism.RTTexture getLCDBuffer();
descriptor: ()Lcom/sun/prism/RTTexture;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public com.sun.prism.impl.GlyphCache getGlyphCache(com.sun.javafx.font.FontStrike);
descriptor: (Lcom/sun/javafx/font/FontStrike;)Lcom/sun/prism/impl/GlyphCache;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.javafx.font.FontStrike.getAAMode:()I
iconst_1
if_icmpne 2
1: aload 0
getfield com.sun.prism.impl.BaseContext.lcdGlyphCaches:Ljava/util/Map;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield com.sun.prism.impl.BaseContext.greyGlyphCaches:Ljava/util/Map;
3: StackMap locals:
StackMap stack: java.util.Map
astore 2
start local 2 4: aload 0
aload 1
aload 2
invokevirtual com.sun.prism.impl.BaseContext.getGlyphCache:(Lcom/sun/javafx/font/FontStrike;Ljava/util/Map;)Lcom/sun/prism/impl/GlyphCache;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/impl/BaseContext;
0 5 1 strike Lcom/sun/javafx/font/FontStrike;
4 5 2 glyphCaches Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;
MethodParameters:
Name Flags
strike
public boolean isSuperShaderEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/BaseContext;
private com.sun.prism.impl.GlyphCache getGlyphCache(com.sun.javafx.font.FontStrike, java.util.Map<com.sun.javafx.font.FontStrike, com.sun.prism.impl.GlyphCache>);
descriptor: (Lcom/sun/javafx/font/FontStrike;Ljava/util/Map;)Lcom/sun/prism/impl/GlyphCache;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.prism.impl.GlyphCache
astore 3
start local 3 1: aload 3
ifnonnull 4
2: new com.sun.prism.impl.GlyphCache
dup
aload 0
aload 1
invokespecial com.sun.prism.impl.GlyphCache.<init>:(Lcom/sun/prism/impl/BaseContext;Lcom/sun/javafx/font/FontStrike;)V
astore 3
3: aload 2
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: com.sun.prism.impl.GlyphCache
StackMap stack:
aload 3
areturn
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/BaseContext;
0 5 1 strike Lcom/sun/javafx/font/FontStrike;
0 5 2 glyphCaches Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;
1 5 3 glyphCache Lcom/sun/prism/impl/GlyphCache;
Signature: (Lcom/sun/javafx/font/FontStrike;Ljava/util/Map<Lcom/sun/javafx/font/FontStrike;Lcom/sun/prism/impl/GlyphCache;>;)Lcom/sun/prism/impl/GlyphCache;
MethodParameters:
Name Flags
strike
glyphCaches
public com.sun.prism.Texture validateMaskTexture(com.sun.prism.impl.shape.MaskData, boolean);
descriptor: (Lcom/sun/prism/impl/shape/MaskData;Z)Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 1
invokevirtual com.sun.prism.impl.shape.MaskData.getWidth:()I
iload 3
iadd
iload 3
iadd
istore 4
start local 4 4: aload 1
invokevirtual com.sun.prism.impl.shape.MaskData.getHeight:()I
iload 3
iadd
iload 3
iadd
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: iconst_0
istore 7
start local 7 7: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
ifnull 14
8: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
9: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.isSurfaceLost:()Z
ifeq 12
10: aload 0
aconst_null
putfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
11: goto 14
12: StackMap locals: com.sun.prism.impl.BaseContext com.sun.prism.impl.shape.MaskData int int int int int int
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentWidth:()I
istore 6
13: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentHeight:()I
istore 7
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
ifnull 15
iload 6
iload 4
if_icmplt 15
iload 7
iload 5
if_icmpge 30
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
ifnull 19
16: aload 0
invokevirtual com.sun.prism.impl.BaseContext.flushVertexBuffer:()V
17: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.dispose:()V
18: aload 0
aconst_null
putfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
19: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
20: sipush 1024
iload 4
iload 6
invokestatic java.lang.Math.max:(II)I
invokestatic java.lang.Math.max:(II)I
istore 8
start local 8 21: sipush 1024
iload 5
iload 7
invokestatic java.lang.Math.max:(II)I
invokestatic java.lang.Math.max:(II)I
istore 9
start local 9 22: aload 0
aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
23: iload 8
iload 9
getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createMaskTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
24: putfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
25: aload 0
iload 8
iload 9
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
26: aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
ifnull 27
aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 8
if_icmpge 29
27: StackMap locals: int int
StackMap stack:
aload 0
aconst_null
putfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
28: aload 0
iload 8
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
29: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
aload 0
iconst_0
dup_x1
putfield com.sun.prism.impl.BaseContext.highMaskCol:I
dup_x1
putfield com.sun.prism.impl.BaseContext.nextMaskRow:I
dup_x1
putfield com.sun.prism.impl.BaseContext.curMaskCol:I
putfield com.sun.prism.impl.BaseContext.curMaskRow:I
end local 9 end local 8 30: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
areturn
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 31 0 this Lcom/sun/prism/impl/BaseContext;
0 31 1 maskData Lcom/sun/prism/impl/shape/MaskData;
0 31 2 canScale Z
3 31 3 pad I
4 31 4 needW I
5 31 5 needH I
6 31 6 texW I
7 31 7 texH I
21 30 8 newTexW I
22 30 9 newTexH I
MethodParameters:
Name Flags
maskData
canScale
public void updateMaskTexture(com.sun.prism.impl.shape.MaskData, com.sun.javafx.geom.RectBounds, boolean);
descriptor: (Lcom/sun/prism/impl/shape/MaskData;Lcom/sun/javafx/geom/RectBounds;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.assertLocked:()V
1: aload 1
invokevirtual com.sun.prism.impl.shape.MaskData.getWidth:()I
istore 4
start local 4 2: aload 1
invokevirtual com.sun.prism.impl.shape.MaskData.getHeight:()I
istore 5
start local 5 3: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentWidth:()I
istore 6
start local 6 4: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentHeight:()I
istore 7
start local 7 5: iload 3
ifeq 6
iconst_1
goto 7
StackMap locals: com.sun.prism.impl.BaseContext com.sun.prism.impl.shape.MaskData com.sun.javafx.geom.RectBounds int int int int int
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 8
start local 8 8: iload 4
iload 8
iadd
iload 8
iadd
istore 9
start local 9 9: iload 5
iload 8
iadd
iload 8
iadd
istore 10
start local 10 10: aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
iload 9
iadd
iload 6
if_icmple 13
11: aload 0
iconst_0
putfield com.sun.prism.impl.BaseContext.curMaskCol:I
12: aload 0
aload 0
getfield com.sun.prism.impl.BaseContext.nextMaskRow:I
putfield com.sun.prism.impl.BaseContext.curMaskRow:I
13: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 10
iadd
iload 7
if_icmple 15
14: aload 0
invokevirtual com.sun.prism.impl.BaseContext.flushVertexBuffer:()V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 6
imul
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
iadd
istore 11
start local 11 16: invokestatic com.sun.javafx.image.impl.ByteGray.ToByteGrayConverter:()Lcom/sun/javafx/image/ByteToBytePixelConverter;
astore 12
start local 12 17: iload 3
ifeq 27
18: iload 11
istore 13
start local 13 19: aload 12
aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
iconst_0
iconst_0
aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
iload 13
iload 6
iload 4
iconst_1
iadd
iconst_1
invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
20: iload 11
iload 4
iadd
iconst_1
iadd
istore 13
21: aload 12
aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
iconst_0
iconst_0
aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
iload 13
iload 6
iconst_1
iload 5
iconst_1
iadd
invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
22: iload 11
iload 6
iadd
istore 13
23: aload 12
aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
iconst_0
iconst_0
aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
iload 13
iload 6
iconst_1
iload 5
iconst_1
iadd
invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
24: iload 11
iload 5
iconst_1
iadd
iload 6
imul
iadd
iconst_1
iadd
istore 13
25: aload 12
aload 0
getfield com.sun.prism.impl.BaseContext.clearBuffer:Ljava/nio/ByteBuffer;
iconst_0
iconst_0
aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
iload 13
iload 6
iload 4
iconst_1
iadd
iconst_1
invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
26: iload 11
iload 6
iconst_1
iadd
iadd
istore 11
end local 13 27: StackMap locals: int com.sun.javafx.image.ByteToBytePixelConverter
StackMap stack:
aload 12
aload 1
invokevirtual com.sun.prism.impl.shape.MaskData.getMaskBuffer:()Ljava/nio/ByteBuffer;
iconst_0
iload 4
28: aload 0
getfield com.sun.prism.impl.BaseContext.maskBuffer:Ljava/nio/ByteBuffer;
iload 11
iload 6
29: iload 4
iload 5
30: invokeinterface com.sun.javafx.image.ByteToBytePixelConverter.convert:(Ljava/nio/Buffer;IILjava/nio/Buffer;IIII)V
31: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getPhysicalWidth:()I
i2f
fstore 13
start local 13 32: aload 0
getfield com.sun.prism.impl.BaseContext.maskTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getPhysicalHeight:()I
i2f
fstore 14
start local 14 33: aload 2
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
iload 8
iadd
i2f
fload 13
fdiv
invokevirtual com.sun.javafx.geom.RectBounds.setMinX:(F)V
34: aload 2
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 8
iadd
i2f
fload 14
fdiv
invokevirtual com.sun.javafx.geom.RectBounds.setMinY:(F)V
35: aload 2
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
iload 8
iadd
iload 4
iadd
i2f
fload 13
fdiv
invokevirtual com.sun.javafx.geom.RectBounds.setMaxX:(F)V
36: aload 2
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 8
iadd
iload 5
iadd
i2f
fload 14
fdiv
invokevirtual com.sun.javafx.geom.RectBounds.setMaxY:(F)V
37: aload 0
dup
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
iload 9
iadd
putfield com.sun.prism.impl.BaseContext.curMaskCol:I
38: aload 0
getfield com.sun.prism.impl.BaseContext.highMaskCol:I
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
if_icmpge 39
aload 0
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskCol:I
putfield com.sun.prism.impl.BaseContext.highMaskCol:I
39: StackMap locals: float float
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.nextMaskRow:I
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 10
iadd
if_icmpge 40
aload 0
aload 0
getfield com.sun.prism.impl.BaseContext.curMaskRow:I
iload 10
iadd
putfield com.sun.prism.impl.BaseContext.nextMaskRow:I
40: StackMap locals:
StackMap stack:
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 41 0 this Lcom/sun/prism/impl/BaseContext;
0 41 1 maskData Lcom/sun/prism/impl/shape/MaskData;
0 41 2 maskBounds Lcom/sun/javafx/geom/RectBounds;
0 41 3 canScale Z
2 41 4 maskW I
3 41 5 maskH I
4 41 6 texW I
5 41 7 texH I
8 41 8 pad I
9 41 9 needW I
10 41 10 needH I
16 41 11 offset I
17 41 12 b2bpc Lcom/sun/javafx/image/ByteToBytePixelConverter;
19 27 13 off I
32 41 13 physW F
33 41 14 physH F
MethodParameters:
Name Flags
maskData
maskBounds
canScale
public int getRectTextureMaxSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.rectTex:Lcom/sun/prism/Texture;
ifnonnull 2
1: aload 0
invokevirtual com.sun.prism.impl.BaseContext.createRectTexture:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.rectTexMax:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/impl/BaseContext;
public com.sun.prism.Texture getRectTexture();
descriptor: ()Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.rectTex:Lcom/sun/prism/Texture;
ifnonnull 2
1: aload 0
invokevirtual com.sun.prism.impl.BaseContext.createRectTexture:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.rectTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
3: aload 0
getfield com.sun.prism.impl.BaseContext.rectTex:Lcom/sun/prism/Texture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/impl/BaseContext;
private void createRectTexture();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=12, args_size=1
start local 0 0: getstatic com.sun.prism.impl.PrismSettings.primTextureSize:I
istore 1
start local 1 1: iload 1
ifge 2
aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
invokeinterface com.sun.prism.ResourceFactory.getMaximumTextureSize:()I
istore 1
2: StackMap locals: int
StackMap stack:
iconst_3
istore 2
start local 2 3: iconst_2
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 0
iload 3
putfield com.sun.prism.impl.BaseContext.rectTexMax:I
6: iload 2
iinc 3 1
iload 3
iadd
istore 2
7: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iadd
iload 1
if_icmple 5
8: iload 2
iload 2
imul
newarray 8
astore 4
start local 4 9: iconst_1
istore 5
start local 5 10: iconst_1
istore 6
start local 6 11: goto 31
12: StackMap locals: byte[] int int
StackMap stack:
iconst_1
istore 7
start local 7 13: iconst_1
istore 8
start local 8 14: goto 28
15: StackMap locals: int int
StackMap stack:
iload 5
iload 2
imul
iload 7
iadd
istore 9
start local 9 16: iconst_0
istore 10
start local 10 17: goto 25
18: StackMap locals: int int
StackMap stack:
iconst_0
istore 11
start local 11 19: goto 22
20: StackMap locals: int
StackMap stack:
aload 4
iload 9
iload 11
iadd
iconst_m1
bastore
21: iinc 11 1
StackMap locals:
StackMap stack:
22: iload 11
iload 8
if_icmplt 20
end local 11 23: iload 9
iload 2
iadd
istore 9
24: iinc 10 1
StackMap locals:
StackMap stack:
25: iload 10
iload 6
if_icmplt 18
end local 10 26: iload 7
iload 8
iconst_1
iadd
iadd
istore 7
end local 9 27: iinc 8 1
StackMap locals:
StackMap stack:
28: iload 8
aload 0
getfield com.sun.prism.impl.BaseContext.rectTexMax:I
if_icmple 15
end local 8 29: iload 5
iload 6
iconst_1
iadd
iadd
istore 5
end local 7 30: iinc 6 1
StackMap locals:
StackMap stack:
31: iload 6
aload 0
getfield com.sun.prism.impl.BaseContext.rectTexMax:I
if_icmple 12
end local 6 32: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 34
33: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "max rectangle texture cell size = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.prism.impl.BaseContext.rectTexMax:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
iload 2
iload 2
35: getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
36: invokeinterface com.sun.prism.ResourceFactory.createMaskTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
37: astore 6
start local 6 38: aload 6
invokeinterface com.sun.prism.Texture.contentsUseful:()V
39: aload 6
invokeinterface com.sun.prism.Texture.makePermanent:()V
40: aload 6
invokeinterface com.sun.prism.Texture.getPixelFormat:()Lcom/sun/prism/PixelFormat;
astore 7
start local 7 41: iload 2
aload 7
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
imul
istore 8
start local 8 42: aload 6
aload 4
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
aload 7
43: iconst_0
iconst_0
iconst_0
iconst_0
iload 2
iload 2
44: iload 8
iconst_0
45: invokeinterface com.sun.prism.Texture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
46: aload 0
aload 6
putfield com.sun.prism.impl.BaseContext.rectTex:Lcom/sun/prism/Texture;
47: return
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 48 0 this Lcom/sun/prism/impl/BaseContext;
1 48 1 texMax I
3 48 2 texDim I
4 48 3 nextCellSize I
9 48 4 mask [B
10 48 5 cellY I
11 32 6 cellH I
13 30 7 cellX I
14 29 8 cellW I
16 27 9 index I
17 26 10 y I
19 23 11 x I
38 48 6 tex Lcom/sun/prism/Texture;
41 48 7 pf Lcom/sun/prism/PixelFormat;
42 48 8 scan I
public com.sun.prism.Texture getWrapRectTexture();
descriptor: ()Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=8, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.wrapRectTex:Lcom/sun/prism/Texture;
ifnonnull 28
1: aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
iconst_2
iconst_2
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
invokeinterface com.sun.prism.ResourceFactory.createMaskTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
2: astore 1
start local 1 3: aload 1
invokeinterface com.sun.prism.Texture.contentsUseful:()V
4: aload 1
invokeinterface com.sun.prism.Texture.makePermanent:()V
5: aload 1
invokeinterface com.sun.prism.Texture.getPhysicalWidth:()I
istore 2
start local 2 6: aload 1
invokeinterface com.sun.prism.Texture.getPhysicalHeight:()I
istore 3
start local 3 7: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 9
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "wrap rectangle texture = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " x "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals: com.sun.prism.Texture int int
StackMap stack:
iload 2
iload 3
imul
newarray 8
astore 4
start local 4 10: iload 2
istore 5
start local 5 11: iconst_1
istore 6
start local 6 12: goto 20
13: StackMap locals: byte[] int int
StackMap stack:
iconst_1
istore 7
start local 7 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 4
iload 5
iload 7
iadd
iconst_m1
bastore
16: iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 3
if_icmplt 15
end local 7 18: iload 5
iload 2
iadd
istore 5
19: iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
iload 3
if_icmplt 13
end local 6 21: aload 1
invokeinterface com.sun.prism.Texture.getPixelFormat:()Lcom/sun/prism/PixelFormat;
astore 6
start local 6 22: iload 2
aload 6
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
imul
istore 7
start local 7 23: aload 1
aload 4
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
aload 6
24: iconst_0
iconst_0
iconst_0
iconst_0
iload 2
iload 3
25: iload 7
iconst_0
26: invokeinterface com.sun.prism.Texture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
27: aload 0
aload 1
putfield com.sun.prism.impl.BaseContext.wrapRectTex:Lcom/sun/prism/Texture;
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 28: StackMap locals: com.sun.prism.impl.BaseContext
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.wrapRectTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
29: aload 0
getfield com.sun.prism.impl.BaseContext.wrapRectTex:Lcom/sun/prism/Texture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/prism/impl/BaseContext;
3 28 1 tex Lcom/sun/prism/Texture;
6 28 2 w I
7 28 3 h I
10 28 4 mask [B
11 28 5 off I
12 21 6 y I
14 18 7 x I
22 28 6 pf Lcom/sun/prism/PixelFormat;
23 28 7 scan I
public com.sun.prism.Texture getOvalTexture();
descriptor: ()Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=16, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.impl.BaseContext.ovalTex:Lcom/sun/prism/Texture;
ifnonnull 69
1: aload 0
invokevirtual com.sun.prism.impl.BaseContext.getRectTextureMaxSize:()I
istore 1
start local 1 2: iload 1
iload 1
iconst_1
iadd
imul
iconst_2
idiv
istore 2
start local 2 3: iload 2
iload 1
iconst_1
iadd
iadd
istore 2
4: iload 2
iload 2
imul
newarray 8
astore 3
start local 3 5: iconst_1
istore 4
start local 4 6: iconst_1
istore 5
start local 5 7: goto 55
8: StackMap locals: com.sun.prism.impl.BaseContext int int byte[] int int
StackMap stack:
iconst_1
istore 6
start local 6 9: iconst_1
istore 7
start local 7 10: goto 52
11: StackMap locals: int int
StackMap stack:
iload 4
iload 2
imul
iload 6
iadd
istore 8
start local 8 12: iconst_0
istore 9
start local 9 13: goto 49
14: StackMap locals: int int
StackMap stack:
iload 9
iconst_2
imul
iload 5
if_icmplt 23
15: iload 5
iconst_1
isub
iload 9
isub
istore 10
start local 10 16: iload 8
iload 10
iload 9
isub
iload 2
imul
iadd
istore 11
start local 11 17: iconst_0
istore 12
start local 12 18: goto 21
19: StackMap locals: int int int
StackMap stack:
aload 3
iload 8
iload 12
iadd
aload 3
iload 11
iload 12
iadd
baload
bastore
20: iinc 12 1
StackMap locals:
StackMap stack:
21: iload 12
iload 7
if_icmplt 19
end local 12 end local 11 end local 10 22: goto 47
23: StackMap locals:
StackMap stack:
iload 9
i2f
ldc 0.0625
fadd
fstore 10
start local 10 24: iconst_0
istore 11
start local 11 25: goto 35
26: StackMap locals: float int
StackMap stack:
fload 10
iload 5
i2f
fdiv
ldc 0.5
fsub
fstore 12
start local 12 27: ldc 0.25
fload 12
fload 12
fmul
fsub
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
fstore 12
28: iload 7
i2f
ldc 4.0
fmul
fconst_1
fload 12
fconst_2
fmul
fsub
fmul
invokestatic java.lang.Math.round:(F)I
istore 13
start local 13 29: iload 13
iconst_3
ishr
istore 14
start local 14 30: iload 13
bipush 7
iand
istore 15
start local 15 31: aload 3
iload 8
iload 14
iadd
dup2
baload
bipush 8
iload 15
isub
iadd
i2b
bastore
32: aload 3
iload 8
iload 14
iadd
iconst_1
iadd
dup2
baload
iload 15
iadd
i2b
bastore
33: fload 10
ldc 0.125
fadd
fstore 10
end local 15 end local 14 end local 13 end local 12 34: iinc 11 1
StackMap locals:
StackMap stack:
35: iload 11
bipush 8
if_icmplt 26
end local 11 36: iconst_0
istore 11
start local 11 37: iconst_0
istore 12
start local 12 38: goto 45
39: StackMap locals: int
StackMap stack:
iload 12
iconst_2
imul
iload 7
if_icmplt 42
40: aload 3
iload 8
iload 12
iadd
aload 3
iload 8
iload 7
iadd
iconst_1
isub
iload 12
isub
baload
bastore
41: goto 44
42: StackMap locals:
StackMap stack:
iload 11
aload 3
iload 8
iload 12
iadd
baload
iadd
istore 11
43: aload 3
iload 8
iload 12
iadd
iload 11
sipush 255
imul
bipush 32
iadd
bipush 64
idiv
i2b
bastore
44: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
45: iload 12
iload 7
if_icmplt 39
end local 12 46: aload 3
iload 8
iload 7
iadd
iconst_0
bastore
end local 11 end local 10 47: StackMap locals:
StackMap stack:
iload 8
iload 2
iadd
istore 8
48: iinc 9 1
StackMap locals:
StackMap stack:
49: iload 9
iload 5
if_icmplt 14
end local 9 50: iload 6
iload 7
iconst_1
iadd
iadd
istore 6
end local 8 51: iinc 7 1
StackMap locals:
StackMap stack:
52: iload 7
iload 1
if_icmple 11
end local 7 53: iload 4
iload 5
iconst_1
iadd
iadd
istore 4
end local 6 54: iinc 5 1
StackMap locals:
StackMap stack:
55: iload 5
iload 1
if_icmple 8
end local 5 56: aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
iload 2
iload 2
57: getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
58: invokeinterface com.sun.prism.ResourceFactory.createMaskTexture:(IILcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
59: astore 5
start local 5 60: aload 5
invokeinterface com.sun.prism.Texture.contentsUseful:()V
61: aload 5
invokeinterface com.sun.prism.Texture.makePermanent:()V
62: aload 5
invokeinterface com.sun.prism.Texture.getPixelFormat:()Lcom/sun/prism/PixelFormat;
astore 6
start local 6 63: iload 2
aload 6
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
imul
istore 7
start local 7 64: aload 5
aload 3
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
aload 6
65: iconst_0
iconst_0
iconst_0
iconst_0
iload 2
iload 2
66: iload 7
iconst_0
67: invokeinterface com.sun.prism.Texture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
68: aload 0
aload 5
putfield com.sun.prism.impl.BaseContext.ovalTex:Lcom/sun/prism/Texture;
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 69: StackMap locals: com.sun.prism.impl.BaseContext
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.ovalTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
70: aload 0
getfield com.sun.prism.impl.BaseContext.ovalTex:Lcom/sun/prism/Texture;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lcom/sun/prism/impl/BaseContext;
2 69 1 cellMax I
3 69 2 texDim I
5 69 3 mask [B
6 69 4 cellY I
7 56 5 cellH I
9 54 6 cellX I
10 53 7 cellW I
12 51 8 index I
13 50 9 y I
16 22 10 reflecty I
17 22 11 rindex I
18 22 12 x I
24 47 10 ovalY F
25 36 11 i I
27 34 12 ovalX F
29 34 13 oxi I
30 34 14 edgeX I
31 34 15 subX I
37 47 11 accum I
38 46 12 x I
60 69 5 tex Lcom/sun/prism/Texture;
63 69 6 pf Lcom/sun/prism/PixelFormat;
64 69 7 scan I
public com.sun.prism.Texture getGradientTexture(com.sun.prism.paint.Gradient, com.sun.javafx.geom.transform.BaseTransform, int, int, com.sun.prism.impl.shape.MaskData, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/Gradient;Lcom/sun/javafx/geom/transform/BaseTransform;IILcom/sun/prism/impl/shape/MaskData;FFFF)Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=18, args_size=10
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 start local 9 0: iload 3
iload 4
imul
istore 10
start local 10 1: iload 10
iconst_4
imul
istore 11
start local 11 2: aload 0
getfield com.sun.prism.impl.BaseContext.paintBuffer:Ljava/nio/ByteBuffer;
ifnull 3
aload 0
getfield com.sun.prism.impl.BaseContext.paintBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 11
if_icmpge 5
3: StackMap locals: int int
StackMap stack:
aload 0
iload 10
newarray 10
putfield com.sun.prism.impl.BaseContext.paintPixels:[I
4: aload 0
iload 11
newarray 8
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
putfield com.sun.prism.impl.BaseContext.paintBuffer:Ljava/nio/ByteBuffer;
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
ifnull 9
6: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.lock:()V
7: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.isSurfaceLost:()Z
ifeq 9
8: aload 0
aconst_null
putfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
ifnull 12
10: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentWidth:()I
iload 3
if_icmplt 12
11: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentHeight:()I
iload 4
if_icmpge 25
12: StackMap locals:
StackMap stack:
iload 3
istore 12
start local 12 13: iload 4
istore 13
start local 13 14: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
ifnull 18
15: iload 3
aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentWidth:()I
invokestatic java.lang.Math.max:(II)I
istore 12
16: iload 4
aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.getContentHeight:()I
invokestatic java.lang.Math.max:(II)I
istore 13
17: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
invokeinterface com.sun.prism.Texture.dispose:()V
18: StackMap locals: int int
StackMap stack:
aload 0
aload 0
invokevirtual com.sun.prism.impl.BaseContext.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
19: getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
20: getstatic com.sun.prism.Texture$Usage.DEFAULT:Lcom/sun/prism/Texture$Usage;
21: getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
22: iload 12
iload 13
23: 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;
24: putfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
end local 13 end local 12 25: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintPixels:[I
aload 1
aload 2
26: iconst_0
iconst_0
iload 3
iload 4
27: fload 6
fload 7
fload 8
fload 9
28: invokestatic com.sun.prism.impl.paint.PaintUtil.fillImageWithGradient:([ILcom/sun/prism/paint/Gradient;Lcom/sun/javafx/geom/transform/BaseTransform;IIIIFFFF)V
29: aload 0
getfield com.sun.prism.impl.BaseContext.paintBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
astore 12
start local 12 30: aload 5
ifnull 44
31: aload 5
invokevirtual com.sun.prism.impl.shape.MaskData.getMaskBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
astore 13
start local 13 32: iconst_0
istore 14
start local 14 33: iconst_0
istore 15
start local 15 34: goto 42
35: StackMap locals: com.sun.prism.impl.BaseContext com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int com.sun.prism.impl.shape.MaskData float float float float int int byte[] byte[] int int
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintPixels:[I
iload 15
iaload
istore 16
start local 16 36: aload 13
iload 15
baload
sipush 255
iand
istore 17
start local 17 37: aload 12
iload 14
iinc 14 1
iload 16
sipush 255
iand
iload 17
imul
sipush 255
idiv
i2b
bastore
38: aload 12
iload 14
iinc 14 1
iload 16
bipush 8
ishr
sipush 255
iand
iload 17
imul
sipush 255
idiv
i2b
bastore
39: aload 12
iload 14
iinc 14 1
iload 16
bipush 16
ishr
sipush 255
iand
iload 17
imul
sipush 255
idiv
i2b
bastore
40: aload 12
iload 14
iinc 14 1
iload 16
bipush 24
iushr
iload 17
imul
sipush 255
idiv
i2b
bastore
end local 17 end local 16 41: iinc 15 1
StackMap locals:
StackMap stack:
42: iload 15
iload 10
if_icmplt 35
end local 15 end local 14 end local 13 43: goto 54
44: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 45: iconst_0
istore 14
start local 14 46: goto 53
47: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintPixels:[I
iload 14
iaload
istore 15
start local 15 48: aload 12
iload 13
iinc 13 1
iload 15
sipush 255
iand
i2b
bastore
49: aload 12
iload 13
iinc 13 1
iload 15
bipush 8
ishr
sipush 255
iand
i2b
bastore
50: aload 12
iload 13
iinc 13 1
iload 15
bipush 16
ishr
sipush 255
iand
i2b
bastore
51: aload 12
iload 13
iinc 13 1
iload 15
bipush 24
iushr
i2b
bastore
end local 15 52: iinc 14 1
StackMap locals:
StackMap stack:
53: iload 14
iload 10
if_icmplt 47
end local 14 end local 13 54: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
aload 0
getfield com.sun.prism.impl.BaseContext.paintBuffer:Ljava/nio/ByteBuffer;
getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
55: iconst_0
iconst_0
iconst_0
iconst_0
iload 3
iload 4
iload 3
iconst_4
imul
iconst_0
56: invokeinterface com.sun.prism.Texture.update:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
57: aload 0
getfield com.sun.prism.impl.BaseContext.paintTex:Lcom/sun/prism/Texture;
areturn
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 58 0 this Lcom/sun/prism/impl/BaseContext;
0 58 1 grad Lcom/sun/prism/paint/Gradient;
0 58 2 xform Lcom/sun/javafx/geom/transform/BaseTransform;
0 58 3 paintW I
0 58 4 paintH I
0 58 5 maskData Lcom/sun/prism/impl/shape/MaskData;
0 58 6 bx F
0 58 7 by F
0 58 8 bw F
0 58 9 bh F
1 58 10 sizeInPixels I
2 58 11 sizeInBytes I
13 25 12 newTexW I
14 25 13 newTexH I
30 58 12 bytePixels [B
32 43 13 maskPixels [B
33 43 14 j I
34 43 15 i I
36 41 16 pixel I
37 41 17 maskA I
45 54 13 j I
46 54 14 i I
48 52 15 pixel I
MethodParameters:
Name Flags
grad
xform
paintW
paintH
maskData
bx
by
bw
bh
}
SourceFile: "BaseContext.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