public class sun.java2d.opengl.OGLContext extends sun.java2d.pipe.BufferedContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.opengl.OGLContext
super_class: sun.java2d.pipe.BufferedContext
{
private final sun.java2d.opengl.OGLGraphicsConfig config;
descriptor: Lsun/java2d/opengl/OGLGraphicsConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.java2d.pipe.RenderQueue, sun.java2d.opengl.OGLGraphicsConfig);
descriptor: (Lsun/java2d/pipe/RenderQueue;Lsun/java2d/opengl/OGLGraphicsConfig;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial sun.java2d.pipe.BufferedContext.<init>:(Lsun/java2d/pipe/RenderQueue;)V
1: aload 0
aload 2
putfield sun.java2d.opengl.OGLContext.config:Lsun/java2d/opengl/OGLGraphicsConfig;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/opengl/OGLContext;
0 3 1 rq Lsun/java2d/pipe/RenderQueue;
0 3 2 config Lsun/java2d/opengl/OGLGraphicsConfig;
MethodParameters:
Name Flags
rq
config
static void setScratchSurface(sun.java2d.opengl.OGLGraphicsConfig);
descriptor: (Lsun/java2d/opengl/OGLGraphicsConfig;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface sun.java2d.opengl.OGLGraphicsConfig.getNativeConfigInfo:()J
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 gc Lsun/java2d/opengl/OGLGraphicsConfig;
MethodParameters:
Name Flags
gc
static void setScratchSurface(long);
descriptor: (J)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
putstatic sun.java2d.opengl.OGLContext.currentContext:Lsun/java2d/pipe/BufferedContext;
1: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 2
start local 2 2: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.getBuffer:()Lsun/java2d/pipe/RenderBuffer;
astore 3
start local 3 3: aload 2
bipush 12
iconst_4
invokevirtual sun.java2d.opengl.OGLRenderQueue.ensureCapacityAndAlignment:(II)V
4: aload 3
bipush 71
invokevirtual sun.java2d.pipe.RenderBuffer.putInt:(I)Lsun/java2d/pipe/RenderBuffer;
pop
5: aload 3
lload 0
invokevirtual sun.java2d.pipe.RenderBuffer.putLong:(J)Lsun/java2d/pipe/RenderBuffer;
pop
6: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 pConfigInfo J
2 7 2 rq Lsun/java2d/opengl/OGLRenderQueue;
3 7 3 buf Lsun/java2d/pipe/RenderBuffer;
MethodParameters:
Name Flags
pConfigInfo
static void invalidateCurrentContext();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic sun.java2d.opengl.OGLContext.currentContext:Lsun/java2d/pipe/BufferedContext;
ifnull 3
1: getstatic sun.java2d.opengl.OGLContext.currentContext:Lsun/java2d/pipe/BufferedContext;
invokevirtual sun.java2d.pipe.BufferedContext.invalidateContext:()V
2: aconst_null
putstatic sun.java2d.opengl.OGLContext.currentContext:Lsun/java2d/pipe/BufferedContext;
3: StackMap locals:
StackMap stack:
invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 0
start local 0 4: aload 0
iconst_4
invokevirtual sun.java2d.opengl.OGLRenderQueue.ensureCapacity:(I)V
5: aload 0
invokevirtual sun.java2d.opengl.OGLRenderQueue.getBuffer:()Lsun/java2d/pipe/RenderBuffer;
bipush 75
invokevirtual sun.java2d.pipe.RenderBuffer.putInt:(I)Lsun/java2d/pipe/RenderBuffer;
pop
6: aload 0
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushNow:()V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
4 8 0 rq Lsun/java2d/opengl/OGLRenderQueue;
public sun.java2d.pipe.RenderQueue getRenderQueue();
descriptor: ()Lsun/java2d/pipe/RenderQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/opengl/OGLContext;
static final native java.lang.String getOGLIdString();
descriptor: ()Ljava/lang/String;
flags: (0x0118) ACC_STATIC, ACC_FINAL, ACC_NATIVE
public void saveState();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.OGLContext.invalidateContext:()V
1: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
2: aload 0
getfield sun.java2d.opengl.OGLContext.config:Lsun/java2d/opengl/OGLGraphicsConfig;
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(Lsun/java2d/opengl/OGLGraphicsConfig;)V
3: aload 0
getfield sun.java2d.opengl.OGLContext.rq:Lsun/java2d/pipe/RenderQueue;
iconst_4
invokevirtual sun.java2d.pipe.RenderQueue.ensureCapacity:(I)V
4: aload 0
getfield sun.java2d.opengl.OGLContext.buf:Lsun/java2d/pipe/RenderBuffer;
bipush 78
invokevirtual sun.java2d.pipe.RenderBuffer.putInt:(I)Lsun/java2d/pipe/RenderBuffer;
pop
5: aload 0
getfield sun.java2d.opengl.OGLContext.rq:Lsun/java2d/pipe/RenderQueue;
invokevirtual sun.java2d.pipe.RenderQueue.flushNow:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/opengl/OGLContext;
public void restoreState();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.opengl.OGLContext.invalidateContext:()V
1: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
2: aload 0
getfield sun.java2d.opengl.OGLContext.config:Lsun/java2d/opengl/OGLGraphicsConfig;
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(Lsun/java2d/opengl/OGLGraphicsConfig;)V
3: aload 0
getfield sun.java2d.opengl.OGLContext.rq:Lsun/java2d/pipe/RenderQueue;
iconst_4
invokevirtual sun.java2d.pipe.RenderQueue.ensureCapacity:(I)V
4: aload 0
getfield sun.java2d.opengl.OGLContext.buf:Lsun/java2d/pipe/RenderBuffer;
bipush 79
invokevirtual sun.java2d.pipe.RenderBuffer.putInt:(I)Lsun/java2d/pipe/RenderBuffer;
pop
5: aload 0
getfield sun.java2d.opengl.OGLContext.rq:Lsun/java2d/pipe/RenderQueue;
invokevirtual sun.java2d.pipe.RenderQueue.flushNow:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/opengl/OGLContext;
}
SourceFile: "OGLContext.java"
NestMembers:
sun.java2d.opengl.OGLContext$OGLContextCaps
InnerClasses:
OGLContextCaps = sun.java2d.opengl.OGLContext$OGLContextCaps of sun.java2d.opengl.OGLContext