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