class com.sun.prism.d3d.D3DRTTexture extends com.sun.prism.d3d.D3DTexture implements com.sun.prism.d3d.D3DRenderTarget, com.sun.prism.RTTexture, com.sun.prism.ReadbackRenderTarget
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.d3d.D3DRTTexture
super_class: com.sun.prism.d3d.D3DTexture
{
private boolean opaque;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.prism.d3d.D3DContext, com.sun.prism.Texture$WrapMode, long, int, int, int, int);
descriptor: (Lcom/sun/prism/d3d/D3DContext;Lcom/sun/prism/Texture$WrapMode;JIIII)V
flags: (0x0000)
Code:
stack=11, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
aload 2
lload 3
1: iload 5
iload 6
2: iload 7
iload 8
iconst_1
invokespecial com.sun.prism.d3d.D3DTexture.<init>:(Lcom/sun/prism/d3d/D3DContext;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;JIIIIZ)V
3: aload 0
iconst_0
putfield com.sun.prism.d3d.D3DRTTexture.opaque:Z
4: return
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 5 1 context Lcom/sun/prism/d3d/D3DContext;
0 5 2 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 5 3 pResource J
0 5 5 physicalWidth I
0 5 6 physicalHeight I
0 5 7 contentWidth I
0 5 8 contentHeight I
MethodParameters:
Name Flags
context
wrapMode
pResource
physicalWidth
physicalHeight
contentWidth
contentHeight
void <init>(com.sun.prism.d3d.D3DContext, com.sun.prism.Texture$WrapMode, long, int, int, int, int, int, int, int);
descriptor: (Lcom/sun/prism/d3d/D3DContext;Lcom/sun/prism/Texture$WrapMode;JIIIIIII)V
flags: (0x0000)
Code:
stack=15, locals=12, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 1
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
aload 2
lload 3
1: iload 5
iload 6
2: iload 7
iload 8
iload 9
iload 10
iconst_1
iload 11
iconst_0
invokespecial com.sun.prism.d3d.D3DTexture.<init>:(Lcom/sun/prism/d3d/D3DContext;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;JIIIIIIZIZ)V
3: aload 0
iconst_0
putfield com.sun.prism.d3d.D3DRTTexture.opaque:Z
4: return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 5 1 context Lcom/sun/prism/d3d/D3DContext;
0 5 2 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 5 3 pResource J
0 5 5 physicalWidth I
0 5 6 physicalHeight I
0 5 7 contentX I
0 5 8 contentY I
0 5 9 contentWidth I
0 5 10 contentHeight I
0 5 11 samples I
MethodParameters:
Name Flags
context
wrapMode
pResource
physicalWidth
physicalHeight
contentX
contentY
contentWidth
contentHeight
samples
public com.sun.prism.Texture getBackBuffer();
descriptor: ()Lcom/sun/prism/Texture;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public long getResourceHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DRTTexture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.d3d.D3DTextureResource
invokevirtual com.sun.prism.d3d.D3DTextureResource.getResource:()Ljava/lang/Object;
checkcast com.sun.prism.d3d.D3DTextureData
invokevirtual com.sun.prism.d3d.D3DTextureData.getResource:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public com.sun.prism.Graphics createGraphics();
descriptor: ()Lcom/sun/prism/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokestatic com.sun.prism.d3d.D3DGraphics.create:(Lcom/sun/prism/RenderTarget;Lcom/sun/prism/d3d/D3DContext;)Lcom/sun/prism/Graphics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public int[] getPixels();
descriptor: ()[I
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 Lcom/sun/prism/d3d/D3DRTTexture;
public boolean readPixels(java.nio.Buffer, int, int, int, int);
descriptor: (Ljava/nio/Buffer;IIII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentX:()I
if_icmpne 2
iload 3
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentY:()I
if_icmpne 2
1: iload 4
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentWidth:()I
if_icmpne 2
iload 5
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentHeight:()I
if_icmpeq 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "reading subtexture not yet supported!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.prism.d3d.D3DRTTexture.readPixels:(Ljava/nio/Buffer;)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
0 4 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 4 1 pixels Ljava/nio/Buffer;
0 4 2 x I
0 4 3 y I
0 4 4 width I
0 4 5 height I
MethodParameters:
Name Flags
pixels
x
y
width
height
public boolean readPixels(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokevirtual com.sun.prism.d3d.D3DContext.flushVertexBuffer:()V
1: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokevirtual com.sun.prism.d3d.D3DContext.getContextHandle:()J
lstore 2
start local 2 2: iconst_0
istore 4
start local 4 3: aload 1
instanceof java.nio.ByteBuffer
ifeq 14
4: aload 1
checkcast java.nio.ByteBuffer
astore 5
start local 5 5: aload 5
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 6
aload 5
invokevirtual java.nio.ByteBuffer.array:()[B
goto 7
StackMap locals: long int java.nio.ByteBuffer
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: byte[]
7: astore 6
start local 6 8: aload 5
invokevirtual java.nio.ByteBuffer.capacity:()I
i2l
lstore 7
start local 7 9: lload 2
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getNativeSourceHandle:()J
10: lload 7
aload 1
aload 6
11: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentWidth:()I
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentHeight:()I
12: invokestatic com.sun.prism.d3d.D3DResourceFactory.nReadPixelsB:(JJJLjava/nio/Buffer;[BII)I
istore 4
end local 7 end local 6 end local 5 13: goto 28
StackMap locals:
StackMap stack:
14: aload 1
instanceof java.nio.IntBuffer
ifeq 25
15: aload 1
checkcast java.nio.IntBuffer
astore 5
start local 5 16: aload 5
invokevirtual java.nio.IntBuffer.hasArray:()Z
ifeq 17
aload 5
invokevirtual java.nio.IntBuffer.array:()[I
goto 18
StackMap locals: java.nio.IntBuffer
StackMap stack:
17: aconst_null
StackMap locals:
StackMap stack: int[]
18: astore 6
start local 6 19: aload 5
invokevirtual java.nio.IntBuffer.capacity:()I
iconst_4
imul
i2l
lstore 7
start local 7 20: lload 2
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getNativeSourceHandle:()J
21: lload 7
aload 1
aload 6
22: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentWidth:()I
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContentHeight:()I
23: invokestatic com.sun.prism.d3d.D3DResourceFactory.nReadPixelsI:(JJJLjava/nio/Buffer;[III)I
istore 4
end local 7 end local 6 end local 5 24: goto 28
25: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Buffer of this type is not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
iload 4
invokevirtual com.sun.prism.d3d.D3DContext.validatePresent:(I)Z
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 29 1 pixels Ljava/nio/Buffer;
2 29 2 ctx J
3 29 4 res I
5 13 5 buf Ljava/nio/ByteBuffer;
8 13 6 arr [B
9 13 7 length J
16 24 5 buf Ljava/nio/IntBuffer;
19 24 6 arr [I
20 24 7 length J
MethodParameters:
Name Flags
pixels
public com.sun.glass.ui.Screen getAssociatedScreen();
descriptor: ()Lcom/sun/glass/ui/Screen;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokevirtual com.sun.prism.d3d.D3DContext.getAssociatedScreen:()Lcom/sun/glass/ui/Screen;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public void update(com.sun.prism.Image);
descriptor: (Lcom/sun/prism/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "update() not supported for RTTextures"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 1 1 img Lcom/sun/prism/Image;
MethodParameters:
Name Flags
img
public void update(com.sun.prism.Image, int, int);
descriptor: (Lcom/sun/prism/Image;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
ldc "update() not supported for RTTextures"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 1 1 img Lcom/sun/prism/Image;
0 1 2 dstx I
0 1 3 dsty I
MethodParameters:
Name Flags
img
dstx
dsty
public void update(com.sun.prism.Image, int, int, int, int);
descriptor: (Lcom/sun/prism/Image;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.lang.UnsupportedOperationException
dup
ldc "update() not supported for RTTextures"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
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 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 1 1 img Lcom/sun/prism/Image;
0 1 2 dstx I
0 1 3 dsty I
0 1 4 w I
0 1 5 h I
MethodParameters:
Name Flags
img
dstx
dsty
w
h
public void update(com.sun.prism.Image, int, int, int, int, boolean);
descriptor: (Lcom/sun/prism/Image;IIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new java.lang.UnsupportedOperationException
dup
ldc "update() not supported for RTTextures"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
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 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 1 1 img Lcom/sun/prism/Image;
0 1 2 dstx I
0 1 3 dsty I
0 1 4 w I
0 1 5 h I
0 1 6 skipFlush Z
MethodParameters:
Name Flags
img
dstx
dsty
w
h
skipFlush
public void update(java.nio.Buffer, com.sun.prism.PixelFormat, int, int, int, int, int, int, int, boolean);
descriptor: (Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: new java.lang.UnsupportedOperationException
dup
ldc "update() not supported for RTTextures"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
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 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 1 1 pixels Ljava/nio/Buffer;
0 1 2 format Lcom/sun/prism/PixelFormat;
0 1 3 dstx I
0 1 4 dsty I
0 1 5 srcx I
0 1 6 srcy I
0 1 7 srcw I
0 1 8 srch I
0 1 9 srcscan I
0 1 10 skipFlush Z
MethodParameters:
Name Flags
pixels
format
dstx
dsty
srcx
srcy
srcw
srch
srcscan
skipFlush
public void setOpaque(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 com.sun.prism.d3d.D3DRTTexture.opaque:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/d3d/D3DRTTexture;
0 2 1 isOpaque Z
MethodParameters:
Name Flags
isOpaque
public boolean isOpaque();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DRTTexture.opaque:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public boolean isVolatile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.d3d.D3DRTTexture.getContext:()Lcom/sun/prism/d3d/D3DContext;
invokevirtual com.sun.prism.d3d.D3DContext.isRTTVolatile:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/d3d/D3DRTTexture;
public boolean isMSAA();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.d3d.D3DRTTexture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.d3d.D3DTextureResource
invokevirtual com.sun.prism.d3d.D3DTextureResource.getResource:()Ljava/lang/Object;
checkcast com.sun.prism.d3d.D3DTextureData
invokevirtual com.sun.prism.d3d.D3DTextureData.getSamples:()I
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/d3d/D3DRTTexture;
}
SourceFile: "D3DRTTexture.java"
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture