class com.sun.glass.ui.monocle.Framebuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.Framebuffer
super_class: java.lang.Object
{
private java.nio.ByteBuffer bb;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int height;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int byteDepth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean receivedData;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer clearBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer lineByteBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.Buffer linePixelBuffer;
descriptor: Ljava/nio/Buffer;
flags: (0x0002) ACC_PRIVATE
private int address;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.nio.ByteBuffer, int, int, int, boolean);
descriptor: (Ljava/nio/ByteBuffer;IIIZ)V
flags: (0x0000)
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: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
2: aload 0
iload 2
putfield com.sun.glass.ui.monocle.Framebuffer.width:I
3: aload 0
iload 3
putfield com.sun.glass.ui.monocle.Framebuffer.height:I
4: aload 0
iload 4
iconst_3
iushr
putfield com.sun.glass.ui.monocle.Framebuffer.byteDepth:I
5: iload 5
ifeq 7
6: aload 0
iload 2
iconst_4
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.Framebuffer.clearBuffer:Ljava/nio/ByteBuffer;
7: StackMap locals: com.sun.glass.ui.monocle.Framebuffer java.nio.ByteBuffer int int int int
StackMap stack:
return
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 8 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
0 8 1 bb Ljava/nio/ByteBuffer;
0 8 2 width I
0 8 3 height I
0 8 4 depth I
0 8 5 clear Z
MethodParameters:
Name Flags
bb
width
height
depth
clear
java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.glass.ui.monocle.Framebuffer.receivedData:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
void setStartAddress(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.glass.ui.monocle.Framebuffer.address:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
0 2 1 address I
MethodParameters:
Name Flags
address
void clearBufferContents();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
imul
iconst_4
imul
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
3: iconst_0
istore 1
start local 1 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.clearBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
6: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.clearBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
7: iinc 1 1
StackMap locals:
StackMap stack:
8: iload 1
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
if_icmplt 5
end local 1 9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
4 9 1 i I
boolean hasReceivedData();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.receivedData:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
void composePixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0000)
Code:
stack=6, locals=18, 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: iload 4
iconst_4
imul
istore 7
start local 7 1: iconst_0
istore 8
start local 8 2: iload 2
ifge 6
3: iload 8
iload 2
iconst_4
imul
isub
istore 8
4: iload 4
iload 2
iadd
istore 4
5: iconst_0
istore 2
6: StackMap locals: int int
StackMap stack:
iload 3
ifge 10
7: iload 8
iload 3
iload 7
imul
isub
istore 8
8: iload 5
iload 3
iadd
istore 5
9: iconst_0
istore 3
10: StackMap locals:
StackMap stack:
iload 2
iload 4
iadd
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
if_icmple 12
11: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
iload 2
isub
istore 4
12: StackMap locals:
StackMap stack:
iload 3
iload 5
iadd
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
if_icmple 14
13: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
iload 3
isub
istore 5
14: StackMap locals:
StackMap stack:
fload 6
fconst_1
invokestatic java.lang.Math.min:(FF)F
ldc 256.0
fmul
invokestatic java.lang.Math.round:(F)I
istore 9
start local 9 15: iload 4
iflt 16
iload 5
iflt 16
iload 9
ifgt 17
16: StackMap locals: int
StackMap stack:
return
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.receivedData:Z
ifne 20
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.clearBuffer:Ljava/nio/ByteBuffer;
ifnull 20
18: iload 9
sipush 256
if_icmplt 19
iload 8
ifne 19
iload 4
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
if_icmpne 19
iload 5
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
if_icmpeq 20
19: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.glass.ui.monocle.Framebuffer.clearBufferContents:()V
20: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
iload 2
iconst_4
imul
iadd
iload 3
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
imul
iconst_4
imul
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
21: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
22: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.receivedData:Z
ifeq 62
23: aload 1
instanceof java.nio.IntBuffer
ifeq 26
24: aload 1
checkcast java.nio.IntBuffer
astore 10
start local 10 25: goto 27
end local 10 26: StackMap locals:
StackMap stack:
aload 1
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 10
start local 10 27: StackMap locals: java.nio.IntBuffer
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 11
start local 11 28: iconst_0
istore 12
start local 12 29: goto 60
30: StackMap locals: java.nio.IntBuffer int
StackMap stack:
iload 12
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
imul
istore 13
start local 13 31: iload 8
iload 12
iload 7
imul
iadd
iconst_2
ishr
istore 14
start local 14 32: iload 9
sipush 255
if_icmplt 49
33: iconst_0
istore 15
start local 15 34: goto 47
35: StackMap locals: int int int
StackMap stack:
aload 10
iload 14
iload 15
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
istore 16
start local 16 36: iload 16
bipush 24
ishr
sipush 255
iand
istore 17
start local 17 37: iload 17
sipush 255
if_icmpne 40
38: aload 11
iload 13
iload 15
iadd
iload 16
invokevirtual java.nio.IntBuffer.put:(II)Ljava/nio/IntBuffer;
pop
39: goto 46
40: StackMap locals: int int
StackMap stack:
aload 11
iload 13
iload 15
iadd
41: iload 16
42: aload 11
iload 13
iload 15
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
43: sipush 256
44: invokestatic com.sun.glass.ui.monocle.Framebuffer.blend32:(III)I
45: invokevirtual java.nio.IntBuffer.put:(II)Ljava/nio/IntBuffer;
pop
end local 17 end local 16 46: StackMap locals:
StackMap stack:
iinc 15 1
StackMap locals:
StackMap stack:
47: iload 15
iload 4
if_icmplt 35
end local 15 48: goto 59
49: StackMap locals:
StackMap stack:
iconst_0
istore 15
start local 15 50: goto 58
51: StackMap locals: int
StackMap stack:
aload 11
iload 13
iload 15
iadd
52: aload 10
iload 14
iload 15
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
53: aload 11
iload 13
iload 15
iadd
invokevirtual java.nio.IntBuffer.get:(I)I
54: iload 9
55: invokestatic com.sun.glass.ui.monocle.Framebuffer.blend32:(III)I
56: invokevirtual java.nio.IntBuffer.put:(II)Ljava/nio/IntBuffer;
pop
57: iinc 15 1
StackMap locals:
StackMap stack:
58: iload 15
iload 4
if_icmplt 51
end local 15 end local 14 end local 13 59: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
60: iload 12
iload 5
if_icmplt 30
end local 12 end local 11 end local 10 61: goto 95
62: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
if_icmpne 73
63: aload 1
instanceof java.nio.ByteBuffer
ifeq 68
64: aload 1
iload 8
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
65: aload 1
iload 7
iload 5
imul
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
66: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 1
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
67: goto 95
68: StackMap locals:
StackMap stack:
aload 1
checkcast java.nio.IntBuffer
astore 10
start local 10 69: aload 10
iload 8
iconst_2
ishr
invokevirtual java.nio.IntBuffer.position:(I)Ljava/nio/Buffer;
pop
70: aload 10
iload 7
iload 5
imul
iconst_2
ishr
invokevirtual java.nio.IntBuffer.limit:(I)Ljava/nio/Buffer;
pop
71: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
aload 10
invokevirtual java.nio.IntBuffer.put:(Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
pop
end local 10 72: goto 95
73: StackMap locals:
StackMap stack:
aload 1
instanceof java.nio.ByteBuffer
ifeq 83
74: iconst_0
istore 10
start local 10 75: goto 81
76: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
iload 2
iconst_4
imul
iadd
iload 3
iload 10
iadd
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
imul
iconst_4
imul
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
77: aload 1
iload 8
iload 10
iload 7
imul
iadd
iload 4
iconst_4
imul
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
78: aload 1
iload 8
iload 10
iload 7
imul
iadd
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
79: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 1
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
80: iinc 10 1
StackMap locals:
StackMap stack:
81: iload 10
iload 5
if_icmplt 76
end local 10 82: goto 95
83: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
84: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.address:I
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
imul
iconst_4
imul
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
85: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 10
start local 10 86: aload 1
checkcast java.nio.IntBuffer
astore 11
start local 11 87: iconst_0
istore 12
start local 12 88: goto 94
89: StackMap locals: java.nio.IntBuffer java.nio.IntBuffer int
StackMap stack:
aload 10
iload 2
iload 3
iload 12
iadd
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
imul
iadd
invokevirtual java.nio.IntBuffer.position:(I)Ljava/nio/Buffer;
pop
90: aload 11
iload 4
iload 8
iload 12
iload 7
imul
iadd
iconst_2
ishr
iadd
invokevirtual java.nio.IntBuffer.limit:(I)Ljava/nio/Buffer;
pop
91: aload 11
iload 8
iload 12
iload 7
imul
iadd
iconst_2
ishr
invokevirtual java.nio.IntBuffer.position:(I)Ljava/nio/Buffer;
pop
92: aload 10
aload 1
checkcast java.nio.IntBuffer
invokevirtual java.nio.IntBuffer.put:(Ljava/nio/IntBuffer;)Ljava/nio/IntBuffer;
pop
93: iinc 12 1
StackMap locals:
StackMap stack:
94: iload 12
iload 5
if_icmplt 89
end local 12 end local 11 end local 10 95: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.glass.ui.monocle.Framebuffer.receivedData:Z
96: return
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 97 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
0 97 1 src Ljava/nio/Buffer;
0 97 2 pX I
0 97 3 pY I
0 97 4 pW I
0 97 5 pH I
0 97 6 alpha F
1 97 7 stride I
2 97 8 start I
15 97 9 alphaMultiplier I
25 26 10 srcPixels Ljava/nio/IntBuffer;
27 61 10 srcPixels Ljava/nio/IntBuffer;
28 61 11 dstPixels Ljava/nio/IntBuffer;
29 61 12 i I
31 59 13 dstPosition I
32 59 14 srcPosition I
34 48 15 j I
36 46 16 srcPixel I
37 46 17 srcA I
50 59 15 j I
69 72 10 srcPixels Ljava/nio/IntBuffer;
75 82 10 i I
86 95 10 dstPixels Ljava/nio/IntBuffer;
87 95 11 srcPixels Ljava/nio/IntBuffer;
88 95 12 i I
MethodParameters:
Name Flags
src
pX
pY
pW
pH
alpha
private static int blend32(int, int, int);
descriptor: (III)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: iload 0
bipush 24
ishr
sipush 255
iand
iload 2
imul
bipush 8
ishr
istore 3
start local 3 1: iload 0
bipush 16
ishr
sipush 255
iand
istore 4
start local 4 2: iload 0
bipush 8
ishr
sipush 255
iand
istore 5
start local 5 3: iload 0
sipush 255
iand
istore 6
start local 6 4: iload 1
bipush 24
ishr
sipush 255
iand
istore 7
start local 7 5: iload 1
bipush 16
ishr
sipush 255
iand
istore 8
start local 8 6: iload 1
bipush 8
ishr
sipush 255
iand
istore 9
start local 9 7: iload 1
sipush 255
iand
istore 10
start local 10 8: iload 4
iload 3
imul
sipush 255
idiv
iload 8
iload 7
imul
sipush 255
iload 3
isub
imul
ldc 65280
idiv
iadd
istore 8
9: iload 5
iload 3
imul
sipush 255
idiv
iload 9
iload 7
imul
sipush 255
iload 3
isub
imul
ldc 65280
idiv
iadd
istore 9
10: iload 6
iload 3
imul
sipush 255
idiv
iload 10
iload 7
imul
sipush 255
iload 3
isub
imul
ldc 65280
idiv
iadd
istore 10
11: iload 3
iload 7
sipush 255
iload 3
isub
imul
sipush 255
idiv
iadd
istore 7
12: iload 7
bipush 24
ishl
iload 8
bipush 16
ishl
ior
iload 9
bipush 8
ishl
ior
iload 10
ior
ireturn
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 13 0 src I
0 13 1 dst I
0 13 2 alphaMultiplier I
1 13 3 srcA I
2 13 4 srcR I
3 13 5 srcG I
4 13 6 srcB I
5 13 7 dstA I
6 13 8 dstR I
7 13 9 dstG I
8 13 10 dstB I
MethodParameters:
Name Flags
src
dst
alphaMultiplier
void write(java.nio.channels.WritableByteChannel);
descriptor: (Ljava/nio/channels/WritableByteChannel;)V
flags: (0x0000)
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.byteDepth:I
iconst_4
if_icmpne 4
2: aload 1
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
pop
3: goto 28
StackMap locals:
StackMap stack:
4: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.byteDepth:I
iconst_2
if_icmpne 28
5: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
ifnonnull 9
6: aload 0
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
iconst_2
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
7: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
8: aload 0
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
putfield com.sun.glass.ui.monocle.Framebuffer.linePixelBuffer:Ljava/nio/Buffer;
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 2
start local 2 10: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.linePixelBuffer:Ljava/nio/Buffer;
checkcast java.nio.ShortBuffer
astore 3
start local 3 11: iconst_0
istore 4
start local 4 12: goto 27
13: StackMap locals: java.nio.IntBuffer java.nio.ShortBuffer int
StackMap stack:
aload 3
invokevirtual java.nio.ShortBuffer.clear:()Ljava/nio/Buffer;
pop
14: iconst_0
istore 5
start local 5 15: goto 23
16: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.nio.IntBuffer.get:()I
istore 6
start local 6 17: iload 6
bipush 19
ishr
bipush 31
iand
ldc 539219
imul
bipush 8
ishr
ldc 63488
iand
istore 7
start local 7 18: iload 6
bipush 10
ishr
bipush 63
iand
ldc 265395
imul
bipush 13
ishr
sipush 2016
iand
istore 8
start local 8 19: iload 6
iconst_3
ishr
bipush 31
iand
ldc 539219
imul
bipush 19
ishr
istore 9
start local 9 20: iload 7
iload 8
ior
iload 9
ior
istore 10
start local 10 21: aload 3
iload 10
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 22: iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
if_icmplt 16
end local 5 24: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
25: aload 1
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.WritableByteChannel.write:(Ljava/nio/ByteBuffer;)I
pop
26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
if_icmplt 13
end local 4 end local 3 end local 2 28: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
0 29 1 out Ljava/nio/channels/WritableByteChannel;
10 28 2 srcPixels Ljava/nio/IntBuffer;
11 28 3 shortBuffer Ljava/nio/ShortBuffer;
12 28 4 i I
15 24 5 j I
17 22 6 pixel32 I
18 22 7 r I
19 22 8 g I
20 22 9 b I
21 22 10 pixel16 I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
void copyToBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
1: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.byteDepth:I
iconst_4
if_icmpne 4
2: aload 1
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
3: goto 28
StackMap locals:
StackMap stack:
4: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.byteDepth:I
iconst_2
if_icmpne 28
5: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
ifnonnull 9
6: aload 0
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
iconst_2
imul
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
7: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
8: aload 0
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
putfield com.sun.glass.ui.monocle.Framebuffer.linePixelBuffer:Ljava/nio/Buffer;
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
astore 2
start local 2 10: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.linePixelBuffer:Ljava/nio/Buffer;
checkcast java.nio.ShortBuffer
astore 3
start local 3 11: iconst_0
istore 4
start local 4 12: goto 27
13: StackMap locals: java.nio.IntBuffer java.nio.ShortBuffer int
StackMap stack:
aload 3
invokevirtual java.nio.ShortBuffer.clear:()Ljava/nio/Buffer;
pop
14: iconst_0
istore 5
start local 5 15: goto 23
16: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.nio.IntBuffer.get:()I
istore 6
start local 6 17: iload 6
bipush 19
ishr
bipush 31
iand
ldc 539219
imul
bipush 8
ishr
ldc 63488
iand
istore 7
start local 7 18: iload 6
bipush 10
ishr
bipush 63
iand
ldc 265395
imul
bipush 13
ishr
sipush 2016
iand
istore 8
start local 8 19: iload 6
iconst_3
ishr
bipush 31
iand
ldc 539219
imul
bipush 19
ishr
istore 9
start local 9 20: iload 7
iload 8
ior
iload 9
ior
istore 10
start local 10 21: aload 3
iload 10
i2s
invokevirtual java.nio.ShortBuffer.put:(S)Ljava/nio/ShortBuffer;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 22: iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.width:I
if_icmplt 16
end local 5 24: aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
25: aload 1
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.lineByteBuffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 0
getfield com.sun.glass.ui.monocle.Framebuffer.height:I
if_icmplt 13
end local 4 end local 3 end local 2 28: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/glass/ui/monocle/Framebuffer;
0 29 1 out Ljava/nio/ByteBuffer;
10 28 2 srcPixels Ljava/nio/IntBuffer;
11 28 3 shortBuffer Ljava/nio/ShortBuffer;
12 28 4 i I
15 24 5 j I
17 22 6 pixel32 I
18 22 7 r I
19 22 8 g I
20 22 9 b I
21 22 10 pixel16 I
MethodParameters:
Name Flags
out
}
SourceFile: "Framebuffer.java"