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 final boolean accelerationEnabled;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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
aload 4
bipush 12
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ifeq 5
4: iload 3
iconst_2
if_icmpeq 5
iconst_1
goto 6
StackMap locals: sun.java2d.opengl.CGLVolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object int sun.java2d.opengl.CGLGraphicsConfig
StackMap stack: sun.java2d.opengl.CGLVolatileSurfaceManager
5: iconst_0
6: 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
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
0 8 1 vImg Lsun/awt/image/SunVolatileImage;
0 8 2 context Ljava/lang/Object;
2 8 3 transparency I
3 8 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=10, 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: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
astore 3
start local 3 3: aload 2
ifnull 4
aload 3
aload 2
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
goto 5
StackMap locals: sun.java2d.SurfaceData java.awt.Component sun.awt.AWTAccessor$ComponentAccessor
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.awt.peer.ComponentPeer
5: astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.context:Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 21
9: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.context:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 6
10: iload 6
ifeq 21
aload 4
instanceof sun.java2d.BackBufferCapsProvider
ifeq 21
11: aload 4
checkcast sun.java2d.BackBufferCapsProvider
12: astore 7
start local 7 13: aload 7
invokeinterface sun.java2d.BackBufferCapsProvider.getBackBufferCaps:()Ljava/awt/BufferCapabilities;
astore 8
start local 8 14: aload 8
instanceof sun.java2d.pipe.hw.ExtendedBufferCapabilities
ifeq 21
15: aload 8
checkcast sun.java2d.pipe.hw.ExtendedBufferCapabilities
16: astore 9
start local 9 17: aload 9
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 21
18: aload 9
invokevirtual sun.java2d.pipe.hw.ExtendedBufferCapabilities.getFlipContents:()Ljava/awt/BufferCapabilities$FlipContents;
getstatic java.awt.BufferCapabilities$FlipContents.COPIED:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 21
19: iconst_1
istore 5
20: iconst_0
istore 6
end local 9 end local 8 end local 7 21: StackMap locals: java.awt.peer.ComponentPeer int int
StackMap stack:
iload 6
ifne 39
22: 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
23: astore 7
start local 7 24: aload 7
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 8
start local 8 25: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getForcedAccelSurfaceType:()I
istore 9
start local 9 26: iload 9
ifne 28
27: iconst_5
istore 9
28: StackMap locals: sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int
StackMap stack:
iload 5
ifne 39
29: aload 7
30: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getWidth:()I
31: aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getHeight:()I
32: aload 8
aload 0
getfield sun.java2d.opengl.CGLVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
iload 9
33: 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 9 end local 8 end local 7 end local 6 end local 5 34: goto 39
StackMap locals: sun.java2d.opengl.CGLVolatileSurfaceManager sun.java2d.SurfaceData java.awt.Component sun.awt.AWTAccessor$ComponentAccessor java.awt.peer.ComponentPeer
StackMap stack: java.lang.NullPointerException
35: pop
36: aconst_null
astore 1
goto 39
37: StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
pop
38: aconst_null
astore 1
39: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lsun/java2d/opengl/CGLVolatileSurfaceManager;
1 40 1 sData Lsun/java2d/SurfaceData;
2 40 2 comp Ljava/awt/Component;
3 40 3 acc Lsun/awt/AWTAccessor$ComponentAccessor;
6 40 4 peer Ljava/awt/peer/ComponentPeer;
7 34 5 createVSynced Z
8 34 6 forceback Z
13 21 7 provider Lsun/java2d/BackBufferCapsProvider;
14 21 8 caps Ljava/awt/BufferCapabilities;
17 21 9 ebc Lsun/java2d/pipe/hw/ExtendedBufferCapabilities;
24 34 7 gc Lsun/java2d/opengl/CGLGraphicsConfig;
25 34 8 cm Ljava/awt/image/ColorModel;
26 34 9 type I
Exception table:
from to target type
6 34 35 Class java.lang.NullPointerException
6 34 37 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 abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
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