public abstract class sun.java2d.opengl.CGLSurfaceData extends sun.java2d.opengl.OGLSurfaceData
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.java2d.opengl.CGLSurfaceData
super_class: sun.java2d.opengl.OGLSurfaceData
{
protected final int scale;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int width;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int height;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected sun.lwawt.macosx.CPlatformView pView;
descriptor: Lsun/lwawt/macosx/CPlatformView;
flags: (0x0004) ACC_PROTECTED
private sun.java2d.opengl.CGLGraphicsConfig graphicsConfig;
descriptor: Lsun/java2d/opengl/CGLGraphicsConfig;
flags: (0x0002) ACC_PRIVATE
native void validate(int, int, int, int, boolean);
descriptor: (IIIIZ)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
xoff
yoff
width
height
isOpaque
private native void initOps(long, long, long, int, int, boolean);
descriptor: (JJJIIZ)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
pConfigInfo
pPeerData
layerPtr
xoff
yoff
isOpaque
protected native boolean initPbuffer(long, long, boolean, int, int);
descriptor: (JJZII)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
pData
pConfigInfo
isOpaque
width
height
protected void <init>(sun.java2d.opengl.CGLGraphicsConfig, java.awt.image.ColorModel, int, int, int);
descriptor: (Lsun/java2d/opengl/CGLGraphicsConfig;Ljava/awt/image/ColorModel;III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
invokespecial sun.java2d.opengl.OGLSurfaceData.<init>:(Lsun/java2d/opengl/OGLGraphicsConfig;Ljava/awt/image/ColorModel;I)V
1: aload 0
iload 3
iconst_3
if_icmpne 2
iconst_1
goto 3
StackMap locals: sun.java2d.opengl.CGLSurfaceData sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int int int
StackMap stack: sun.java2d.opengl.CGLSurfaceData
2: aload 1
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
StackMap locals: sun.java2d.opengl.CGLSurfaceData sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int int int
StackMap stack: sun.java2d.opengl.CGLSurfaceData int
3: putfield sun.java2d.opengl.CGLSurfaceData.scale:I
4: aload 0
iload 4
aload 0
getfield sun.java2d.opengl.CGLSurfaceData.scale:I
imul
putfield sun.java2d.opengl.CGLSurfaceData.width:I
5: aload 0
iload 5
aload 0
getfield sun.java2d.opengl.CGLSurfaceData.scale:I
imul
putfield sun.java2d.opengl.CGLSurfaceData.height:I
6: return
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/CGLSurfaceData;
0 7 1 gc Lsun/java2d/opengl/CGLGraphicsConfig;
0 7 2 cm Ljava/awt/image/ColorModel;
0 7 3 type I
0 7 4 width I
0 7 5 height I
MethodParameters:
Name Flags
gc
cm
type
width
height
protected void <init>(sun.lwawt.macosx.CPlatformView, sun.java2d.opengl.CGLGraphicsConfig, java.awt.image.ColorModel, int, int, int);
descriptor: (Lsun/lwawt/macosx/CPlatformView;Lsun/java2d/opengl/CGLGraphicsConfig;Ljava/awt/image/ColorModel;III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
iload 4
iload 5
iload 6
invokespecial sun.java2d.opengl.CGLSurfaceData.<init>:(Lsun/java2d/opengl/CGLGraphicsConfig;Ljava/awt/image/ColorModel;III)V
1: aload 0
aload 1
putfield sun.java2d.opengl.CGLSurfaceData.pView:Lsun/lwawt/macosx/CPlatformView;
2: aload 0
aload 2
putfield sun.java2d.opengl.CGLSurfaceData.graphicsConfig:Lsun/java2d/opengl/CGLGraphicsConfig;
3: aload 2
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getNativeConfigInfo:()J
lstore 7
start local 7 4: lconst_0
lstore 9
start local 9 5: iconst_1
istore 11
start local 11 6: aload 1
ifnull 9
7: aload 1
invokevirtual sun.lwawt.macosx.CPlatformView.getAWTView:()J
lstore 9
8: aload 1
invokevirtual sun.lwawt.macosx.CPlatformView.isOpaque:()Z
istore 11
9: StackMap locals: sun.java2d.opengl.CGLSurfaceData sun.lwawt.macosx.CPlatformView sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int int int long long int
StackMap stack:
aload 0
lload 7
lload 9
lconst_0
iconst_0
iconst_0
iload 11
invokevirtual sun.java2d.opengl.CGLSurfaceData.initOps:(JJJIIZ)V
10: return
end local 11 end local 9 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 11 0 this Lsun/java2d/opengl/CGLSurfaceData;
0 11 1 pView Lsun/lwawt/macosx/CPlatformView;
0 11 2 gc Lsun/java2d/opengl/CGLGraphicsConfig;
0 11 3 cm Ljava/awt/image/ColorModel;
0 11 4 type I
0 11 5 width I
0 11 6 height I
4 11 7 pConfigInfo J
5 11 9 pPeerData J
6 11 11 isOpaque Z
MethodParameters:
Name Flags
pView
gc
cm
type
width
height
protected void <init>(sun.java2d.opengl.CGLLayer, sun.java2d.opengl.CGLGraphicsConfig, java.awt.image.ColorModel, int, int, int);
descriptor: (Lsun/java2d/opengl/CGLLayer;Lsun/java2d/opengl/CGLGraphicsConfig;Ljava/awt/image/ColorModel;III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
iload 4
iload 5
iload 6
invokespecial sun.java2d.opengl.CGLSurfaceData.<init>:(Lsun/java2d/opengl/CGLGraphicsConfig;Ljava/awt/image/ColorModel;III)V
1: aload 0
aload 2
putfield sun.java2d.opengl.CGLSurfaceData.graphicsConfig:Lsun/java2d/opengl/CGLGraphicsConfig;
2: aload 2
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getNativeConfigInfo:()J
lstore 7
start local 7 3: lconst_0
lstore 9
start local 9 4: iconst_1
istore 11
start local 11 5: aload 1
ifnull 8
6: aload 1
invokevirtual sun.java2d.opengl.CGLLayer.getPointer:()J
lstore 9
7: aload 1
invokevirtual sun.java2d.opengl.CGLLayer.isOpaque:()Z
istore 11
8: StackMap locals: sun.java2d.opengl.CGLSurfaceData sun.java2d.opengl.CGLLayer sun.java2d.opengl.CGLGraphicsConfig java.awt.image.ColorModel int int int long long int
StackMap stack:
aload 0
lload 7
lconst_0
lload 9
iconst_0
iconst_0
iload 11
invokevirtual sun.java2d.opengl.CGLSurfaceData.initOps:(JJJIIZ)V
9: return
end local 11 end local 9 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 10 0 this Lsun/java2d/opengl/CGLSurfaceData;
0 10 1 layer Lsun/java2d/opengl/CGLLayer;
0 10 2 gc Lsun/java2d/opengl/CGLGraphicsConfig;
0 10 3 cm Ljava/awt/image/ColorModel;
0 10 4 type I
0 10 5 width I
0 10 6 height I
3 10 7 pConfigInfo J
4 10 9 layerPtr J
5 10 11 isOpaque Z
MethodParameters:
Name Flags
layer
gc
cm
type
width
height
public java.awt.GraphicsConfiguration getDeviceConfiguration();
descriptor: ()Ljava/awt/GraphicsConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLSurfaceData.graphicsConfig:Lsun/java2d/opengl/CGLGraphicsConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLSurfaceData;
public static sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData createData(sun.lwawt.macosx.CPlatformView);
descriptor: (Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/opengl/CGLSurfaceData$CGLWindowSurfaceData;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.java2d.opengl.CGLSurfaceData.getGC:(Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/opengl/CGLGraphicsConfig;
astore 1
start local 1 1: new sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData
dup
aload 0
aload 1
invokespecial sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData.<init>:(Lsun/lwawt/macosx/CPlatformView;Lsun/java2d/opengl/CGLGraphicsConfig;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pView Lsun/lwawt/macosx/CPlatformView;
1 2 1 gc Lsun/java2d/opengl/CGLGraphicsConfig;
MethodParameters:
Name Flags
pView
public static sun.java2d.opengl.CGLSurfaceData$CGLLayerSurfaceData createData(sun.java2d.opengl.CGLLayer);
descriptor: (Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/opengl/CGLSurfaceData$CGLLayerSurfaceData;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokestatic sun.java2d.opengl.CGLSurfaceData.getGC:(Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/opengl/CGLGraphicsConfig;
astore 1
start local 1 1: aload 0
invokevirtual sun.java2d.opengl.CGLLayer.getBounds:()Ljava/awt/Rectangle;
astore 2
start local 2 2: new sun.java2d.opengl.CGLSurfaceData$CGLLayerSurfaceData
dup
aload 0
aload 1
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokespecial sun.java2d.opengl.CGLSurfaceData$CGLLayerSurfaceData.<init>:(Lsun/java2d/opengl/CGLLayer;Lsun/java2d/opengl/CGLGraphicsConfig;II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 layer Lsun/java2d/opengl/CGLLayer;
1 3 1 gc Lsun/java2d/opengl/CGLGraphicsConfig;
2 3 2 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
layer
public static sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData createData(sun.lwawt.macosx.CPlatformView, java.awt.Image, int);
descriptor: (Lsun/lwawt/macosx/CPlatformView;Ljava/awt/Image;I)Lsun/java2d/opengl/CGLSurfaceData$CGLOffScreenSurfaceData;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic sun.java2d.opengl.CGLSurfaceData.getGC:(Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/opengl/CGLGraphicsConfig;
astore 3
start local 3 1: aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 2: iload 2
iconst_4
if_icmpne 6
3: new sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData
dup
aload 0
aload 3
aload 4
getfield java.awt.Rectangle.width:I
aload 4
getfield java.awt.Rectangle.height:I
4: aload 1
aload 3
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getColorModel:()Ljava/awt/image/ColorModel;
iconst_4
5: invokespecial sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData.<init>:(Lsun/lwawt/macosx/CPlatformView;Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/Image;Ljava/awt/image/ColorModel;I)V
areturn
6: StackMap locals: sun.java2d.opengl.CGLGraphicsConfig java.awt.Rectangle
StackMap stack:
new sun.java2d.opengl.CGLSurfaceData$CGLVSyncOffScreenSurfaceData
dup
aload 0
aload 3
aload 4
getfield java.awt.Rectangle.width:I
7: aload 4
getfield java.awt.Rectangle.height:I
aload 1
aload 3
invokevirtual sun.java2d.opengl.CGLGraphicsConfig.getColorModel:()Ljava/awt/image/ColorModel;
iload 2
8: invokespecial sun.java2d.opengl.CGLSurfaceData$CGLVSyncOffScreenSurfaceData.<init>:(Lsun/lwawt/macosx/CPlatformView;Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/Image;Ljava/awt/image/ColorModel;I)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 pView Lsun/lwawt/macosx/CPlatformView;
0 9 1 image Ljava/awt/Image;
0 9 2 type I
1 9 3 gc Lsun/java2d/opengl/CGLGraphicsConfig;
2 9 4 r Ljava/awt/Rectangle;
MethodParameters:
Name Flags
pView
image
type
public static sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData createData(sun.java2d.opengl.CGLGraphicsConfig, int, int, java.awt.image.ColorModel, java.awt.Image, int);
descriptor: (Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;I)Lsun/java2d/opengl/CGLSurfaceData$CGLOffScreenSurfaceData;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData
dup
aconst_null
aload 0
iload 1
iload 2
aload 4
aload 3
1: iload 5
2: invokespecial sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData.<init>:(Lsun/lwawt/macosx/CPlatformView;Lsun/java2d/opengl/CGLGraphicsConfig;IILjava/awt/Image;Ljava/awt/image/ColorModel;I)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 3 0 gc Lsun/java2d/opengl/CGLGraphicsConfig;
0 3 1 width I
0 3 2 height I
0 3 3 cm Ljava/awt/image/ColorModel;
0 3 4 image Ljava/awt/Image;
0 3 5 type I
MethodParameters:
Name Flags
gc
width
height
cm
image
type
public static sun.java2d.opengl.CGLGraphicsConfig getGC(sun.lwawt.macosx.CPlatformView);
descriptor: (Lsun/lwawt/macosx/CPlatformView;)Lsun/java2d/opengl/CGLGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokevirtual sun.lwawt.macosx.CPlatformView.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.opengl.CGLGraphicsConfig
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
3: astore 1
start local 1 4: aload 1
invokevirtual java.awt.GraphicsEnvironment.getDefaultScreenDevice:()Ljava/awt/GraphicsDevice;
astore 2
start local 2 5: aload 2
invokevirtual java.awt.GraphicsDevice.getDefaultConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.opengl.CGLGraphicsConfig
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 pView Lsun/lwawt/macosx/CPlatformView;
4 6 1 env Ljava/awt/GraphicsEnvironment;
5 6 2 gd Ljava/awt/GraphicsDevice;
MethodParameters:
Name Flags
pView
public static sun.java2d.opengl.CGLGraphicsConfig getGC(sun.java2d.opengl.CGLLayer);
descriptor: (Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/opengl/CGLGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.CGLLayer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.opengl.CGLGraphicsConfig
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 layer Lsun/java2d/opengl/CGLLayer;
MethodParameters:
Name Flags
layer
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLSurfaceData;
public int getDefaultScale();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLSurfaceData.scale:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLSurfaceData;
public boolean copyArea(sun.java2d.SunGraphics2D, int, int, int, int, int, int);
descriptor: (Lsun/java2d/SunGraphics2D;IIIIII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, 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
getfield sun.java2d.SunGraphics2D.transformState:I
istore 8
start local 8 1: iload 8
iconst_3
if_icmpgt 3
2: aload 1
getfield sun.java2d.SunGraphics2D.compositeState:I
iconst_2
if_icmplt 4
3: StackMap locals: int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 8
iconst_2
if_icmpgt 8
5: iload 2
aload 1
getfield sun.java2d.SunGraphics2D.transX:I
iadd
istore 2
6: iload 3
aload 1
getfield sun.java2d.SunGraphics2D.transY:I
iadd
istore 3
7: goto 17
StackMap locals:
StackMap stack:
8: iload 8
iconst_3
if_icmpne 17
9: bipush 6
newarray 7
dup
iconst_0
iload 2
i2d
dastore
dup
iconst_1
iload 3
i2d
dastore
dup
iconst_2
iload 2
iload 4
iadd
i2d
dastore
dup
iconst_3
iload 3
iload 5
iadd
i2d
dastore
dup
iconst_4
iload 2
iload 6
iadd
i2d
dastore
dup
iconst_5
iload 3
iload 7
iadd
i2d
dastore
astore 9
start local 9 10: aload 1
getfield sun.java2d.SunGraphics2D.transform:Ljava/awt/geom/AffineTransform;
aload 9
iconst_0
aload 9
iconst_0
iconst_3
invokevirtual java.awt.geom.AffineTransform.transform:([DI[DII)V
11: aload 9
iconst_0
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 2
12: aload 9
iconst_1
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 3
13: aload 9
iconst_2
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
iload 2
isub
istore 4
14: aload 9
iconst_3
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
iload 3
isub
istore 5
15: aload 9
iconst_4
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
iload 2
isub
istore 6
16: aload 9
iconst_5
daload
ldc 0.5
dsub
invokestatic java.lang.Math.ceil:(D)D
d2i
iload 3
isub
istore 7
end local 9 17: StackMap locals:
StackMap stack:
getstatic sun.java2d.opengl.CGLSurfaceData.oglRenderPipe:Lsun/java2d/opengl/OGLRenderer;
aload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual sun.java2d.opengl.OGLRenderer.copyArea:(Lsun/java2d/SunGraphics2D;IIIIII)V
18: iconst_1
ireturn
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/CGLSurfaceData;
0 19 1 sg2d Lsun/java2d/SunGraphics2D;
0 19 2 x I
0 19 3 y I
0 19 4 w I
0 19 5 h I
0 19 6 dx I
0 19 7 dy I
1 19 8 state I
10 17 9 coords [D
MethodParameters:
Name Flags
sg2d
x
y
w
h
dx
dy
protected native void clearWindow();
descriptor: ()V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
private static native long createCGLContextOnSurface(sun.java2d.opengl.CGLSurfaceData, long);
descriptor: (Lsun/java2d/opengl/CGLSurfaceData;J)J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
sd
sharedContext
public static long createOGLContextOnSurface(java.awt.Graphics, long);
descriptor: (Ljava/awt/Graphics;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 3
start local 3 1: aload 3
instanceof sun.java2d.opengl.CGLSurfaceData
ifeq 4
2: aload 3
checkcast sun.java2d.opengl.CGLSurfaceData
astore 4
start local 4 3: aload 4
lload 1
invokestatic sun.java2d.opengl.CGLSurfaceData.createCGLContextOnSurface:(Lsun/java2d/opengl/CGLSurfaceData;J)J
lreturn
end local 4 4: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
lconst_0
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 g Ljava/awt/Graphics;
0 5 1 sharedContext J
1 5 3 sd Lsun/java2d/SurfaceData;
3 4 4 cglsd Lsun/java2d/opengl/CGLSurfaceData;
MethodParameters:
Name Flags
g
sharedContext
static native boolean makeCGLContextCurrentOnSurface(sun.java2d.opengl.CGLSurfaceData, long);
descriptor: (Lsun/java2d/opengl/CGLSurfaceData;J)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
sd
ctx
public static boolean makeOGLContextCurrentOnSurface(java.awt.Graphics, long);
descriptor: (Ljava/awt/Graphics;J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 3
start local 3 1: lload 1
lconst_0
lcmp
ifeq 4
aload 3
instanceof sun.java2d.opengl.CGLSurfaceData
ifeq 4
2: aload 3
checkcast sun.java2d.opengl.CGLSurfaceData
astore 4
start local 4 3: aload 4
lload 1
invokestatic sun.java2d.opengl.CGLSurfaceData.makeCGLContextCurrentOnSurface:(Lsun/java2d/opengl/CGLSurfaceData;J)Z
ireturn
end local 4 4: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 g Ljava/awt/Graphics;
0 5 1 ctx J
1 5 3 sd Lsun/java2d/SurfaceData;
3 4 4 cglsd Lsun/java2d/opengl/CGLSurfaceData;
MethodParameters:
Name Flags
g
ctx
private static native void destroyCGLContext(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static void destroyOGLContext(long);
descriptor: (J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifeq 2
1: lload 0
invokestatic sun.java2d.opengl.CGLSurfaceData.destroyCGLContext:(J)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ctx J
MethodParameters:
Name Flags
ctx
}
SourceFile: "CGLSurfaceData.java"
NestMembers:
sun.java2d.opengl.CGLSurfaceData$CGLLayerSurfaceData sun.java2d.opengl.CGLSurfaceData$CGLOffScreenSurfaceData sun.java2d.opengl.CGLSurfaceData$CGLVSyncOffScreenSurfaceData sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData$1
InnerClasses:
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 CGLVSyncOffScreenSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLVSyncOffScreenSurfaceData of sun.java2d.opengl.CGLSurfaceData
public CGLWindowSurfaceData = sun.java2d.opengl.CGLSurfaceData$CGLWindowSurfaceData of sun.java2d.opengl.CGLSurfaceData