public class sun.java2d.opengl.CGLVolatileSurfaceManager extends sun.awt.image.VolatileSurfaceManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.opengl.CGLVolatileSurfaceManager
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=5, 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 1
invokevirtual sun.awt.image.SunVolatileImage.getTransparency:()I
istore 3
start local 3 2: aload 1
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.opengl.CGLGraphicsConfig
astore 4
start local 4 3: aload 0
4: iload 3
iconst_1
if_icmpeq 9
5: iload 3
iconst_3
if_icmpne 8
6: aload 4
bipush 12
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ifne 9
7: aload 4
iconst_2
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ifne 9
StackMap locals: sun.java2d.opengl.CGLVolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object int sun.java2d.opengl.CGLGraphicsConfig
StackMap stack: sun.java2d.opengl.CGLVolatileSurfaceManager
8: iconst_0
goto 10
StackMap locals:
StackMap stack: sun.java2d.opengl.CGLVolatileSurfaceManager
9: iconst_1
10: StackMap locals: sun.java2d.opengl.CGLVolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object int sun.java2d.opengl.CGLGraphicsConfig
StackMap stack: sun.java2d.opengl.CGLVolatileSurfaceManager int
putfield sun.java2d.opengl.CGLVolatileSurfaceManager.accelerationEnabled:Z
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
0 12 1 vImg Lsun/awt/image/SunVolatileImage;
0 12 2 context Ljava/lang/Object;
2 12 3 transparency I
3 12 4 gc Lsun/java2d/opengl/CGLGraphicsConfig;
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.opengl.CGLVolatileSurfaceManager.accelerationEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
protected sun.java2d.SurfaceData initAcceleratedSurface();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getComponent:()Ljava/awt/Component;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual java.awt.Component.getPeer:()Ljava/awt/peer/ComponentPeer;
goto 4
StackMap locals: sun.java2d.SurfaceData java.awt.Component
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.awt.peer.ComponentPeer
4: astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.context:Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 20
8: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.context:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
9: iload 5
ifeq 20
aload 3
instanceof sun.java2d.BackBufferCapsProvider
ifeq 20
10: aload 3
checkcast sun.java2d.BackBufferCapsProvider
11: astore 6
start local 6 12: aload 6
invokeinterface sun.java2d.BackBufferCapsProvider.getBackBufferCaps:()Ljava/awt/BufferCapabilities;
astore 7
start local 7 13: aload 7
instanceof sun.java2d.pipe.hw.ExtendedBufferCapabilities
ifeq 20
14: aload 7
checkcast sun.java2d.pipe.hw.ExtendedBufferCapabilities
15: astore 8
start local 8 16: aload 8
invokevirtual sun.java2d.pipe.hw.ExtendedBufferCapabilities.getVSync:()Lsun/java2d/pipe/hw/ExtendedBufferCapabilities$VSyncType;
getstatic sun.java2d.pipe.hw.ExtendedBufferCapabilities$VSyncType.VSYNC_ON:Lsun/java2d/pipe/hw/ExtendedBufferCapabilities$VSyncType;
if_acmpne 20
17: aload 8
invokevirtual sun.java2d.pipe.hw.ExtendedBufferCapabilities.getFlipContents:()Ljava/awt/BufferCapabilities$FlipContents;
getstatic java.awt.BufferCapabilities$FlipContents.COPIED:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 20
18: iconst_1
istore 4
19: iconst_0
istore 5
end local 8 end local 7 end local 6 20: StackMap locals: java.awt.peer.ComponentPeer int int
StackMap stack:
iload 5
ifne 41
21: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.opengl.CGLGraphicsConfig
22: astore 6
start local 6 23: aload 6
aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getTransparency:()I
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getColorModel:(I)Ljava/awt/image/ColorModel;
astore 7
start local 7 24: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getForcedAccelSurfaceType:()I
istore 8
start local 8 25: iload 8
ifne 30
26: aload 6
bipush 12
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ifeq 28
27: iconst_5
goto 29
StackMap locals: sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int
StackMap stack:
28: iconst_2
29: StackMap locals:
StackMap stack: int
istore 8
30: StackMap locals:
StackMap stack:
iload 4
ifne 41
31: aload 6
32: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getWidth:()I
33: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getHeight:()I
34: aload 7
aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
iload 8
35: invokestatic sun.java2d.opengl.CGLSurfaceData.createData:(Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;I)Lsun/java2d/opengl/CGLSurfaceData$CGLOffScreenSurfaceData;
astore 1
end local 8 end local 7 end local 6 end local 5 end local 4 36: goto 41
StackMap locals: sun.java2d.opengl.CGLVolatileSurfaceManager sun.java2d.SurfaceData java.awt.Component java.awt.peer.ComponentPeer
StackMap stack: java.lang.NullPointerException
37: pop
38: aconst_null
astore 1
goto 41
39: StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
pop
40: aconst_null
astore 1
41: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
1 42 1 sData Lsun/java2d/SurfaceData;
2 42 2 comp Ljava/awt/Component;
5 42 3 peer Ljava/awt/peer/ComponentPeer;
6 36 4 createVSynced Z
7 36 5 forceback Z
12 20 6 provider Lsun/java2d/BackBufferCapsProvider;
13 20 7 caps Ljava/awt/BufferCapabilities;
16 20 8 ebc Lsun/java2d/pipe/hw/ExtendedBufferCapabilities;
23 36 6 gc Lsun/java2d/opengl/CGLGraphicsConfig;
24 36 7 cm Ljava/awt/image/ColorModel;
25 36 8 type I
Exception table:
from to target type
5 36 37 Class java.lang.NullPointerException
5 36 39 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.opengl.CGLVolatileSurfaceManager.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/opengl/CGLVolatileSurfaceManager;
0 2 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc
public void initContents();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getForcedAccelSurfaceType:()I
iconst_3
if_icmpeq 2
1: aload 0
invokespecial sun.awt.image.VolatileSurfaceManager.initContents:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
}
SourceFile: "CGLVolatileSurfaceManager.java"
InnerClasses:
public final FlipContents = java.awt.BufferCapabilities$FlipContents of java.awt.BufferCapabilities
public CGLOffScreenSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData of sun.java2d.opengl.CGLSurfaceData
public final VSyncType = sun.java2d.pipe.hw.ExtendedBufferCapabilities$VSyncType of sun.java2d.pipe.hw.ExtendedBufferCapabilities