public class sun.java2d.opengl.CGLLayer extends sun.lwawt.macosx.CFRetainedResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.opengl.CGLLayer
super_class: sun.lwawt.macosx.CFRetainedResource
{
private sun.lwawt.LWWindowPeer peer;
descriptor: Lsun/lwawt/LWWindowPeer;
flags: (0x0002) ACC_PRIVATE
private int scale;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.java2d.SurfaceData surfaceData;
descriptor: Lsun/java2d/SurfaceData;
flags: (0x0002) ACC_PRIVATE
private native long nativeCreateLayer();
descriptor: ()J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
private static native void nativeSetScale(long, double);
descriptor: (JD)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
layerPtr
scale
private static native void validate(long, sun.java2d.opengl.CGLSurfaceData);
descriptor: (JLsun/java2d/opengl/CGLSurfaceData;)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
layerPtr
cglsd
private static native void blitTexture(long);
descriptor: (J)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
layerPtr
public void <init>(sun.lwawt.LWWindowPeer);
descriptor: (Lsun/lwawt/LWWindowPeer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
lconst_0
iconst_1
invokespecial sun.lwawt.macosx.CFRetainedResource.<init>:(JZ)V
1: aload 0
iconst_1
putfield sun.java2d.opengl.CGLLayer.scale:I
2: aload 0
aload 0
invokevirtual sun.java2d.opengl.CGLLayer.nativeCreateLayer:()J
invokevirtual sun.java2d.opengl.CGLLayer.setPtr:(J)V
3: aload 0
aload 1
putfield sun.java2d.opengl.CGLLayer.peer:Lsun/lwawt/LWWindowPeer;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/opengl/CGLLayer;
0 5 1 peer Lsun/lwawt/LWWindowPeer;
MethodParameters:
Name Flags
peer
public long getPointer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLLayer.ptr:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
public java.awt.Rectangle getBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLLayer.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getBounds:()Ljava/awt/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
public java.awt.GraphicsConfiguration getGraphicsConfiguration();
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.CGLLayer.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLLayer.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.isTranslucent:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLLayer;
public int getTransparency();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.CGLLayer.isOpaque:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_3
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/CGLLayer;
public java.lang.Object getDestination();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLLayer.peer:Lsun/lwawt/LWWindowPeer;
invokevirtual sun.lwawt.LWWindowPeer.getTarget:()Ljava/awt/Component;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
public sun.java2d.SurfaceData replaceSurfaceData();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.CGLLayer.getBounds:()Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.isEmpty:()Z
ifeq 3
1: aload 0
getstatic sun.java2d.NullSurfaceData.theInstance:Lsun/java2d/SurfaceData;
putfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
2: aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.opengl.CGLLayer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.awt.CGraphicsConfig
astore 1
start local 1 4: aload 0
aload 1
aload 0
invokevirtual sun.awt.CGraphicsConfig.createSurfaceData:(Lsun/java2d/opengl/CGLLayer;)Lsun/java2d/SurfaceData;
putfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
5: aload 0
aload 1
invokevirtual sun.awt.CGraphicsConfig.getDevice:()Lsun/awt/CGraphicsDevice;
invokevirtual sun.awt.CGraphicsDevice.getScaleFactor:()I
invokevirtual sun.java2d.opengl.CGLLayer.setScale:(I)V
6: aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
instanceof sun.java2d.opengl.CGLSurfaceData
ifeq 8
7: aload 0
aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
checkcast sun.java2d.opengl.CGLSurfaceData
invokevirtual sun.java2d.opengl.CGLLayer.validate:(Lsun/java2d/opengl/CGLSurfaceData;)V
8: StackMap locals: sun.awt.CGraphicsConfig
StackMap stack:
aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/opengl/CGLLayer;
4 9 1 gc Lsun/awt/CGraphicsConfig;
public sun.java2d.SurfaceData getSurfaceData();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
public void validate(sun.java2d.opengl.CGLSurfaceData);
descriptor: (Lsun/java2d/opengl/CGLSurfaceData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 2
start local 2 1: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
2: aload 0
aload 1
invokedynamic run(Lsun/java2d/opengl/CGLSurfaceData;)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
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:
(J)V
sun/java2d/opengl/CGLLayer.lambda$0(Lsun/java2d/opengl/CGLSurfaceData;J)V (6)
(J)V
invokevirtual sun.java2d.opengl.CGLLayer.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
3: goto 7
StackMap locals: sun.java2d.opengl.CGLLayer sun.java2d.opengl.CGLSurfaceData sun.java2d.opengl.OGLRenderQueue
StackMap stack: java.lang.Throwable
4: astore 3
5: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
6: aload 3
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/opengl/CGLLayer;
0 9 1 cglsd Lsun/java2d/opengl/CGLSurfaceData;
1 9 2 rq Lsun/java2d/opengl/OGLRenderQueue;
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
cglsd final
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual sun.java2d.opengl.CGLLayer.validate:(Lsun/java2d/opengl/CGLSurfaceData;)V
1: aload 0
getfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
astore 1
start local 1 2: aload 0
getstatic sun.java2d.NullSurfaceData.theInstance:Lsun/java2d/SurfaceData;
putfield sun.java2d.opengl.CGLLayer.surfaceData:Lsun/java2d/SurfaceData;
3: aload 1
ifnull 5
4: aload 1
invokevirtual sun.java2d.SurfaceData.flush:()V
5: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 0
invokespecial sun.lwawt.macosx.CFRetainedResource.dispose:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/opengl/CGLLayer;
2 7 1 oldData Lsun/java2d/SurfaceData;
private void setScale(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.opengl.CGLLayer.scale:I
iload 1
if_icmpeq 3
1: aload 0
iload 1
putfield sun.java2d.opengl.CGLLayer.scale:I
2: aload 0
aload 0
invokedynamic run(Lsun/java2d/opengl/CGLLayer;)Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
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:
(J)V
sun/java2d/opengl/CGLLayer.lambda$1(J)V (7)
(J)V
invokevirtual sun.java2d.opengl.CGLLayer.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/java2d/opengl/CGLLayer;
0 4 1 _scale I
MethodParameters:
Name Flags
_scale final
private void drawInCGLContext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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: aload 0
invokedynamic run()Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;
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:
(J)V
sun/java2d/opengl/CGLLayer.lambda$2(J)V (6)
(J)V
invokevirtual sun.java2d.opengl.CGLLayer.execute:(Lsun/lwawt/macosx/CFRetainedResource$CFNativeAction;)V
3: goto 7
StackMap locals: sun.java2d.opengl.CGLLayer 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/CGLLayer;
1 9 1 rq Lsun/java2d/opengl/OGLRenderQueue;
Exception table:
from to target type
2 4 4 any
private static void lambda$0(sun.java2d.opengl.CGLSurfaceData, long);
descriptor: (Lsun/java2d/opengl/CGLSurfaceData;J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=2
start local 1 0: lload 1
aload 0
invokestatic sun.java2d.opengl.CGLLayer.validate:(JLsun/java2d/opengl/CGLSurfaceData;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ptr J
private void lambda$1(long);
descriptor: (J)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield sun.java2d.opengl.CGLLayer.scale:I
i2d
invokestatic sun.java2d.opengl.CGLLayer.nativeSetScale:(JD)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/CGLLayer;
0 1 1 ptr J
private static void lambda$2(long);
descriptor: (J)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
invokestatic sun.java2d.opengl.CGLLayer.blitTexture:(J)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ptr J
}
SourceFile: "CGLLayer.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract CFNativeAction = sun.lwawt.macosx.CFRetainedResource$CFNativeAction of sun.lwawt.macosx.CFRetainedResource