public final class com.sun.prism.d3d.D3DPipeline extends com.sun.prism.GraphicsPipeline
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.d3d.D3DPipeline
super_class: com.sun.prism.GraphicsPipeline
{
private static final boolean d3dEnabled;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.Thread creator;
descriptor: Ljava/lang/Thread;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.prism.d3d.D3DPipeline theInstance;
descriptor: Lcom/sun/prism/d3d/D3DPipeline;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.prism.d3d.D3DResourceFactory[] factories;
descriptor: [Lcom/sun/prism/d3d/D3DResourceFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
com.sun.prism.d3d.D3DResourceFactory _default;
descriptor: Lcom/sun/prism/d3d/D3DResourceFactory;
flags: (0x0000)
private int maxSamples;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderModel;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: invokedynamic run()Ljava/security/PrivilegedAction;
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:
()Ljava/lang/Object;
com/sun/prism/d3d/D3DPipeline.lambda$0()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic com.sun.prism.d3d.D3DPipeline.d3dEnabled:Z
1: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 5
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Direct3D initialization "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.prism.d3d.D3DPipeline.d3dEnabled:Z
ifeq 3
ldc "succeeded"
goto 4
StackMap locals:
StackMap stack: java.io.PrintStream java.lang.StringBuilder
3: ldc "failed"
StackMap locals:
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifne 6
getstatic com.sun.prism.impl.PrismSettings.disableBadDriverWarning:Z
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 0
start local 0 8: getstatic com.sun.prism.d3d.D3DPipeline.d3dEnabled:Z
ifne 12
iload 0
ifeq 12
9: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 11
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.sun.prism.d3d.D3DPipeline.nGetErrorMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: StackMap locals: int
StackMap stack:
invokestatic com.sun.prism.d3d.D3DPipeline.printDriverWarnings:()V
12: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putstatic com.sun.prism.d3d.D3DPipeline.creator:Ljava/lang/Thread;
13: getstatic com.sun.prism.d3d.D3DPipeline.d3dEnabled:Z
ifeq 16
14: new com.sun.prism.d3d.D3DPipeline
dup
invokespecial com.sun.prism.d3d.D3DPipeline.<init>:()V
putstatic com.sun.prism.d3d.D3DPipeline.theInstance:Lcom/sun/prism/d3d/D3DPipeline;
15: invokestatic com.sun.prism.d3d.D3DPipeline.nGetAdapterCount:()I
anewarray com.sun.prism.d3d.D3DResourceFactory
putstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
end local 0 16: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
8 16 0 printD3DError Z
public static com.sun.prism.d3d.D3DPipeline getInstance();
descriptor: ()Lcom/sun/prism/d3d/D3DPipeline;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.prism.d3d.D3DPipeline.theInstance:Lcom/sun/prism/d3d/D3DPipeline;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean isDriverWarning(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "driver version"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 warningMessage Ljava/lang/String;
MethodParameters:
Name Flags
warningMessage
private static void printDriverWarning(com.sun.prism.d3d.D3DDriverInformation);
descriptor: (Lcom/sun/prism/d3d/D3DDriverInformation;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnull 6
aload 0
getfield com.sun.prism.d3d.D3DDriverInformation.warningMessage:Ljava/lang/String;
ifnull 6
1: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifne 2
aload 0
getfield com.sun.prism.d3d.D3DDriverInformation.warningMessage:Ljava/lang/String;
invokestatic com.sun.prism.d3d.D3DPipeline.isDriverWarning:(Ljava/lang/String;)Z
ifeq 6
2: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Device \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.prism.d3d.D3DDriverInformation.deviceDescription:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "\" ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.prism.d3d.D3DDriverInformation.deviceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") initialization failed : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
getfield com.sun.prism.d3d.D3DDriverInformation.warningMessage:Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 di Lcom/sun/prism/d3d/D3DDriverInformation;
MethodParameters:
Name Flags
di
private static void printDriverWarning(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
new com.sun.prism.d3d.D3DDriverInformation
dup
invokespecial com.sun.prism.d3d.D3DDriverInformation.<init>:()V
invokestatic com.sun.prism.d3d.D3DPipeline.nGetDriverInformation:(ILcom/sun/prism/d3d/D3DDriverInformation;)Lcom/sun/prism/d3d/D3DDriverInformation;
invokestatic com.sun.prism.d3d.D3DPipeline.printDriverWarning:(Lcom/sun/prism/d3d/D3DDriverInformation;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 adapter I
MethodParameters:
Name Flags
adapter
private static void printDriverInformation(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iload 0
new com.sun.prism.d3d.D3DDriverInformation
dup
invokespecial com.sun.prism.d3d.D3DDriverInformation.<init>:()V
invokestatic com.sun.prism.d3d.D3DPipeline.nGetDriverInformation:(ILcom/sun/prism/d3d/D3DDriverInformation;)Lcom/sun/prism/d3d/D3DDriverInformation;
astore 1
start local 1 1: aload 1
ifnull 13
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "OS Information:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.d3d.D3DDriverInformation.getOsVersion:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " build "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.osBuildNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "D3D Driver Information:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.deviceDescription:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.deviceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tDriver "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.driverName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", version "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.prism.d3d.D3DDriverInformation.getDriverVersion:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tPixel Shader version "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.psVersionMajor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.psVersionMinor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tDevice : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.d3d.D3DDriverInformation.getDeviceID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\tMax Multisamples supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.maxSamples:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.warningMessage:Ljava/lang/String;
ifnull 13
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\t *** "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.sun.prism.d3d.D3DDriverInformation.warningMessage:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: StackMap locals: com.sun.prism.d3d.D3DDriverInformation
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 adapter I
1 14 1 di Lcom/sun/prism/d3d/D3DDriverInformation;
MethodParameters:
Name Flags
adapter
private static void printDriverWarnings();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: iconst_0
istore 0
start local 0 1: StackMap locals: int
StackMap stack:
iload 0
new com.sun.prism.d3d.D3DDriverInformation
dup
invokespecial com.sun.prism.d3d.D3DDriverInformation.<init>:()V
invokestatic com.sun.prism.d3d.D3DPipeline.nGetDriverInformation:(ILcom/sun/prism/d3d/D3DDriverInformation;)Lcom/sun/prism/d3d/D3DDriverInformation;
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 1
invokestatic com.sun.prism.d3d.D3DPipeline.printDriverWarning:(Lcom/sun/prism/d3d/D3DDriverInformation;)V
end local 1 4: iinc 0 1
goto 1
end local 0 5: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 5 0 adapter I
2 4 1 di Lcom/sun/prism/d3d/D3DDriverInformation;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.prism.GraphicsPipeline.<init>:()V
1: aload 0
iconst_m1
putfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DPipeline;
public boolean init();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.prism.d3d.D3DPipeline.d3dEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DPipeline;
private static native boolean nInit(java.lang.Class);
descriptor: (Ljava/lang/Class;)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
psClass
private static native java.lang.String nGetErrorMessage();
descriptor: ()Ljava/lang/String;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native void nDispose();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int nGetAdapterOrdinal(long);
descriptor: (J)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
hMonitor
private static native int nGetAdapterCount();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native com.sun.prism.d3d.D3DDriverInformation nGetDriverInformation(int, com.sun.prism.d3d.D3DDriverInformation);
descriptor: (ILcom/sun/prism/d3d/D3DDriverInformation;)Lcom/sun/prism/d3d/D3DDriverInformation;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
adapterOrdinal
object
private static native int nGetMaxSampleSupport(int);
descriptor: (I)I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
adapterOrdinal
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic com.sun.prism.d3d.D3DPipeline.creator:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 6
1: new java.lang.IllegalStateException
dup
2: new java.lang.StringBuilder
dup
ldc "This operation is not permitted on the current thread ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
invokestatic com.sun.prism.d3d.D3DPipeline.notifyAllResourcesReleased:()V
7: invokestatic com.sun.prism.d3d.D3DPipeline.nDispose:()V
8: iconst_0
istore 1
start local 1 9: goto 12
10: StackMap locals: int
StackMap stack:
getstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
iload 1
aconst_null
aastore
11: iinc 1 1
StackMap locals:
StackMap stack:
12: iload 1
getstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
arraylength
if_icmpne 10
end local 1 13: aload 0
invokespecial com.sun.prism.GraphicsPipeline.dispose:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/d3d/D3DPipeline;
9 13 1 i I
private static com.sun.prism.d3d.D3DResourceFactory createResourceFactory(int, com.sun.glass.ui.Screen);
descriptor: (ILcom/sun/glass/ui/Screen;)Lcom/sun/prism/d3d/D3DResourceFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 0
invokestatic com.sun.prism.d3d.D3DResourceFactory.nGetContext:(I)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifeq 2
new com.sun.prism.d3d.D3DResourceFactory
dup
lload 2
aload 1
invokespecial com.sun.prism.d3d.D3DResourceFactory.<init>:(JLcom/sun/glass/ui/Screen;)V
goto 3
StackMap locals: long
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: com.sun.prism.d3d.D3DResourceFactory
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 adapterOrdinal I
0 4 1 screen Lcom/sun/glass/ui/Screen;
1 4 2 pContext J
MethodParameters:
Name Flags
adapterOrdinal
screen
private static com.sun.prism.d3d.D3DResourceFactory getD3DResourceFactory(int, com.sun.glass.ui.Screen);
descriptor: (ILcom/sun/glass/ui/Screen;)Lcom/sun/prism/d3d/D3DResourceFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
iload 0
aaload
astore 2
start local 2 1: aload 2
ifnonnull 4
aload 1
ifnull 4
2: iload 0
aload 1
invokestatic com.sun.prism.d3d.D3DPipeline.createResourceFactory:(ILcom/sun/glass/ui/Screen;)Lcom/sun/prism/d3d/D3DResourceFactory;
astore 2
3: getstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
iload 0
aload 2
aastore
4: StackMap locals: com.sun.prism.d3d.D3DResourceFactory
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 adapterOrdinal I
0 5 1 screen Lcom/sun/glass/ui/Screen;
1 5 2 factory Lcom/sun/prism/d3d/D3DResourceFactory;
MethodParameters:
Name Flags
adapterOrdinal
screen
private static void notifyAllResourcesReleased();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: getstatic com.sun.prism.d3d.D3DPipeline.factories:[Lcom/sun/prism/d3d/D3DResourceFactory;
dup
astore 3
arraylength
istore 2
iconst_0
istore 1
goto 4
StackMap locals: top int int com.sun.prism.d3d.D3DResourceFactory[]
StackMap stack:
1: aload 3
iload 1
aaload
astore 0
start local 0 2: aload 0
ifnull 3
aload 0
invokevirtual com.sun.prism.d3d.D3DResourceFactory.notifyReleased:()V
end local 0 3: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
iload 2
if_icmplt 1
5: return
LocalVariableTable:
Start End Slot Name Signature
2 3 0 rf Lcom/sun/prism/d3d/D3DResourceFactory;
private static com.sun.glass.ui.Screen getScreenForAdapter(java.util.List<com.sun.glass.ui.Screen>, int);
descriptor: (Ljava/util/List;I)Lcom/sun/glass/ui/Screen;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.glass.ui.Screen
astore 2
start local 2 2: aload 2
invokevirtual com.sun.glass.ui.Screen.getAdapterOrdinal:()I
iload 1
if_icmpne 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: invokestatic com.sun.glass.ui.Screen.getMainScreen:()Lcom/sun/glass/ui/Screen;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 screens Ljava/util/List<Lcom/sun/glass/ui/Screen;>;
0 6 1 adapterOrdinal I
2 4 2 screen Lcom/sun/glass/ui/Screen;
Signature: (Ljava/util/List<Lcom/sun/glass/ui/Screen;>;I)Lcom/sun/glass/ui/Screen;
MethodParameters:
Name Flags
screens
adapterOrdinal
public int getAdapterOrdinal(com.sun.glass.ui.Screen);
descriptor: (Lcom/sun/glass/ui/Screen;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.glass.ui.Screen.getNativeScreen:()J
invokestatic com.sun.prism.d3d.D3DPipeline.nGetAdapterOrdinal:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DPipeline;
0 1 1 screen Lcom/sun/glass/ui/Screen;
MethodParameters:
Name Flags
screen
private static com.sun.prism.d3d.D3DResourceFactory findDefaultResourceFactory(java.util.List<com.sun.glass.ui.Screen>);
descriptor: (Ljava/util/List;)Lcom/sun/prism/d3d/D3DResourceFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: invokestatic com.sun.prism.d3d.D3DPipeline.nGetAdapterCount:()I
istore 2
start local 2 2: goto 12
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
iload 1
invokestatic com.sun.prism.d3d.D3DPipeline.getScreenForAdapter:(Ljava/util/List;I)Lcom/sun/glass/ui/Screen;
invokestatic com.sun.prism.d3d.D3DPipeline.getD3DResourceFactory:(ILcom/sun/glass/ui/Screen;)Lcom/sun/prism/d3d/D3DResourceFactory;
4: astore 3
start local 3 5: aload 3
ifnull 9
6: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 8
7: iload 1
invokestatic com.sun.prism.d3d.D3DPipeline.printDriverInformation:(I)V
8: StackMap locals: com.sun.prism.d3d.D3DResourceFactory
StackMap stack:
aload 3
areturn
9: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.PrismSettings.disableBadDriverWarning:Z
ifne 11
10: iload 1
invokestatic com.sun.prism.d3d.D3DPipeline.printDriverWarning:(I)V
end local 3 11: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
12: iload 1
iload 2
if_icmpne 3
end local 2 end local 1 13: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 screens Ljava/util/List<Lcom/sun/glass/ui/Screen;>;
1 13 1 adapter I
2 13 2 n I
5 11 3 rf Lcom/sun/prism/d3d/D3DResourceFactory;
Signature: (Ljava/util/List<Lcom/sun/glass/ui/Screen;>;)Lcom/sun/prism/d3d/D3DResourceFactory;
MethodParameters:
Name Flags
screens
public com.sun.prism.ResourceFactory getDefaultResourceFactory(java.util.List<com.sun.glass.ui.Screen>);
descriptor: (Ljava/util/List;)Lcom/sun/prism/ResourceFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.prism.d3d.D3DPipeline._default:Lcom/sun/prism/d3d/D3DResourceFactory;
ifnonnull 2
1: aload 0
aload 1
invokestatic com.sun.prism.d3d.D3DPipeline.findDefaultResourceFactory:(Ljava/util/List;)Lcom/sun/prism/d3d/D3DResourceFactory;
putfield com.sun.prism.d3d.D3DPipeline._default:Lcom/sun/prism/d3d/D3DResourceFactory;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.d3d.D3DPipeline._default:Lcom/sun/prism/d3d/D3DResourceFactory;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DPipeline;
0 3 1 screens Ljava/util/List<Lcom/sun/glass/ui/Screen;>;
Signature: (Ljava/util/List<Lcom/sun/glass/ui/Screen;>;)Lcom/sun/prism/ResourceFactory;
MethodParameters:
Name Flags
screens
public com.sun.prism.ResourceFactory getResourceFactory(com.sun.glass.ui.Screen);
descriptor: (Lcom/sun/glass/ui/Screen;)Lcom/sun/prism/ResourceFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.glass.ui.Screen.getAdapterOrdinal:()I
aload 1
invokestatic com.sun.prism.d3d.D3DPipeline.getD3DResourceFactory:(ILcom/sun/glass/ui/Screen;)Lcom/sun/prism/d3d/D3DResourceFactory;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DPipeline;
0 1 1 screen Lcom/sun/glass/ui/Screen;
MethodParameters:
Name Flags
screen
public boolean is3DSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DPipeline;
int getMaxSamples();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
ifge 2
1: aload 0
invokevirtual com.sun.prism.d3d.D3DPipeline.isMSAASupported:()Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DPipeline;
public boolean isMSAASupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
ifge 2
1: aload 0
iconst_0
invokestatic com.sun.prism.d3d.D3DPipeline.nGetMaxSampleSupport:(I)I
putfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.d3d.D3DPipeline.maxSamples:I
ifle 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/d3d/D3DPipeline;
public boolean isVsyncSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DPipeline;
public boolean supportsShaderType(com.sun.prism.GraphicsPipeline$ShaderType);
descriptor: (Lcom/sun/prism/GraphicsPipeline$ShaderType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderType:()[I
aload 1
invokevirtual com.sun.prism.GraphicsPipeline$ShaderType.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DPipeline;
0 3 1 type Lcom/sun/prism/GraphicsPipeline$ShaderType;
MethodParameters:
Name Flags
type
public boolean supportsShaderModel(com.sun.prism.GraphicsPipeline$ShaderModel);
descriptor: (Lcom/sun/prism/GraphicsPipeline$ShaderModel;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderModel:()[I
aload 1
invokevirtual com.sun.prism.GraphicsPipeline$ShaderModel.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/d3d/D3DPipeline;
0 3 1 model Lcom/sun/prism/GraphicsPipeline$ShaderModel;
MethodParameters:
Name Flags
model
static int[] $SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.GraphicsPipeline$ShaderType.values:()[Lcom/sun/prism/GraphicsPipeline$ShaderType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.GraphicsPipeline$ShaderType.GLSL:Lcom/sun/prism/GraphicsPipeline$ShaderType;
invokevirtual com.sun.prism.GraphicsPipeline$ShaderType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.prism.GraphicsPipeline$ShaderType.HLSL:Lcom/sun/prism/GraphicsPipeline$ShaderType;
invokevirtual com.sun.prism.GraphicsPipeline$ShaderType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
dup
putstatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderModel();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderModel:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.GraphicsPipeline$ShaderModel.values:()[Lcom/sun/prism/GraphicsPipeline$ShaderModel;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.GraphicsPipeline$ShaderModel.SM3:Lcom/sun/prism/GraphicsPipeline$ShaderModel;
invokevirtual com.sun.prism.GraphicsPipeline$ShaderModel.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
dup
putstatic com.sun.prism.d3d.D3DPipeline.$SWITCH_TABLE$com$sun$prism$GraphicsPipeline$ShaderModel:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
private static java.lang.Boolean lambda$0();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Loading D3D native library ..."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
ldc "prism_d3d"
invokestatic com.sun.glass.utils.NativeLibLoader.loadLibrary:(Ljava/lang/String;)V
3: getstatic com.sun.prism.impl.PrismSettings.verbose:Z
ifeq 5
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "\tsucceeded."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
ldc Lcom/sun/prism/impl/PrismSettings;
invokestatic com.sun.prism.d3d.D3DPipeline.nInit:(Ljava/lang/Class;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "D3DPipeline.java"
InnerClasses:
public final ShaderModel = com.sun.prism.GraphicsPipeline$ShaderModel of com.sun.prism.GraphicsPipeline
public final ShaderType = com.sun.prism.GraphicsPipeline$ShaderType of com.sun.prism.GraphicsPipeline
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles