public final class sun.java2d.opengl.CGLGraphicsConfig extends sun.awt.CGraphicsConfig implements sun.java2d.opengl.OGLGraphicsConfig
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.java2d.opengl.CGLGraphicsConfig
super_class: sun.awt.CGraphicsConfig
{
private static final int kOpenGLSwapInterval;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static boolean cglAvailable;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.ImageCapabilities imageCaps;
descriptor: Ljava/awt/ImageCapabilities;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int pixfmt;
descriptor: I
flags: (0x0002) ACC_PRIVATE
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 final java.lang.Object disposerReferent;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxTextureSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.java2d.opengl.CGLGraphicsConfig$CGLImageCaps
dup
invokespecial sun.java2d.opengl.CGLGraphicsConfig$CGLImageCaps.<init>:()V
putstatic sun.java2d.opengl.CGLGraphicsConfig.imageCaps:Ljava/awt/ImageCapabilities;
1: invokestatic sun.java2d.opengl.CGLGraphicsConfig.initCGL:()Z
putstatic sun.java2d.opengl.CGLGraphicsConfig.cglAvailable:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
private static native boolean initCGL();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long getCGLConfigInfo(int, int, int);
descriptor: (III)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
displayID
visualnum
swapInterval
private static native int getOGLCapabilities(long);
descriptor: (J)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
configInfo
private static native int nativeGetMaxTextureSize();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private void <init>(sun.awt.CGraphicsDevice, int, long, int, sun.java2d.pipe.hw.ContextCapabilities);
descriptor: (Lsun/awt/CGraphicsDevice;IJILsun/java2d/pipe/hw/ContextCapabilities;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 0: aload 0
aload 1
invokespecial sun.awt.CGraphicsConfig.<init>:(Lsun/awt/CGraphicsDevice;)V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.java2d.opengl.CGLGraphicsConfig.disposerReferent:Ljava/lang/Object;
2: aload 0
iload 2
putfield sun.java2d.opengl.CGLGraphicsConfig.pixfmt:I
3: aload 0
lload 3
putfield sun.java2d.opengl.CGLGraphicsConfig.pConfigInfo:J
4: aload 0
aload 6
putfield sun.java2d.opengl.CGLGraphicsConfig.oglCaps:Lsun/java2d/pipe/hw/ContextCapabilities;
5: aload 0
iload 5
putfield sun.java2d.opengl.CGLGraphicsConfig.maxTextureSize:I
6: 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.CGLGraphicsConfig.context:Lsun/java2d/opengl/OGLContext;
7: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.disposerReferent:Ljava/lang/Object;
8: new sun.java2d.opengl.CGLGraphicsConfig$CGLGCDisposerRecord
dup
aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.pConfigInfo:J
invokespecial sun.java2d.opengl.CGLGraphicsConfig$CGLGCDisposerRecord.<init>:(J)V
9: invokestatic sun.java2d.Disposer.addRecord:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
10: return
end local 6 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/CGLGraphicsConfig;
0 11 1 device Lsun/awt/CGraphicsDevice;
0 11 2 pixfmt I
0 11 3 configInfo J
0 11 5 maxTextureSize I
0 11 6 oglCaps Lsun/java2d/pipe/hw/ContextCapabilities;
MethodParameters:
Name Flags
device
pixfmt
configInfo
maxTextureSize
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/CGLGraphicsConfig;
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.CGLGraphicsConfig.getColorModel:(I)Ljava/awt/image/ColorModel;
2: aconst_null
3: iconst_3
4: invokestatic sun.java2d.opengl.CGLSurfaceData.createData:(Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;I)Lsun/java2d/opengl/CGLSurfaceData$CGLOffScreenSurfaceData;
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/CGLGraphicsConfig;
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.CGLGraphicsConfig getConfig(sun.awt.CGraphicsDevice, int);
descriptor: (Lsun/awt/CGraphicsDevice;I)Lsun/java2d/opengl/CGLGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=2
start local 0 start local 1 0: getstatic sun.java2d.opengl.CGLGraphicsConfig.cglAvailable:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
lconst_0
lstore 2
start local 2 3: iconst_0
istore 4
start local 4 4: iconst_1
anewarray java.lang.String
astore 5
start local 5 5: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 6
start local 6 6: aload 6
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
7: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
8: aload 0
invokevirtual sun.awt.CGraphicsDevice.getCGDisplayID:()I
iload 1
9: iconst_0
10: invokestatic sun.java2d.opengl.CGLGraphicsConfig.getCGLConfigInfo:(III)J
lstore 2
11: lload 2
lconst_0
lcmp
ifeq 22
12: invokestatic sun.java2d.opengl.CGLGraphicsConfig.nativeGetMaxTextureSize:()I
istore 4
13: iload 4
sipush 16384
if_icmpgt 14
iload 4
iconst_2
idiv
goto 15
StackMap locals: sun.awt.CGraphicsDevice int long int java.lang.String[] sun.java2d.opengl.OGLRenderQueue
StackMap stack:
14: sipush 8192
StackMap locals:
StackMap stack: int
15: istore 4
16: lload 2
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(J)V
17: aload 6
aload 5
invokedynamic run([Ljava/lang/String;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/java2d/opengl/CGLGraphicsConfig.lambda$0([Ljava/lang/String;)V (6)
()V
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushAndInvokeNow:(Ljava/lang/Runnable;)V
18: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 7
20: aload 6
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
21: aload 7
athrow
22: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
23: lload 2
lconst_0
lcmp
ifne 25
24: aconst_null
areturn
25: StackMap locals:
StackMap stack:
lload 2
invokestatic sun.java2d.opengl.CGLGraphicsConfig.getOGLCapabilities:(J)I
istore 7
start local 7 26: new sun.java2d.opengl.OGLContext$OGLContextCaps
dup
iload 7
aload 5
iconst_0
aaload
invokespecial sun.java2d.opengl.OGLContext$OGLContextCaps.<init>:(ILjava/lang/String;)V
astore 8
start local 8 27: new sun.java2d.opengl.CGLGraphicsConfig
dup
aload 0
iload 1
lload 2
iload 4
aload 8
invokespecial sun.java2d.opengl.CGLGraphicsConfig.<init>:(Lsun/awt/CGraphicsDevice;IJILsun/java2d/pipe/hw/ContextCapabilities;)V
areturn
end local 8 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 28 0 device Lsun/awt/CGraphicsDevice;
0 28 1 pixfmt I
3 28 2 cfginfo J
4 28 4 textureSize I
5 28 5 ids [Ljava/lang/String;
6 28 6 rq Lsun/java2d/opengl/OGLRenderQueue;
26 28 7 oglCaps I
27 28 8 caps Lsun/java2d/pipe/hw/ContextCapabilities;
Exception table:
from to target type
7 19 19 any
MethodParameters:
Name Flags
device
pixfmt
public static boolean isCGLAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.java2d.opengl.CGLGraphicsConfig.cglAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isCapPresent(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.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/CGLGraphicsConfig;
0 2 1 cap I
MethodParameters:
Name Flags
cap
public long getNativeConfigInfo();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.pConfigInfo:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
public sun.java2d.opengl.OGLContext getContext();
descriptor: ()Lsun/java2d/opengl/OGLContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.context:Lsun/java2d/opengl/OGLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
public java.awt.image.BufferedImage createCompatibleImage(int, int);
descriptor: (II)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.awt.image.DirectColorModel
dup
bipush 24
ldc 16711680
ldc 65280
sipush 255
invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
astore 3
start local 3 1: aload 3
iload 1
iload 2
invokevirtual java.awt.image.ColorModel.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
astore 4
start local 4 2: new java.awt.image.BufferedImage
dup
aload 3
aload 4
aload 3
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
3: aconst_null
4: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
areturn
end local 4 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/CGLGraphicsConfig;
0 5 1 width I
0 5 2 height I
1 5 3 model Ljava/awt/image/ColorModel;
2 5 4 raster Ljava/awt/image/WritableRaster;
MethodParameters:
Name Flags
width
height
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/CGLGraphicsConfig;
0 9 1 transparency I
4 8 2 cs Ljava/awt/color/ColorSpace;
MethodParameters:
Name Flags
transparency
public boolean isDoubleBuffered();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc 65536
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
public synchronized void displayChanged();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=3, args_size=1
start local 0 0: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 1
start local 1 1: aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
2: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
3: goto 7
StackMap locals: sun.java2d.opengl.CGLGraphicsConfig sun.java2d.opengl.OGLRenderQueue
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
1 9 1 rq Lsun/java2d/opengl/OGLRenderQueue;
Exception table:
from to target type
2 4 4 any
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getCGDisplayID:()I
istore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "CGLGraphicsConfig[dev="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",pixfmt="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.pixfmt: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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
1 2 1 displayID I
public sun.java2d.SurfaceData createSurfaceData(sun.lwawt.macosx.CPlatformView);
descriptor: (Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.java2d.opengl.CGLSurfaceData.createData:(Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/opengl/CGLSurfaceData$CGLWindowSurfaceData;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 1 1 pView Lsun/lwawt/macosx/CPlatformView;
MethodParameters:
Name Flags
pView
public sun.java2d.SurfaceData createSurfaceData(sun.java2d.opengl.CGLLayer);
descriptor: (Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.java2d.opengl.CGLSurfaceData.createData:(Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/opengl/CGLSurfaceData$CGLLayerSurfaceData;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 1 1 layer Lsun/java2d/opengl/CGLLayer;
MethodParameters:
Name Flags
layer
public java.awt.Image createAcceleratedImage(java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;II)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_1
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getColorModel:(I)Ljava/awt/image/ColorModel;
astore 4
start local 4 1: aload 4
iload 2
iload 3
invokevirtual java.awt.image.ColorModel.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
astore 5
start local 5 2: new sun.awt.image.OffScreenImage
dup
aload 1
aload 4
aload 5
3: aload 4
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
4: invokespecial sun.awt.image.OffScreenImage.<init>:(Ljava/awt/Component;Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;Z)V
areturn
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 5 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 5 1 target Ljava/awt/Component;
0 5 2 width I
0 5 3 height I
1 5 4 model Ljava/awt/image/ColorModel;
2 5 5 wr Ljava/awt/image/WritableRaster;
MethodParameters:
Name Flags
target
width
height
public void assertOperationSupported(int, java.awt.BufferCapabilities);
descriptor: (ILjava/awt/BufferCapabilities;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_2
if_icmpeq 2
1: new java.awt.AWTException
dup
ldc "Only double buffering is supported"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getBufferCapabilities:()Ljava/awt/BufferCapabilities;
astore 3
start local 3 3: aload 3
invokevirtual java.awt.BufferCapabilities.isPageFlipping:()Z
ifne 5
4: new java.awt.AWTException
dup
ldc "Page flipping is not supported"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.awt.BufferCapabilities
StackMap stack:
aload 2
invokevirtual java.awt.BufferCapabilities.getFlipContents:()Ljava/awt/BufferCapabilities$FlipContents;
getstatic java.awt.BufferCapabilities$FlipContents.PRIOR:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 7
6: new java.awt.AWTException
dup
ldc "FlipContents.PRIOR is not supported"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
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/CGLGraphicsConfig;
0 8 1 numBuffers I
0 8 2 caps Ljava/awt/BufferCapabilities;
3 8 3 configCaps Ljava/awt/BufferCapabilities;
Exceptions:
throws java.awt.AWTException
MethodParameters:
Name Flags
numBuffers final
caps final
public java.awt.Image createBackBuffer(sun.lwawt.LWComponentPeer<?, ?>);
descriptor: (Lsun/lwawt/LWComponentPeer;)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 1: iconst_1
aload 2
getfield java.awt.Rectangle.width:I
invokestatic java.lang.Math.max:(II)I
istore 3
start local 3 2: iconst_1
aload 2
getfield java.awt.Rectangle.height:I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 3: aload 1
invokevirtual sun.lwawt.LWComponentPeer.isTranslucent:()Z
ifeq 4
iconst_3
goto 5
4: StackMap locals: java.awt.Rectangle int int
StackMap stack:
iconst_1
5: StackMap locals:
StackMap stack: int
istore 5
start local 5 6: new sun.awt.image.SunVolatileImage
dup
aload 0
iload 3
iload 4
iload 5
aconst_null
invokespecial sun.awt.image.SunVolatileImage.<init>:(Ljava/awt/GraphicsConfiguration;IIILjava/awt/ImageCapabilities;)V
areturn
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 7 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 7 1 peer Lsun/lwawt/LWComponentPeer<**>;
1 7 2 r Ljava/awt/Rectangle;
2 7 3 w I
3 7 4 h I
6 7 5 transparency I
Signature: (Lsun/lwawt/LWComponentPeer<**>;)Ljava/awt/Image;
MethodParameters:
Name Flags
peer final
public void destroyBackBuffer(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 1
invokevirtual java.awt.Image.flush:()V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 3 1 backBuffer Ljava/awt/Image;
MethodParameters:
Name Flags
backBuffer final
public void flip(sun.lwawt.LWComponentPeer<?, ?>, java.awt.Image, int, int, int, int, java.awt.BufferCapabilities$FlipContents);
descriptor: (Lsun/lwawt/LWComponentPeer;Ljava/awt/Image;IIIILjava/awt/BufferCapabilities$FlipContents;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getGraphics:()Ljava/awt/Graphics;
astore 8
start local 8 1: aload 8
aload 2
iload 3
iload 4
iload 5
iload 6
iload 3
iload 4
iload 5
iload 6
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
2: goto 6
StackMap locals: sun.java2d.opengl.CGLGraphicsConfig sun.lwawt.LWComponentPeer java.awt.Image int int int int java.awt.BufferCapabilities$FlipContents java.awt.Graphics
StackMap stack: java.lang.Throwable
3: astore 9
4: aload 8
invokevirtual java.awt.Graphics.dispose:()V
5: aload 9
athrow
6: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.awt.Graphics.dispose:()V
7: aload 7
getstatic java.awt.BufferCapabilities$FlipContents.BACKGROUND:Ljava/awt/BufferCapabilities$FlipContents;
if_acmpne 18
8: aload 2
invokevirtual java.awt.Image.getGraphics:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 9
start local 9 9: aload 9
aload 1
invokevirtual sun.lwawt.LWComponentPeer.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setBackground:(Ljava/awt/Color;)V
10: aload 9
iconst_0
iconst_0
aload 2
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
11: aload 2
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
12: invokevirtual java.awt.Graphics2D.clearRect:(IIII)V
13: goto 17
StackMap locals: sun.java2d.opengl.CGLGraphicsConfig sun.lwawt.LWComponentPeer java.awt.Image int int int int java.awt.BufferCapabilities$FlipContents java.awt.Graphics java.awt.Graphics2D
StackMap stack: java.lang.Throwable
14: astore 10
15: aload 9
invokevirtual java.awt.Graphics2D.dispose:()V
16: aload 10
athrow
17: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.awt.Graphics2D.dispose:()V
end local 9 18: 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 19 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 19 1 peer Lsun/lwawt/LWComponentPeer<**>;
0 19 2 backBuffer Ljava/awt/Image;
0 19 3 x1 I
0 19 4 y1 I
0 19 5 x2 I
0 19 6 y2 I
0 19 7 flipAction Ljava/awt/BufferCapabilities$FlipContents;
1 19 8 g Ljava/awt/Graphics;
9 18 9 bg Ljava/awt/Graphics2D;
Exception table:
from to target type
1 3 3 any
9 14 14 any
Signature: (Lsun/lwawt/LWComponentPeer<**>;Ljava/awt/Image;IIIILjava/awt/BufferCapabilities$FlipContents;)V
MethodParameters:
Name Flags
peer final
backBuffer final
x1 final
y1 final
x2 final
y2 final
flipAction final
public java.awt.BufferCapabilities getBufferCapabilities();
descriptor: ()Ljava/awt/BufferCapabilities;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
ifnonnull 2
1: aload 0
new sun.java2d.opengl.CGLGraphicsConfig$CGLBufferCaps
dup
aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isDoubleBuffered:()Z
invokespecial sun.java2d.opengl.CGLGraphicsConfig$CGLBufferCaps.<init>:(Z)V
putfield sun.java2d.opengl.CGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.bufferCaps:Ljava/awt/BufferCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
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.CGLGraphicsConfig.imageCaps:Ljava/awt/ImageCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
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_5
if_icmpeq 1
iload 4
iconst_3
if_icmpne 3
1: StackMap locals:
StackMap stack:
iload 3
iconst_2
if_icmpeq 3
2: iload 4
iconst_5
if_icmpne 4
aload 0
bipush 12
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.isCapPresent:(I)Z
ifne 4
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
new sun.java2d.pipe.hw.AccelTypedVolatileImage
dup
aload 0
iload 1
iload 2
5: iload 3
iload 4
6: invokespecial sun.java2d.pipe.hw.AccelTypedVolatileImage.<init>:(Ljava/awt/GraphicsConfiguration;IIII)V
astore 5
start local 5 7: aload 5
invokevirtual sun.awt.image.SunVolatileImage.getDestSurface:()Lsun/java2d/Surface;
astore 6
start local 6 8: aload 6
instanceof sun.java2d.pipe.hw.AccelSurface
ifeq 10
9: aload 6
checkcast sun.java2d.pipe.hw.AccelSurface
invokeinterface sun.java2d.pipe.hw.AccelSurface.getType:()I
iload 4
if_icmpeq 12
10: StackMap locals: sun.awt.image.SunVolatileImage sun.java2d.Surface
StackMap stack:
aload 5
invokevirtual sun.awt.image.SunVolatileImage.flush:()V
11: aconst_null
astore 5
12: 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 13 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
0 13 1 width I
0 13 2 height I
0 13 3 transparency I
0 13 4 type I
7 13 5 vi Lsun/awt/image/SunVolatileImage;
8 13 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.CGLGraphicsConfig.oglCaps:Lsun/java2d/pipe/hw/ContextCapabilities;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
public int getMaxTextureWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.maxTextureSize:I
aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
idiv
1: aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getBounds:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.width:I
2: invokestatic java.lang.Math.max:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
public int getMaxTextureHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLGraphicsConfig.maxTextureSize:I
aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
idiv
1: aload 0
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getBounds:()Ljava/awt/Rectangle;
getfield java.awt.Rectangle.height:I
2: invokestatic java.lang.Math.max:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLGraphicsConfig;
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.CGLGraphicsConfig.getContext:()Lsun/java2d/opengl/OGLContext;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: aload 0
iconst_0
invokestatic sun.java2d.opengl.OGLContext.getOGLIdString:()Ljava/lang/String;
aastore
1: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CGLGraphicsConfig.java"
NestMembers:
sun.java2d.opengl.CGLGraphicsConfig$CGLBufferCaps sun.java2d.opengl.CGLGraphicsConfig$CGLGCDisposerRecord sun.java2d.opengl.CGLGraphicsConfig$CGLImageCaps
InnerClasses:
public final FlipContents = java.awt.BufferCapabilities$FlipContents of java.awt.BufferCapabilities
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private CGLBufferCaps = sun.java2d.opengl.CGLGraphicsConfig$CGLBufferCaps of sun.java2d.opengl.CGLGraphicsConfig
private CGLGCDisposerRecord = sun.java2d.opengl.CGLGraphicsConfig$CGLGCDisposerRecord of sun.java2d.opengl.CGLGraphicsConfig
private CGLImageCaps = sun.java2d.opengl.CGLGraphicsConfig$CGLImageCaps of sun.java2d.opengl.CGLGraphicsConfig
public CGLLayerSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLLayerSurfaceData of sun.java2d.opengl.CGLSurfaceData
public CGLOffScreenSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData of sun.java2d.opengl.CGLSurfaceData
public CGLWindowSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData of sun.java2d.opengl.CGLSurfaceData
OGLContextCaps = sun.java2d.opengl.OGLContext$OGLContextCaps of sun.java2d.opengl.OGLContext