public class sun.java2d.x11.X11VolatileSurfaceManager extends sun.awt.image.VolatileSurfaceManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.x11.X11VolatileSurfaceManager
super_class: sun.awt.image.VolatileSurfaceManager
{
private boolean accelerationEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.awt.image.SunVolatileImage, java.lang.Object);
descriptor: (Lsun/awt/image/SunVolatileImage;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.awt.image.VolatileSurfaceManager.<init>:(Lsun/awt/image/SunVolatileImage;Ljava/lang/Object;)V
1: aload 0
invokestatic sun.java2d.x11.X11SurfaceData.isAccelerationEnabled:()Z
ifeq 3
2: aload 1
invokevirtual sun.awt.image.SunVolatileImage.getTransparency:()I
iconst_1
if_icmpne 3
iconst_1
goto 4
StackMap locals: sun.java2d.x11.X11VolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object
StackMap stack: sun.java2d.x11.X11VolatileSurfaceManager
3: iconst_0
4: StackMap locals: sun.java2d.x11.X11VolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object
StackMap stack: sun.java2d.x11.X11VolatileSurfaceManager int
putfield sun.java2d.x11.X11VolatileSurfaceManager.accelerationEnabled:Z
5: aload 2
ifnull 11
aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.accelerationEnabled:Z
ifne 11
6: aload 0
iconst_1
putfield sun.java2d.x11.X11VolatileSurfaceManager.accelerationEnabled:Z
7: aload 0
aload 0
invokevirtual sun.java2d.x11.X11VolatileSurfaceManager.initAcceleratedSurface:()Lsun/java2d/SurfaceData;
putfield sun.java2d.x11.X11VolatileSurfaceManager.sdAccel:Lsun/java2d/SurfaceData;
8: aload 0
aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.sdAccel:Lsun/java2d/SurfaceData;
putfield sun.java2d.x11.X11VolatileSurfaceManager.sdCurrent:Lsun/java2d/SurfaceData;
9: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.sdBackup:Lsun/java2d/SurfaceData;
ifnull 11
10: aload 0
aconst_null
putfield sun.java2d.x11.X11VolatileSurfaceManager.sdBackup:Lsun/java2d/SurfaceData;
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/java2d/x11/X11VolatileSurfaceManager;
0 12 1 vImg Lsun/awt/image/SunVolatileImage;
0 12 2 context Ljava/lang/Object;
MethodParameters:
Name Flags
vImg
context
protected boolean isAccelerationEnabled();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.accelerationEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/x11/X11VolatileSurfaceManager;
protected sun.java2d.SurfaceData initAcceleratedSurface();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
checkcast sun.awt.X11GraphicsConfig
astore 2
start local 2 1: aload 2
invokevirtual sun.awt.X11GraphicsConfig.getColorModel:()Ljava/awt/image/ColorModel;
astore 3
start local 3 2: lconst_0
lstore 4
start local 4 3: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.context:Ljava/lang/Object;
instanceof java.lang.Long
ifeq 5
4: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.context:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 4
5: StackMap locals: sun.java2d.x11.X11VolatileSurfaceManager top sun.awt.X11GraphicsConfig java.awt.image.ColorModel long
StackMap stack:
aload 2
6: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getWidth:()I
7: aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getHeight:()I
8: aload 3
aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
lload 4
9: iconst_1
10: invokestatic sun.java2d.x11.X11SurfaceData.createData:(Lsun/awt/X11GraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;JI)Lsun/java2d/x11/X11SurfaceData$X11PixmapSurfaceData;
astore 1
end local 4 end local 3 end local 2 start local 1 11: goto 17
end local 1 StackMap locals: sun.java2d.x11.X11VolatileSurfaceManager
StackMap stack: java.lang.NullPointerException
12: pop
13: aconst_null
astore 1
start local 1 14: goto 17
end local 1 15: StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
pop
16: aconst_null
astore 1
start local 1 17: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/java2d/x11/X11VolatileSurfaceManager;
11 12 1 sData Lsun/java2d/SurfaceData;
14 15 1 sData Lsun/java2d/SurfaceData;
17 18 1 sData Lsun/java2d/SurfaceData;
1 11 2 gc Lsun/awt/X11GraphicsConfig;
2 11 3 cm Ljava/awt/image/ColorModel;
3 11 4 drawable J
Exception table:
from to target type
0 11 12 Class java.lang.NullPointerException
0 11 15 Class java.lang.OutOfMemoryError
protected boolean isConfigValid(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
aload 0
getfield sun.java2d.x11.X11VolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/x11/X11VolatileSurfaceManager;
0 2 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc
public java.awt.ImageCapabilities getCapabilities(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Ljava/awt/ImageCapabilities;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.java2d.x11.X11VolatileSurfaceManager.isConfigValid:(Ljava/awt/GraphicsConfiguration;)Z
ifeq 2
aload 0
invokevirtual sun.java2d.x11.X11VolatileSurfaceManager.isAccelerationEnabled:()Z
ifeq 2
1: new java.awt.ImageCapabilities
dup
iconst_1
invokespecial java.awt.ImageCapabilities.<init>:(Z)V
areturn
2: StackMap locals:
StackMap stack:
new java.awt.ImageCapabilities
dup
iconst_0
invokespecial java.awt.ImageCapabilities.<init>:(Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/x11/X11VolatileSurfaceManager;
0 3 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc
}
SourceFile: "X11VolatileSurfaceManager.java"
InnerClasses:
public X11PixmapSurfaceData = sun.java2d.x11.X11SurfaceData$X11PixmapSurfaceData of sun.java2d.x11.X11SurfaceData