class sun.java2d.opengl.OGLUtilities
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.opengl.OGLUtilities
super_class: java.lang.Object
{
public static final int UNDEFINED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int WINDOW;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int TEXTURE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int FLIP_BACKBUFFER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int FBOBJECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/opengl/OGLUtilities;
public static boolean isQueueFlusherThread();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic sun.java2d.opengl.OGLRenderQueue.isQueueFlusherThread:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean invokeWithOGLContextCurrent(java.awt.Graphics, java.lang.Runnable);
descriptor: (Ljava/awt/Graphics;Ljava/lang/Runnable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, 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
ifnull 11
3: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 6
4: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
5: iconst_0
ireturn
6: StackMap locals: sun.java2d.opengl.OGLRenderQueue
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 3
start local 3 7: aload 3
instanceof sun.java2d.opengl.OGLSurfaceData
ifne 10
8: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
9: iconst_0
ireturn
10: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 3
checkcast sun.java2d.opengl.OGLSurfaceData
invokestatic sun.java2d.opengl.OGLContext.validateContext:(Lsun/java2d/pipe/hw/AccelSurface;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushAndInvokeNow:(Ljava/lang/Runnable;)V
12: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
13: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
15: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
16: aload 4
athrow
17: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
18: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 g Ljava/awt/Graphics;
0 19 1 r Ljava/lang/Runnable;
1 19 2 rq Lsun/java2d/opengl/OGLRenderQueue;
7 11 3 sData Lsun/java2d/SurfaceData;
Exception table:
from to target type
2 4 14 any
6 8 14 any
10 14 14 any
MethodParameters:
Name Flags
g
r
public static boolean invokeWithOGLSharedContextCurrent(java.awt.GraphicsConfiguration, java.lang.Runnable);
descriptor: (Ljava/awt/GraphicsConfiguration;Ljava/lang/Runnable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
instanceof sun.java2d.opengl.OGLGraphicsConfig
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic sun.java2d.opengl.OGLRenderQueue.getInstance:()Lsun/java2d/opengl/OGLRenderQueue;
astore 2
start local 2 3: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.lock:()V
4: aload 0
checkcast sun.java2d.opengl.OGLGraphicsConfig
invokestatic sun.java2d.opengl.OGLContext.setScratchSurface:(Lsun/java2d/opengl/OGLGraphicsConfig;)V
5: aload 2
aload 1
invokevirtual sun.java2d.opengl.OGLRenderQueue.flushAndInvokeNow:(Ljava/lang/Runnable;)V
6: invokestatic sun.java2d.opengl.OGLContext.invalidateCurrentContext:()V
7: goto 11
StackMap locals: java.awt.GraphicsConfiguration java.lang.Runnable sun.java2d.opengl.OGLRenderQueue
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.java2d.opengl.OGLRenderQueue.unlock:()V
12: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 config Ljava/awt/GraphicsConfiguration;
0 13 1 r Ljava/lang/Runnable;
3 13 2 rq Lsun/java2d/opengl/OGLRenderQueue;
Exception table:
from to target type
4 8 8 any
MethodParameters:
Name Flags
config
r
public static java.awt.Rectangle getOGLViewport(java.awt.Graphics, int, int);
descriptor: (Ljava/awt/Graphics;II)Ljava/awt/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
astore 3
start local 3 3: aload 3
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 4
start local 4 4: aload 3
getfield sun.java2d.SunGraphics2D.transX:I
istore 5
start local 5 5: aload 3
getfield sun.java2d.SunGraphics2D.transY:I
istore 6
start local 6 6: aload 4
invokevirtual sun.java2d.SurfaceData.getBounds:()Ljava/awt/Rectangle;
astore 7
start local 7 7: iload 5
istore 8
start local 8 8: aload 7
getfield java.awt.Rectangle.height:I
iload 6
iload 2
iadd
isub
istore 9
start local 9 9: new java.awt.Rectangle
dup
iload 8
iload 9
iload 1
iload 2
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 9 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 10 0 g Ljava/awt/Graphics;
0 10 1 componentWidth I
0 10 2 componentHeight I
3 10 3 sg2d Lsun/java2d/SunGraphics2D;
4 10 4 sData Lsun/java2d/SurfaceData;
5 10 5 x0 I
6 10 6 y0 I
7 10 7 surfaceBounds Ljava/awt/Rectangle;
8 10 8 x1 I
9 10 9 y1 I
MethodParameters:
Name Flags
g
componentWidth
componentHeight
public static java.awt.Rectangle getOGLScissorBox(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)Ljava/awt/Rectangle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
astore 1
start local 1 3: aload 1
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 2
start local 2 4: aload 1
invokevirtual sun.java2d.SunGraphics2D.getCompClip:()Lsun/java2d/pipe/Region;
astore 3
start local 3 5: aload 3
invokevirtual sun.java2d.pipe.Region.isRectangular:()Z
ifne 7
6: aconst_null
areturn
7: StackMap locals: sun.java2d.SunGraphics2D sun.java2d.SurfaceData sun.java2d.pipe.Region
StackMap stack:
aload 3
invokevirtual sun.java2d.pipe.Region.getLoX:()I
istore 4
start local 4 8: aload 3
invokevirtual sun.java2d.pipe.Region.getLoY:()I
istore 5
start local 5 9: aload 3
invokevirtual sun.java2d.pipe.Region.getWidth:()I
istore 6
start local 6 10: aload 3
invokevirtual sun.java2d.pipe.Region.getHeight:()I
istore 7
start local 7 11: aload 2
invokevirtual sun.java2d.SurfaceData.getBounds:()Ljava/awt/Rectangle;
astore 8
start local 8 12: iload 4
istore 9
start local 9 13: aload 8
getfield java.awt.Rectangle.height:I
iload 5
iload 7
iadd
isub
istore 10
start local 10 14: new java.awt.Rectangle
dup
iload 9
iload 10
iload 6
iload 7
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 10 end local 9 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 15 0 g Ljava/awt/Graphics;
3 15 1 sg2d Lsun/java2d/SunGraphics2D;
4 15 2 sData Lsun/java2d/SurfaceData;
5 15 3 r Lsun/java2d/pipe/Region;
8 15 4 x0 I
9 15 5 y0 I
10 15 6 w I
11 15 7 h I
12 15 8 surfaceBounds Ljava/awt/Rectangle;
13 15 9 x1 I
14 15 10 y1 I
MethodParameters:
Name Flags
g
public static java.lang.Object getOGLSurfaceIdentifier(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 g Ljava/awt/Graphics;
MethodParameters:
Name Flags
g
public static int getOGLSurfaceType(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 1
start local 1 3: aload 1
instanceof sun.java2d.opengl.OGLSurfaceData
ifne 5
4: iconst_0
ireturn
5: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 1
checkcast sun.java2d.opengl.OGLSurfaceData
invokevirtual sun.java2d.opengl.OGLSurfaceData.getType:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 g Ljava/awt/Graphics;
3 6 1 sData Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
g
public static int getOGLTextureType(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof sun.java2d.SunGraphics2D
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 1
start local 1 3: aload 1
instanceof sun.java2d.opengl.OGLSurfaceData
ifne 5
4: iconst_0
ireturn
5: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
aload 1
checkcast sun.java2d.opengl.OGLSurfaceData
invokevirtual sun.java2d.opengl.OGLSurfaceData.getTextureTarget:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 g Ljava/awt/Graphics;
3 6 1 sData Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
g
}
SourceFile: "OGLUtilities.java"