public final class sun.awt.X11GraphicsEnvironment extends sun.java2d.SunGraphicsEnvironment
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.awt.X11GraphicsEnvironment
super_class: sun.java2d.SunGraphicsEnvironment
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.util.logging.PlatformLogger screenLog;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.Boolean xinerState;
descriptor: Ljava/lang/Boolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean glxAvailable;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean glxVerbose;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean xRenderVerbose;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean xRenderAvailable;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.Boolean isDisplayLocal;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "sun.awt.X11GraphicsEnvironment"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11GraphicsEnvironment.log:Lsun/util/logging/PlatformLogger;
1: ldc "sun.awt.screen.X11GraphicsEnvironment"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
2: new sun.awt.X11GraphicsEnvironment$1
dup
invokespecial sun.awt.X11GraphicsEnvironment$1.<init>:()V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
4: new sun.java2d.UnixSurfaceManagerFactory
dup
invokespecial sun.java2d.UnixSurfaceManagerFactory.<init>:()V
invokestatic sun.java2d.SurfaceManagerFactory.setInstance:(Lsun/java2d/SurfaceManagerFactory;)V
5: return
LocalVariableTable:
Start End Slot Name Signature
private static native boolean initGLX();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public static boolean isGLXAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.glxAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isGLXVerbose();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.glxVerbose:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static native boolean initXRender(boolean, boolean);
descriptor: (ZZ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
verbose
ignoreLinuxVersion
public static boolean isXRenderAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.xRenderAvailable:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static boolean isXRenderVerbose();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.awt.X11GraphicsEnvironment.xRenderVerbose:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static native int checkShmExt();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.lang.String getDisplayString();
descriptor: ()Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void initDisplay(boolean);
descriptor: (Z)V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
glxRequested
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.java2d.SunGraphicsEnvironment.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11GraphicsEnvironment;
protected native int getNumScreens();
descriptor: ()I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
protected java.awt.GraphicsDevice makeScreenDevice(int);
descriptor: (I)Ljava/awt/GraphicsDevice;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new sun.awt.X11GraphicsDevice
dup
iload 1
invokespecial sun.awt.X11GraphicsDevice.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
0 1 1 screennum I
MethodParameters:
Name Flags
screennum
private native int getDefaultScreenNum();
descriptor: ()I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
public java.awt.GraphicsDevice getDefaultScreenDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
astore 1
start local 1 1: aload 1
arraylength
ifne 3
2: new java.awt.AWTError
dup
ldc "no screen devices"
invokespecial java.awt.AWTError.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.awt.GraphicsDevice[]
StackMap stack:
aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getDefaultScreenNum:()I
istore 2
start local 2 4: aload 1
iload 2
ifle 5
iload 2
aload 1
arraylength
if_icmpge 5
iload 2
goto 6
StackMap locals: sun.awt.X11GraphicsEnvironment java.awt.GraphicsDevice[] int
StackMap stack: java.awt.GraphicsDevice[]
5: iconst_0
StackMap locals: sun.awt.X11GraphicsEnvironment java.awt.GraphicsDevice[] int
StackMap stack: java.awt.GraphicsDevice[] int
6: aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11GraphicsEnvironment;
1 7 1 screens [Ljava/awt/GraphicsDevice;
4 7 2 index I
public boolean isDisplayLocal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
ifnonnull 9
1: invokestatic sun.awt.SunToolkit.awtLock:()V
2: aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
ifnonnull 8
3: aload 0
invokestatic sun.awt.X11GraphicsEnvironment._isDisplayLocal:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: invokestatic sun.awt.SunToolkit.awtUnlock:()V
7: aload 1
athrow
8: StackMap locals:
StackMap stack:
invokestatic sun.awt.SunToolkit.awtUnlock:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11GraphicsEnvironment.isDisplayLocal:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/X11GraphicsEnvironment;
Exception table:
from to target type
2 5 5 any
private static boolean _isDisplayLocal();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=0
0: invokestatic sun.awt.X11GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
new sun.security.action.GetPropertyAction
dup
ldc "sun.java2d.remote"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 4: aload 0
ifnull 6
5: aload 0
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals: java.lang.String
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.checkShmExt:()I
istore 1
start local 1 7: iload 1
iconst_m1
if_icmpeq 10
8: iload 1
iconst_1
if_icmpne 9
iconst_1
ireturn
StackMap locals: int
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11GraphicsEnvironment.getDisplayString:()Ljava/lang/String;
astore 2
start local 2 11: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 12: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 13: iload 3
ifgt 15
14: iconst_1
ireturn
15: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
new sun.awt.X11GraphicsEnvironment$2
dup
aload 4
invokespecial sun.awt.X11GraphicsEnvironment$2.<init>:(Ljava/lang/String;)V
16: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 17: aload 5
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
4 18 0 isRemote Ljava/lang/String;
7 18 1 shm I
11 18 2 display Ljava/lang/String;
12 18 3 ind I
13 18 4 hostName Ljava/lang/String;
17 18 5 result Ljava/lang/Boolean;
public java.lang.String getDefaultFontFaceName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11GraphicsEnvironment;
private static native boolean pRunningXinerama();
descriptor: ()Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native java.awt.Point getXineramaCenterPoint();
descriptor: ()Ljava/awt/Point;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public java.awt.Point getCenterPoint();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.runningXinerama:()Z
ifeq 4
1: invokestatic sun.awt.X11GraphicsEnvironment.getXineramaCenterPoint:()Ljava/awt/Point;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.java2d.SunGraphicsEnvironment.getCenterPoint:()Ljava/awt/Point;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11GraphicsEnvironment;
2 4 1 p Ljava/awt/Point;
public java.awt.Rectangle getMaximumWindowBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.runningXinerama:()Z
ifeq 2
1: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getXineramaWindowBounds:()Ljava/awt/Rectangle;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.java2d.SunGraphicsEnvironment.getMaximumWindowBounds:()Ljava/awt/Rectangle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11GraphicsEnvironment;
public boolean runningXinerama();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic sun.awt.X11GraphicsEnvironment.xinerState:Ljava/lang/Boolean;
ifnonnull 4
1: invokestatic sun.awt.X11GraphicsEnvironment.pRunningXinerama:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putstatic sun.awt.X11GraphicsEnvironment.xinerState:Ljava/lang/Boolean;
2: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 4
3: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Running Xinerama: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.awt.X11GraphicsEnvironment.xinerState:Ljava/lang/Boolean;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
getstatic sun.awt.X11GraphicsEnvironment.xinerState:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11GraphicsEnvironment;
protected java.awt.Rectangle getXineramaWindowBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getCenterPoint:()Ljava/awt/Point;
astore 1
start local 1 1: aload 0
invokevirtual sun.awt.X11GraphicsEnvironment.getScreenDevices:()[Ljava/awt/GraphicsDevice;
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 4
iconst_0
aaload
invokestatic sun.awt.X11GraphicsEnvironment.getUsableBounds:(Ljava/awt/GraphicsDevice;)Ljava/awt/Rectangle;
astore 2
start local 2 4: iconst_0
istore 6
start local 6 5: goto 15
6: StackMap locals: sun.awt.X11GraphicsEnvironment java.awt.Point java.awt.Rectangle top java.awt.GraphicsDevice[] java.awt.Rectangle int
StackMap stack:
aload 4
iload 6
aaload
invokestatic sun.awt.X11GraphicsEnvironment.getUsableBounds:(Ljava/awt/GraphicsDevice;)Ljava/awt/Rectangle;
astore 3
start local 3 7: aload 5
ifnonnull 13
8: aload 3
getfield java.awt.Rectangle.width:I
iconst_2
idiv
aload 3
getfield java.awt.Rectangle.x:I
iadd
aload 1
getfield java.awt.Point.x:I
iconst_1
isub
if_icmple 13
9: aload 3
getfield java.awt.Rectangle.height:I
iconst_2
idiv
aload 3
getfield java.awt.Rectangle.y:I
iadd
aload 1
getfield java.awt.Point.y:I
iconst_1
isub
if_icmple 13
10: aload 3
getfield java.awt.Rectangle.width:I
iconst_2
idiv
aload 3
getfield java.awt.Rectangle.x:I
iadd
aload 1
getfield java.awt.Point.x:I
iconst_1
iadd
if_icmpge 13
11: aload 3
getfield java.awt.Rectangle.height:I
iconst_2
idiv
aload 3
getfield java.awt.Rectangle.y:I
iadd
aload 1
getfield java.awt.Point.y:I
iconst_1
iadd
if_icmpge 13
12: aload 3
astore 5
13: StackMap locals: sun.awt.X11GraphicsEnvironment java.awt.Point java.awt.Rectangle java.awt.Rectangle java.awt.GraphicsDevice[] java.awt.Rectangle int
StackMap stack:
aload 2
aload 3
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 2
14: iinc 6 1
end local 3 StackMap locals: sun.awt.X11GraphicsEnvironment java.awt.Point java.awt.Rectangle top java.awt.GraphicsDevice[] java.awt.Rectangle int
StackMap stack:
15: iload 6
aload 4
arraylength
if_icmplt 6
16: aload 2
getfield java.awt.Rectangle.width:I
iconst_2
idiv
aload 2
getfield java.awt.Rectangle.x:I
iadd
aload 1
getfield java.awt.Point.x:I
iconst_1
isub
if_icmple 23
17: aload 2
getfield java.awt.Rectangle.height:I
iconst_2
idiv
aload 2
getfield java.awt.Rectangle.y:I
iadd
aload 1
getfield java.awt.Point.y:I
iconst_1
isub
if_icmple 23
18: aload 2
getfield java.awt.Rectangle.width:I
iconst_2
idiv
aload 2
getfield java.awt.Rectangle.x:I
iadd
aload 1
getfield java.awt.Point.x:I
iconst_1
iadd
if_icmpge 23
19: aload 2
getfield java.awt.Rectangle.height:I
iconst_2
idiv
aload 2
getfield java.awt.Rectangle.y:I
iadd
aload 1
getfield java.awt.Point.y:I
iconst_1
iadd
if_icmpge 23
20: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 22
21: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
ldc "Video Wall: center point is at center of all displays."
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
aload 2
areturn
23: StackMap locals:
StackMap stack:
aload 5
ifnull 27
24: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 26
25: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
ldc "Center point at center of a particular monitor, but not of the entire virtual display."
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
26: StackMap locals:
StackMap stack:
aload 5
areturn
27: StackMap locals:
StackMap stack:
getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 29
28: getstatic sun.awt.X11GraphicsEnvironment.screenLog:Lsun/util/logging/PlatformLogger;
ldc "Center point is somewhere strange - return union of all bounds."
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
aload 2
areturn
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 30 0 this Lsun/awt/X11GraphicsEnvironment;
1 30 1 center Ljava/awt/Point;
4 30 2 unionRect Ljava/awt/Rectangle;
7 15 3 tempRect Ljava/awt/Rectangle;
2 30 4 gds [Ljava/awt/GraphicsDevice;
3 30 5 centerMonitorRect Ljava/awt/Rectangle;
5 30 6 i I
public void paletteChanged();
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/awt/X11GraphicsEnvironment;
}
SourceFile: "X11GraphicsEnvironment.java"
NestMembers:
sun.awt.X11GraphicsEnvironment$1 sun.awt.X11GraphicsEnvironment$2
InnerClasses:
sun.awt.X11GraphicsEnvironment$1
sun.awt.X11GraphicsEnvironment$2
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger