public class sun.java2d.opengl.WGLGraphicsConfig extends sun.awt.Win32GraphicsConfig implements sun.java2d.opengl.OGLGraphicsConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.opengl.WGLGraphicsConfig
super_class: sun.awt.Win32GraphicsConfig
{
protected static boolean wglAvailable;
descriptor: Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static java.awt.ImageCapabilities imageCaps;
descriptor: Ljava/awt/ImageCapabilities;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.awt.BufferCapabilities bufferCaps;
descriptor: Ljava/awt/BufferCapabilities;
flags: (0x0002) ACC_PRIVATE
private long pConfigInfo;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private sun.java2d.pipe.hw.ContextCapabilities oglCaps;
descriptor: Lsun/java2d/pipe/hw/ContextCapabilities;
flags: (0x0002) ACC_PRIVATE
private sun.java2d.opengl.OGLContext context;
descriptor: Lsun/java2d/opengl/OGLContext;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object disposerReferent;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.java2d.opengl.WGLGraphicsConfig$WGLImageCaps
dup
invokespecial sun.java2d.opengl.WGLGraphicsConfig$WGLImageCaps.<init>:()V
putstatic sun.java2d.opengl.WGLGraphicsConfig.imageCaps:Ljava/awt/ImageCapabilities;
1: invokestatic sun.java2d.opengl.WGLGraphicsConfig.initWGL:()Z
putstatic sun.java2d.opengl.WGLGraphicsConfig.wglAvailable:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
public static native int getDefaultPixFmt(int);
descriptor: (I)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screennum
private static native boolean initWGL();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long getWGLConfigInfo(int, int);
descriptor: (II)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
screennum
visualnum
private static native int getOGLCapabilities(long);
descriptor: (J)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
configInfo
protected void <init>(sun.awt.Win32GraphicsDevice, int, long, sun.java2d.pipe.hw.ContextCapabilities);
descriptor: (Lsun/awt/Win32GraphicsDevice;IJLsun/java2d/pipe/hw/ContextCapabilities;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
iload 2
invokespecial sun.awt.Win32GraphicsConfig.<init>:(Ljava/awt/GraphicsDevice;I)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.java2d.opengl.WGLGraphicsConfig.disposerReferent:Ljava/lang/Object;
2: aload 0
lload 3
putfield sun.java2d.opengl.WGLGraphicsConfig.pConfigInfo:J
3: aload 0
aload 5
putfield sun.java2d.opengl.WGLGraphicsConfig.oglCaps:Lsun/java2d/pipe/hw/ContextCapabilities;
4: aload 0
new sun.java2d.opengl.OGLContext
dup
invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
aload 0
invokespecial sun.java2d.opengl.OGLContext.<init>:(Lsun/java2d/pipe/RenderQueue;Lsun/java2d/opengl/OGLGraphicsConfig;)V
putfield sun.java2d.opengl.WGLGraphicsConfig.context:Lsun/java2d/opengl/OGLContext;
5: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.disposerReferent:Ljava/lang/Object;
6: new sun.java2d.opengl.WGLGraphicsConfig$WGLGCDisposerRecord
dup
aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.pConfigInfo:J
7: aload 1
invokevirtual sun.awt.Win32GraphicsDevice.getScreen:()I
8: invokespecial sun.java2d.opengl.WGLGraphicsConfig$WGLGCDisposerRecord.<init>:(JI)V
9: invokestatic sun.java2d.Disposer.addRecord:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
10: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 11 1 device Lsun/awt/Win32GraphicsDevice;
0 11 2 visualnum I
0 11 3 configInfo J
0 11 5 oglCaps Lsun/java2d/pipe/hw/ContextCapabilities;
MethodParameters:
Name Flags
device
visualnum
configInfo
oglCaps
public java.lang.Object getProxyKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public sun.java2d.SurfaceData createManagedSurface(int, int, int);
descriptor: (III)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
1: aload 0
iload 3
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.getColorModel:(I)Ljava/awt/image/ColorModel;
2: aconst_null
3: iconst_3
4: invokestatic sun.java2d.opengl.WGLSurfaceData.createData:(Lsun/java2d/opengl/WGLGraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;I)Lsun/java2d/opengl/WGLSurfaceData$WGLOffScreenSurfaceData;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 5 1 w I
0 5 2 h I
0 5 3 transparency I
MethodParameters:
Name Flags
w
h
transparency
public static sun.java2d.opengl.WGLGraphicsConfig getConfig(sun.awt.Win32GraphicsDevice, int);
descriptor: (Lsun/awt/Win32GraphicsDevice;I)Lsun/java2d/opengl/WGLGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: getstatic sun.java2d.opengl.WGLGraphicsConfig.wglAvailable:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 3: iconst_1
anewarray java.lang.String
astore 4
start local 4 4: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 5
start local 5 5: aload 5
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
6: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
7: new sun.java2d.opengl.WGLGraphicsConfig$WGLGetConfigInfo
dup
aload 0
invokevirtual sun.awt.Win32GraphicsDevice.getScreen:()I
iload 1
invokespecial sun.java2d.opengl.WGLGraphicsConfig$WGLGetConfigInfo.<init>:(II)V
8: astore 6
start local 6 9: aload 5
aload 6
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushAndInvokeNow:(Ljava/lang/Runnable;)V
10: aload 6
invokevirtual sun.java2d.opengl.WGLGraphicsConfig$WGLGetConfigInfo.getConfigInfo:()J
lstore 2
11: lload 2
lconst_0
lcmp
ifeq 18
12: lload 2
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(J)V
13: aload 5
new sun.java2d.opengl.WGLGraphicsConfig$1
dup
aload 4
invokespecial sun.java2d.opengl.WGLGraphicsConfig$1.<init>:([Ljava/lang/String;)V
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushAndInvokeNow:(Ljava/lang/Runnable;)V
end local 6 14: goto 18
StackMap locals: sun.awt.Win32GraphicsDevice int long java.lang.String[] sun.java2d.opengl.OGLRenderQueue
StackMap stack: java.lang.Throwable
15: astore 7
16: aload 5
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
17: aload 7
athrow
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
19: lload 2
lconst_0
lcmp
ifne 21
20: aconst_null
areturn
21: StackMap locals:
StackMap stack:
lload 2
invokestatic sun.java2d.opengl.WGLGraphicsConfig.getOGLCapabilities:(J)I
istore 6
start local 6 22: new sun.java2d.opengl.OGLContext$OGLContextCaps
dup
iload 6
aload 4
iconst_0
aaload
invokespecial sun.java2d.opengl.OGLContext$OGLContextCaps.<init>:(ILjava/lang/String;)V
astore 7
start local 7 23: new sun.java2d.opengl.WGLGraphicsConfig
dup
aload 0
iload 1
lload 2
aload 7
invokespecial sun.java2d.opengl.WGLGraphicsConfig.<init>:(Lsun/awt/Win32GraphicsDevice;IJLsun/java2d/pipe/hw/ContextCapabilities;)V
areturn
end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 device Lsun/awt/Win32GraphicsDevice;
0 24 1 pixfmt I
3 24 2 cfginfo J
4 24 4 ids [Ljava/lang/String;
5 24 5 rq Lsun/java2d/opengl/OGLRenderQueue;
9 14 6 action Lsun/java2d/opengl/WGLGraphicsConfig$WGLGetConfigInfo;
22 24 6 oglCaps I
23 24 7 caps Lsun/java2d/pipe/hw/ContextCapabilities;
Exception table:
from to target type
6 15 15 any
MethodParameters:
Name Flags
device
pixfmt
public static boolean isWGLAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.java2d.opengl.WGLGraphicsConfig.wglAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public final boolean isCapPresent(int);
descriptor: (I)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.oglCaps:Lsun/java2d/pipe/hw/ContextCapabilities;
invokevirtual sun.java2d.pipe.hw.ContextCapabilities.getCaps:()I
iload 1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 2 1 cap I
MethodParameters:
Name Flags
cap
public final long getNativeConfigInfo();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.pConfigInfo:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public final sun.java2d.opengl.OGLContext getContext();
descriptor: ()Lsun/java2d/opengl/OGLContext;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.context:Lsun/java2d/opengl/OGLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public synchronized void displayChanged();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.Win32GraphicsConfig.displayChanged:()V
1: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 1
start local 1 2: aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
3: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
4: goto 8
StackMap locals: sun.java2d.opengl.WGLGraphicsConfig sun.java2d.opengl.OGLRenderQueue
StackMap stack: java.lang.Throwable
5: astore 2
6: aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
7: aload 2
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
2 10 1 rq Lsun/java2d/opengl/OGLRenderQueue;
Exception table:
from to target type
3 5 5 any
public java.awt.image.ColorModel getColorModel(int);
descriptor: (I)Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 8
}
1: StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
bipush 24
ldc 16711680
ldc 65280
sipush 255
invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
areturn
2: StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
bipush 25
ldc 16711680
ldc 65280
sipush 255
ldc 16777216
invokespecial java.awt.image.DirectColorModel.<init>:(IIIII)V
areturn
3: StackMap locals:
StackMap stack:
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
astore 2
start local 2 4: new java.awt.image.DirectColorModel
dup
aload 2
bipush 32
5: ldc 16711680
ldc 65280
sipush 255
ldc -16777216
6: iconst_1
iconst_3
7: invokespecial java.awt.image.DirectColorModel.<init>:(Ljava/awt/color/ColorSpace;IIIIIZI)V
areturn
end local 2 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 9 1 transparency I
4 8 2 cs Ljava/awt/color/ColorSpace;
MethodParameters:
Name Flags
transparency
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "WGLGraphicsConfig[dev="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.screen:Lsun/awt/Win32GraphicsDevice;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ",pixfmt="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.visual:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public sun.java2d.SurfaceData createSurfaceData(sun.awt.windows.WComponentPeer, int);
descriptor: (Lsun/awt/windows/WComponentPeer;I)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.java2d.opengl.WGLSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;)Lsun/java2d/opengl/WGLSurfaceData$WGLWindowSurfaceData;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 1
invokestatic sun.java2d.windows.GDIWindowSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;)Lsun/java2d/windows/GDIWindowSurfaceData;
astore 3
3: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 4 1 peer Lsun/awt/windows/WComponentPeer;
0 4 2 numBackBuffers I
1 4 3 sd Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
peer
numBackBuffers
public void assertOperationSupported(java.awt.Component, int, java.awt.BufferCapabilities);
descriptor: (Ljava/awt/Component;ILjava/awt/BufferCapabilities;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iconst_2
if_icmple 4
1: new java.awt.AWTException
dup
2: ldc "Only double or single buffering is supported"
3: invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.getBufferCapabilities:()Ljava/awt/BufferCapabilities;
astore 4
start local 4 5: aload 4
invokevirtual java.awt.BufferCapabilities.isPageFlipping:()Z
ifne 7
6: new java.awt.AWTException
dup
ldc "Page flipping is not supported"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.awt.BufferCapabilities
StackMap stack:
aload 3
invokevirtual java.awt.BufferCapabilities.getFlipContents:()Ljava/awt/BufferCapabilities$FlipContents;
getstatic java.awt.BufferCapabilities$FlipContents.PRIOR:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 9
8: new java.awt.AWTException
dup
ldc "FlipContents.PRIOR is not supported"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 10 1 target Ljava/awt/Component;
0 10 2 numBuffers I
0 10 3 caps Ljava/awt/BufferCapabilities;
5 10 4 configCaps Ljava/awt/BufferCapabilities;
Exceptions:
throws java.awt.AWTException
MethodParameters:
Name Flags
target
numBuffers
caps
public java.awt.image.VolatileImage createBackBuffer(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)Ljava/awt/image/VolatileImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.awt.windows.WComponentPeer.getTarget:()Ljava/lang/Object;
checkcast java.awt.Component
astore 2
start local 2 1: iconst_1
aload 2
invokevirtual java.awt.Component.getWidth:()I
invokestatic java.lang.Math.max:(II)I
istore 3
start local 3 2: iconst_1
aload 2
invokevirtual java.awt.Component.getHeight:()I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 3: new sun.awt.image.SunVolatileImage
dup
aload 2
4: iload 3
iload 4
5: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
6: invokespecial sun.awt.image.SunVolatileImage.<init>:(Ljava/awt/Component;IILjava/lang/Object;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 7 1 peer Lsun/awt/windows/WComponentPeer;
1 7 2 target Ljava/awt/Component;
2 7 3 w I
3 7 4 h I
MethodParameters:
Name Flags
peer
public void flip(sun.awt.windows.WComponentPeer, java.awt.Component, java.awt.image.VolatileImage, int, int, int, int, java.awt.BufferCapabilities$FlipContents);
descriptor: (Lsun/awt/windows/WComponentPeer;Ljava/awt/Component;Ljava/awt/image/VolatileImage;IIIILjava/awt/BufferCapabilities$FlipContents;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=15, args_size=9
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 0: aload 8
getstatic java.awt.BufferCapabilities$FlipContents.COPIED:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 28
1: aload 3
invokestatic sun.awt.image.SurfaceManager.getManager:(Ljava/awt/Image;)Lsun/awt/image/SurfaceManager;
astore 9
start local 9 2: aload 9
invokevirtual sun.awt.image.SurfaceManager.getPrimarySurfaceData:()Lsun/java2d/SurfaceData;
astore 10
start local 10 3: aload 10
instanceof sun.java2d.opengl.WGLSurfaceData$WGLVSyncOffScreenSurfaceData
ifeq 16
4: aload 10
checkcast sun.java2d.opengl.WGLSurfaceData$WGLVSyncOffScreenSurfaceData
5: astore 11
start local 11 6: aload 11
invokevirtual sun.java2d.opengl.WGLSurfaceData$WGLVSyncOffScreenSurfaceData.getFlipSurface:()Lsun/java2d/SurfaceData;
astore 12
start local 12 7: new sun.java2d.SunGraphics2D
dup
aload 12
getstatic java.awt.Color.black:Ljava/awt/Color;
getstatic java.awt.Color.white:Ljava/awt/Color;
aconst_null
invokespecial sun.java2d.SunGraphics2D.<init>:(Lsun/java2d/SurfaceData;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)V
8: astore 13
start local 13 9: aload 13
aload 3
iconst_0
iconst_0
aconst_null
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
10: goto 14
StackMap locals: sun.java2d.opengl.WGLGraphicsConfig sun.awt.windows.WComponentPeer java.awt.Component java.awt.image.VolatileImage int int int int java.awt.BufferCapabilities$FlipContents sun.awt.image.SurfaceManager sun.java2d.SurfaceData sun.java2d.opengl.WGLSurfaceData$WGLVSyncOffScreenSurfaceData sun.java2d.SurfaceData java.awt.Graphics2D
StackMap stack: java.lang.Throwable
11: astore 14
12: aload 13
invokevirtual java.awt.Graphics2D.dispose:()V
13: aload 14
athrow
14: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.awt.Graphics2D.dispose:()V
end local 13 end local 12 end local 11 15: goto 30
16: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.windows.WComponentPeer.getGraphics:()Ljava/awt/Graphics;
astore 11
start local 11 17: aload 11
aload 3
18: iload 4
iload 5
iload 6
iload 7
19: iload 4
iload 5
iload 6
iload 7
20: aconst_null
21: invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
22: goto 26
StackMap locals: sun.java2d.opengl.WGLGraphicsConfig sun.awt.windows.WComponentPeer java.awt.Component java.awt.image.VolatileImage int int int int java.awt.BufferCapabilities$FlipContents sun.awt.image.SurfaceManager sun.java2d.SurfaceData java.awt.Graphics
StackMap stack: java.lang.Throwable
23: astore 12
24: aload 11
invokevirtual java.awt.Graphics.dispose:()V
25: aload 12
athrow
26: StackMap locals:
StackMap stack:
aload 11
invokevirtual java.awt.Graphics.dispose:()V
27: return
end local 11 end local 10 end local 9 28: StackMap locals:
StackMap stack:
aload 8
getstatic java.awt.BufferCapabilities$FlipContents.PRIOR:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 30
29: return
30: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.awt.windows.WComponentPeer.getData:()J
invokestatic sun.java2d.opengl.OGLSurfaceData.swapBuffers:(J)V
31: aload 8
getstatic java.awt.BufferCapabilities$FlipContents.BACKGROUND:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 43
32: aload 3
invokevirtual java.awt.image.VolatileImage.getGraphics:()Ljava/awt/Graphics;
astore 9
start local 9 33: aload 9
aload 2
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
34: aload 9
iconst_0
iconst_0
35: aload 3
invokevirtual java.awt.image.VolatileImage.getWidth:()I
36: aload 3
invokevirtual java.awt.image.VolatileImage.getHeight:()I
37: invokevirtual java.awt.Graphics.fillRect:(IIII)V
38: goto 42
StackMap locals: sun.java2d.opengl.WGLGraphicsConfig sun.awt.windows.WComponentPeer java.awt.Component java.awt.image.VolatileImage int int int int java.awt.BufferCapabilities$FlipContents java.awt.Graphics
StackMap stack: java.lang.Throwable
39: astore 10
40: aload 9
invokevirtual java.awt.Graphics.dispose:()V
41: aload 10
athrow
42: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.awt.Graphics.dispose:()V
end local 9 43: StackMap locals:
StackMap stack:
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 44 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 44 1 peer Lsun/awt/windows/WComponentPeer;
0 44 2 target Ljava/awt/Component;
0 44 3 backBuffer Ljava/awt/image/VolatileImage;
0 44 4 x1 I
0 44 5 y1 I
0 44 6 x2 I
0 44 7 y2 I
0 44 8 flipAction Ljava/awt/BufferCapabilities$FlipContents;
2 28 9 vsm Lsun/awt/image/SurfaceManager;
3 28 10 sd Lsun/java2d/SurfaceData;
6 15 11 vsd Lsun/java2d/opengl/WGLSurfaceData$WGLVSyncOffScreenSurfaceData;
7 15 12 bbsd Lsun/java2d/SurfaceData;
9 15 13 bbg Ljava/awt/Graphics2D;
17 28 11 g Ljava/awt/Graphics;
33 43 9 g Ljava/awt/Graphics;
Exception table:
from to target type
9 11 11 any
17 23 23 any
33 39 39 any
MethodParameters:
Name Flags
peer
target
backBuffer
x1
y1
x2
y2
flipAction
public java.awt.BufferCapabilities getBufferCapabilities();
descriptor: ()Ljava/awt/BufferCapabilities;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
ifnonnull 3
1: aload 0
ldc 65536
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.isCapPresent:(I)Z
istore 1
start local 1 2: aload 0
new sun.java2d.opengl.WGLGraphicsConfig$WGLBufferCaps
dup
iload 1
invokespecial sun.java2d.opengl.WGLGraphicsConfig$WGLBufferCaps.<init>:(Z)V
putfield sun.java2d.opengl.WGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
2 3 1 dblBuf Z
public java.awt.ImageCapabilities getImageCapabilities();
descriptor: ()Ljava/awt/ImageCapabilities;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.java2d.opengl.WGLGraphicsConfig.imageCaps:Ljava/awt/ImageCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public java.awt.image.VolatileImage createCompatibleVolatileImage(int, int, int, int);
descriptor: (IIII)Ljava/awt/image/VolatileImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iconst_4
if_icmpeq 2
iload 4
iconst_1
if_icmpeq 2
iload 4
ifeq 2
1: iload 3
iconst_2
if_icmpne 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
iload 4
iconst_5
if_icmpne 6
4: aload 0
bipush 12
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.isCapPresent:(I)Z
ifne 12
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
iload 4
iconst_2
if_icmpne 12
7: iload 3
iconst_1
if_icmpne 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 5
start local 5 10: iload 5
ifne 12
aload 0
iconst_2
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.isCapPresent:(I)Z
ifne 12
11: aconst_null
areturn
end local 5 12: StackMap locals:
StackMap stack:
new sun.java2d.pipe.hw.AccelTypedVolatileImage
dup
aload 0
iload 1
iload 2
13: iload 3
iload 4
14: invokespecial sun.java2d.pipe.hw.AccelTypedVolatileImage.<init>:(Ljava/awt/GraphicsConfiguration;IIII)V
astore 5
start local 5 15: aload 5
invokevirtual sun.awt.image.SunVolatileImage.getDestSurface:()Lsun/java2d/Surface;
astore 6
start local 6 16: aload 6
instanceof sun.java2d.pipe.hw.AccelSurface
ifeq 18
17: aload 6
checkcast sun.java2d.pipe.hw.AccelSurface
invokeinterface sun.java2d.pipe.hw.AccelSurface.getType:()I
iload 4
if_icmpeq 20
18: StackMap locals: sun.awt.image.SunVolatileImage sun.java2d.Surface
StackMap stack:
aload 5
invokevirtual sun.awt.image.SunVolatileImage.flush:()V
19: aconst_null
astore 5
20: StackMap locals:
StackMap stack:
aload 5
areturn
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 21 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 21 1 width I
0 21 2 height I
0 21 3 transparency I
0 21 4 type I
10 12 5 isOpaque Z
15 21 5 vi Lsun/awt/image/SunVolatileImage;
16 21 6 sd Lsun/java2d/Surface;
MethodParameters:
Name Flags
width
height
transparency
type
public sun.java2d.pipe.hw.ContextCapabilities getContextCapabilities();
descriptor: ()Lsun/java2d/pipe/hw/ContextCapabilities;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.oglCaps:Lsun/java2d/pipe/hw/ContextCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
public void addDeviceEventListener(sun.java2d.pipe.hw.AccelDeviceEventListener);
descriptor: (Lsun/java2d/pipe/hw/AccelDeviceEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.java2d.opengl.WGLGraphicsConfig.screen:Lsun/awt/Win32GraphicsDevice;
invokevirtual sun.awt.Win32GraphicsDevice.getScreen:()I
invokestatic sun.java2d.pipe.hw.AccelDeviceEventNotifier.addListener:(Lsun/java2d/pipe/hw/AccelDeviceEventListener;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 2 1 l Lsun/java2d/pipe/hw/AccelDeviceEventListener;
MethodParameters:
Name Flags
l
public void removeDeviceEventListener(sun.java2d.pipe.hw.AccelDeviceEventListener);
descriptor: (Lsun/java2d/pipe/hw/AccelDeviceEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.java2d.pipe.hw.AccelDeviceEventNotifier.removeListener:(Lsun/java2d/pipe/hw/AccelDeviceEventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/opengl/WGLGraphicsConfig;
0 2 1 l Lsun/java2d/pipe/hw/AccelDeviceEventListener;
MethodParameters:
Name Flags
l
public sun.java2d.pipe.BufferedContext getContext();
descriptor: ()Lsun/java2d/pipe/BufferedContext;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.java2d.opengl.WGLGraphicsConfig.getContext:()Lsun/java2d/opengl/OGLContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "WGLGraphicsConfig.java"
NestMembers:
sun.java2d.opengl.WGLGraphicsConfig$1 sun.java2d.opengl.WGLGraphicsConfig$WGLBufferCaps sun.java2d.opengl.WGLGraphicsConfig$WGLGCDisposerRecord sun.java2d.opengl.WGLGraphicsConfig$WGLGCDisposerRecord$1 sun.java2d.opengl.WGLGraphicsConfig$WGLGetConfigInfo sun.java2d.opengl.WGLGraphicsConfig$WGLImageCaps
InnerClasses:
public final FlipContents = java.awt.BufferCapabilities$FlipContents of java.awt.BufferCapabilities
OGLContextCaps = sun.java2d.opengl.OGLContext$OGLContextCaps of sun.java2d.opengl.OGLContext
sun.java2d.opengl.WGLGraphicsConfig$1
private WGLBufferCaps = sun.java2d.opengl.WGLGraphicsConfig$WGLBufferCaps of sun.java2d.opengl.WGLGraphicsConfig
private WGLGCDisposerRecord = sun.java2d.opengl.WGLGraphicsConfig$WGLGCDisposerRecord of sun.java2d.opengl.WGLGraphicsConfig
private WGLGetConfigInfo = sun.java2d.opengl.WGLGraphicsConfig$WGLGetConfigInfo of sun.java2d.opengl.WGLGraphicsConfig
private WGLImageCaps = sun.java2d.opengl.WGLGraphicsConfig$WGLImageCaps of sun.java2d.opengl.WGLGraphicsConfig
public WGLOffScreenSurfaceData = sun.java2d.opengl.WGLSurfaceData$WGLOffScreenSurfaceData of sun.java2d.opengl.WGLSurfaceData
public WGLVSyncOffScreenSurfaceData = sun.java2d.opengl.WGLSurfaceData$WGLVSyncOffScreenSurfaceData of sun.java2d.opengl.WGLSurfaceData
public WGLWindowSurfaceData = sun.java2d.opengl.WGLSurfaceData$WGLWindowSurfaceData of sun.java2d.opengl.WGLSurfaceData