public class sun.java2d.d3d.D3DVolatileSurfaceManager extends sun.awt.image.VolatileSurfaceManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.d3d.D3DVolatileSurfaceManager
super_class: sun.awt.image.VolatileSurfaceManager
{
private boolean accelerationEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int restoreCountdown;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.awt.image.SunVolatileImage, java.lang.Object);
descriptor: (Lsun/awt/image/SunVolatileImage;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.awt.image.VolatileSurfaceManager.<init>:(Lsun/awt/image/SunVolatileImage;Ljava/lang/Object;)V
1: aload 1
invokevirtual sun.awt.image.SunVolatileImage.getTransparency:()I
istore 3
start local 3 2: aload 1
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
3: checkcast sun.java2d.d3d.D3DGraphicsDevice
astore 4
start local 4 4: aload 0
5: iload 3
iconst_1
if_icmpeq 10
6: iload 3
iconst_3
if_icmpne 9
7: aload 4
iconst_2
invokevirtual sun.java2d.d3d.D3DGraphicsDevice.isCapPresent:(I)Z
ifne 10
8: aload 4
iconst_4
invokevirtual sun.java2d.d3d.D3DGraphicsDevice.isCapPresent:(I)Z
ifne 10
StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object int sun.java2d.d3d.D3DGraphicsDevice
StackMap stack: sun.java2d.d3d.D3DVolatileSurfaceManager
9: iconst_0
goto 11
StackMap locals:
StackMap stack: sun.java2d.d3d.D3DVolatileSurfaceManager
10: iconst_1
11: StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager sun.awt.image.SunVolatileImage java.lang.Object int sun.java2d.d3d.D3DGraphicsDevice
StackMap stack: sun.java2d.d3d.D3DVolatileSurfaceManager int
putfield sun.java2d.d3d.D3DVolatileSurfaceManager.accelerationEnabled:Z
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
0 13 1 vImg Lsun/awt/image/SunVolatileImage;
0 13 2 context Ljava/lang/Object;
2 13 3 transparency I
4 13 4 gd Lsun/java2d/d3d/D3DGraphicsDevice;
MethodParameters:
Name Flags
vImg
context
protected boolean isAccelerationEnabled();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.accelerationEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
public void setAccelerationEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.java2d.d3d.D3DVolatileSurfaceManager.accelerationEnabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
0 2 1 accelerationEnabled Z
MethodParameters:
Name Flags
accelerationEnabled
protected sun.java2d.SurfaceData initAcceleratedSurface();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getComponent:()Ljava/awt/Component;
astore 2
start local 2 1: invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
astore 3
start local 3 2: aload 2
ifnull 3
aload 3
aload 2
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
checkcast sun.awt.windows.WComponentPeer
goto 4
StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager top java.awt.Component sun.awt.AWTAccessor$ComponentAccessor
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: sun.awt.windows.WComponentPeer
4: astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.context:Ljava/lang/Object;
instanceof java.lang.Boolean
ifeq 8
7: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.context:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
8: StackMap locals: sun.awt.windows.WComponentPeer int
StackMap stack:
iload 5
ifeq 11
9: aload 4
aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokestatic sun.java2d.d3d.D3DSurfaceData.createData:(Lsun/awt/windows/WComponentPeer;Ljava/awt/Image;)Lsun/java2d/d3d/D3DSurfaceData;
astore 1
start local 1 10: goto 32
end local 1 11: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
checkcast sun.java2d.d3d.D3DGraphicsConfig
12: astore 6
start local 6 13: aload 6
aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getTransparency:()I
invokevirtual sun.java2d.d3d.D3DGraphicsConfig.getColorModel:(I)Ljava/awt/image/ColorModel;
astore 7
start local 7 14: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getForcedAccelSurfaceType:()I
istore 8
start local 8 15: iload 8
ifne 17
16: iconst_5
istore 8
17: StackMap locals: sun.java2d.d3d.D3DGraphicsConfig java.awt.image.ColorModel int
StackMap stack:
aload 6
18: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getWidth:()I
19: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getHeight:()I
20: aload 7
aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
21: iload 8
22: invokestatic sun.java2d.d3d.D3DSurfaceData.createData:(Lsun/java2d/d3d/D3DGraphicsConfig;IILjava/awt/image/ColorModel;Ljava/awt/Image;I)Lsun/java2d/d3d/D3DSurfaceData;
astore 1
end local 8 end local 7 end local 6 end local 5 start local 1 23: goto 32
end local 1 StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager top java.awt.Component sun.awt.AWTAccessor$ComponentAccessor sun.awt.windows.WComponentPeer
StackMap stack: java.lang.NullPointerException
24: pop
25: aconst_null
astore 1
start local 1 26: goto 32
end local 1 27: StackMap locals:
StackMap stack: java.lang.OutOfMemoryError
pop
28: aconst_null
astore 1
start local 1 29: goto 32
end local 1 30: StackMap locals:
StackMap stack: sun.java2d.InvalidPipeException
pop
31: aconst_null
astore 1
start local 1 32: StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager sun.java2d.SurfaceData java.awt.Component sun.awt.AWTAccessor$ComponentAccessor sun.awt.windows.WComponentPeer
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
10 11 1 sData Lsun/java2d/SurfaceData;
23 24 1 sData Lsun/java2d/SurfaceData;
26 27 1 sData Lsun/java2d/SurfaceData;
29 30 1 sData Lsun/java2d/SurfaceData;
32 33 1 sData Lsun/java2d/SurfaceData;
1 33 2 comp Ljava/awt/Component;
2 33 3 acc Lsun/awt/AWTAccessor$ComponentAccessor;
5 33 4 peer Lsun/awt/windows/WComponentPeer;
6 23 5 forceback Z
13 23 6 gc Lsun/java2d/d3d/D3DGraphicsConfig;
14 23 7 cm Ljava/awt/image/ColorModel;
15 23 8 type I
Exception table:
from to target type
5 23 24 Class java.lang.NullPointerException
5 23 27 Class java.lang.OutOfMemoryError
5 23 30 Class sun.java2d.InvalidPipeException
protected boolean isConfigValid(java.awt.GraphicsConfiguration);
descriptor: (Ljava/awt/GraphicsConfiguration;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getGraphicsConfig:()Ljava/awt/GraphicsConfiguration;
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
0 2 1 gc Ljava/awt/GraphicsConfiguration;
MethodParameters:
Name Flags
gc
private synchronized void setRestoreCountdown(int);
descriptor: (I)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.java2d.d3d.D3DVolatileSurfaceManager.restoreCountdown:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
0 2 1 count I
MethodParameters:
Name Flags
count
protected void restoreAcceleratedSurface();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.restoreCountdown:I
ifle 6
2: aload 0
dup
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.restoreCountdown:I
iconst_1
isub
putfield sun.java2d.d3d.D3DVolatileSurfaceManager.restoreCountdown:I
3: new sun.java2d.InvalidPipeException
dup
new java.lang.StringBuilder
dup
ldc "Will attempt to restore surface in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.restoreCountdown:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial sun.java2d.InvalidPipeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.java2d.d3d.D3DVolatileSurfaceManager
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.java2d.d3d.D3DVolatileSurfaceManager.initAcceleratedSurface:()Lsun/java2d/SurfaceData;
astore 1
start local 1 11: aload 1
ifnull 14
12: aload 0
aload 1
putfield sun.java2d.d3d.D3DVolatileSurfaceManager.sdAccel:Lsun/java2d/SurfaceData;
13: goto 15
14: StackMap locals: sun.java2d.SurfaceData
StackMap stack:
new sun.java2d.InvalidPipeException
dup
ldc "could not restore surface"
invokespecial sun.java2d.InvalidPipeException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
11 16 1 sData Lsun/java2d/SurfaceData;
Exception table:
from to target type
1 7 8 any
8 9 8 any
public sun.java2d.SurfaceData restoreContents();
descriptor: ()Lsun/java2d/SurfaceData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.d3d.D3DVolatileSurfaceManager.acceleratedSurfaceLost:()V
1: aload 0
invokespecial sun.awt.image.VolatileSurfaceManager.restoreContents:()Lsun/java2d/SurfaceData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
static void handleVItoScreenOp(sun.java2d.SurfaceData, sun.java2d.SurfaceData);
descriptor: (Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
instanceof sun.java2d.d3d.D3DSurfaceData
ifeq 19
1: aload 1
instanceof sun.java2d.windows.GDIWindowSurfaceData
ifeq 19
2: aload 0
checkcast sun.java2d.d3d.D3DSurfaceData
astore 2
start local 2 3: aload 2
invokevirtual sun.java2d.d3d.D3DSurfaceData.getDestination:()Ljava/lang/Object;
checkcast java.awt.Image
invokestatic sun.awt.image.SurfaceManager.getManager:(Ljava/awt/Image;)Lsun/awt/image/SurfaceManager;
4: astore 3
start local 3 5: aload 3
instanceof sun.java2d.d3d.D3DVolatileSurfaceManager
ifeq 19
6: aload 3
checkcast sun.java2d.d3d.D3DVolatileSurfaceManager
astore 4
start local 4 7: aload 4
ifnull 19
8: aload 2
iconst_1
invokevirtual sun.java2d.d3d.D3DSurfaceData.setSurfaceLost:(Z)V
9: aload 1
checkcast sun.java2d.windows.GDIWindowSurfaceData
astore 5
start local 5 10: aload 5
invokevirtual sun.java2d.windows.GDIWindowSurfaceData.getPeer:()Lsun/awt/windows/WComponentPeer;
astore 6
start local 6 11: aload 6
12: aload 6
invokevirtual sun.awt.windows.WComponentPeer.getGraphicsConfiguration:()Ljava/awt/GraphicsConfiguration;
checkcast sun.awt.Win32GraphicsConfig
13: aload 6
invokevirtual sun.awt.windows.WComponentPeer.getBackBuffersNum:()I
14: invokestatic sun.java2d.d3d.D3DScreenUpdateManager.canUseD3DOnScreen:(Lsun/awt/windows/WComponentPeer;Lsun/awt/Win32GraphicsConfig;I)Z
15: ifeq 18
16: aload 4
bipush 10
invokevirtual sun.java2d.d3d.D3DVolatileSurfaceManager.setRestoreCountdown:(I)V
17: goto 19
18: StackMap locals: sun.java2d.SurfaceData sun.java2d.SurfaceData sun.java2d.d3d.D3DSurfaceData sun.awt.image.SurfaceManager sun.java2d.d3d.D3DVolatileSurfaceManager sun.java2d.windows.GDIWindowSurfaceData sun.awt.windows.WComponentPeer
StackMap stack:
aload 4
iconst_0
invokevirtual sun.java2d.d3d.D3DVolatileSurfaceManager.setAccelerationEnabled:(Z)V
end local 6 end local 5 end local 4 end local 3 end local 2 19: StackMap locals: sun.java2d.SurfaceData sun.java2d.SurfaceData
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 src Lsun/java2d/SurfaceData;
0 20 1 dst Lsun/java2d/SurfaceData;
3 19 2 d3dsd Lsun/java2d/d3d/D3DSurfaceData;
5 19 3 mgr Lsun/awt/image/SurfaceManager;
7 19 4 vsm Lsun/java2d/d3d/D3DVolatileSurfaceManager;
10 19 5 wsd Lsun/java2d/windows/GDIWindowSurfaceData;
11 19 6 p Lsun/awt/windows/WComponentPeer;
MethodParameters:
Name Flags
src
dst
public void initContents();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.d3d.D3DVolatileSurfaceManager.vImg:Lsun/awt/image/SunVolatileImage;
invokevirtual sun.awt.image.SunVolatileImage.getForcedAccelSurfaceType:()I
iconst_3
if_icmpeq 2
1: aload 0
invokespecial sun.awt.image.VolatileSurfaceManager.initContents:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/d3d/D3DVolatileSurfaceManager;
}
SourceFile: "D3DVolatileSurfaceManager.java"
InnerClasses:
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor