class com.sun.prism.es2.ES2Texture<T extends com.sun.prism.es2.ES2TextureData> extends com.sun.prism.impl.BaseTexture<com.sun.prism.es2.ES2TextureResource<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.prism.es2.ES2Texture
super_class: com.sun.prism.impl.BaseTexture
{
final com.sun.prism.es2.ES2Context context;
descriptor: Lcom/sun/prism/es2/ES2Context;
flags: (0x0010) ACC_FINAL
private static volatile int[] $SWITCH_TABLE$com$sun$prism$Texture$WrapMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$com$sun$prism$PixelFormat;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(com.sun.prism.es2.ES2Context, com.sun.prism.es2.ES2TextureResource<T>, com.sun.prism.PixelFormat, com.sun.prism.Texture$WrapMode, int, int, int, int, int, int, );
descriptor: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIZ)V
flags: (0x0000)
Code:
stack=11, locals=12, args_size=12
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 start local 11 0: aload 0
aload 2
aload 3
aload 4
1: iload 5
iload 6
2: iload 7
iload 8
iload 9
iload 10
iload 11
invokespecial com.sun.prism.impl.BaseTexture.<init>:(Lcom/sun/prism/impl/ManagedResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIZ)V
3: aload 0
aload 1
putfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
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 4 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/es2/ES2Texture<TT;>;
0 5 1 context Lcom/sun/prism/es2/ES2Context;
0 5 2 resource Lcom/sun/prism/es2/ES2TextureResource<TT;>;
0 5 3 format Lcom/sun/prism/PixelFormat;
0 5 4 wrapMode Lcom/sun/prism/Texture$WrapMode;
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 useMipmap Z
Signature: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource<TT;>;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIZ)V
MethodParameters:
Name Flags
context
resource
format
wrapMode
physicalWidth
physicalHeight
contentX
contentY
contentWidth
contentHeight
useMipmap
void <init>(com.sun.prism.es2.ES2Context, com.sun.prism.es2.ES2TextureResource<T>, com.sun.prism.PixelFormat, com.sun.prism.Texture$WrapMode, int, int, int, int, int, int, int, int, );
descriptor: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIIIZ)V
flags: (0x0000)
Code:
stack=13, locals=14, args_size=14
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 start local 11 start local 12 start local 13 0: aload 0
aload 2
aload 3
aload 4
1: iload 5
iload 6
2: iload 7
iload 8
iload 9
iload 10
3: iload 11
iload 12
iload 13
invokespecial com.sun.prism.impl.BaseTexture.<init>:(Lcom/sun/prism/impl/ManagedResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIIIZ)V
4: aload 0
aload 1
putfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
5: return
end local 13 end local 12 end local 11 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 6 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
0 6 1 context Lcom/sun/prism/es2/ES2Context;
0 6 2 resource Lcom/sun/prism/es2/ES2TextureResource<TT;>;
0 6 3 format Lcom/sun/prism/PixelFormat;
0 6 4 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 6 5 physicalWidth I
0 6 6 physicalHeight I
0 6 7 contentX I
0 6 8 contentY I
0 6 9 contentWidth I
0 6 10 contentHeight I
0 6 11 maxContentWidth I
0 6 12 maxContentHeight I
0 6 13 useMipmap Z
Signature: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource<TT;>;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIIIZ)V
MethodParameters:
Name Flags
context
resource
format
wrapMode
physicalWidth
physicalHeight
contentX
contentY
contentWidth
contentHeight
maxContentWidth
maxContentHeight
useMipmap
private void <init>(com.sun.prism.es2.ES2Texture, com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/es2/ES2Texture;Lcom/sun/prism/Texture$WrapMode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial com.sun.prism.impl.BaseTexture.<init>:(Lcom/sun/prism/impl/BaseTexture;Lcom/sun/prism/Texture$WrapMode;Z)V
1: aload 0
aload 1
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
putfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
0 3 1 sharedTex Lcom/sun/prism/es2/ES2Texture;
0 3 2 newMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
sharedTex
newMode
protected com.sun.prism.Texture createSharedTexture(com.sun.prism.Texture$WrapMode);
descriptor: (Lcom/sun/prism/Texture$WrapMode;)Lcom/sun/prism/Texture;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.prism.es2.ES2Texture
dup
aload 0
aload 1
invokespecial com.sun.prism.es2.ES2Texture.<init>:(Lcom/sun/prism/es2/ES2Texture;Lcom/sun/prism/Texture$WrapMode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
0 1 1 newMode Lcom/sun/prism/Texture$WrapMode;
MethodParameters:
Name Flags
newMode
static int nextPowerOfTwo(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iload 1
if_icmple 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: goto 5
4: StackMap locals: int
StackMap stack:
iload 2
iconst_2
imul
istore 2
5: StackMap locals:
StackMap stack:
iload 2
iload 0
if_icmplt 4
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 val I
0 7 1 max I
3 7 2 i I
MethodParameters:
Name Flags
val
max
static com.sun.prism.es2.ES2Texture create(com.sun.prism.es2.ES2Context, com.sun.prism.PixelFormat, com.sun.prism.Texture$WrapMode, int, int, boolean);
descriptor: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIZ)Lcom/sun/prism/es2/ES2Texture;
flags: (0x0008) ACC_STATIC
Code:
stack=15, locals=21, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.sun.prism.es2.ES2Context.getResourceFactory:()Lcom/sun/prism/ResourceFactory;
aload 1
invokeinterface com.sun.prism.ResourceFactory.isFormatSupported:(Lcom/sun/prism/PixelFormat;)Z
ifne 6
1: new java.lang.UnsupportedOperationException
dup
2: new java.lang.StringBuilder
dup
ldc "Pixel format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc " not supported on this device"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.prism.PixelFormat.MULTI_YCbCr_420:Lcom/sun/prism/PixelFormat;
if_acmpne 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Format requires multitexturing: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 6
start local 6 9: invokestatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:()[I
aload 2
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 17
2: 10
3: 13
4: 13
5: 18
6: 18
7: 18
default: 19
}
10: StackMap locals: com.sun.prism.es2.GLContext
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.canClampToZero:()Z
ifne 19
11: aload 2
invokevirtual com.sun.prism.Texture$WrapMode.simulatedVersion:()Lcom/sun/prism/Texture$WrapMode;
astore 2
12: goto 19
13: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.canCreateNonPowTwoTextures:()Z
ifne 19
14: iload 3
iload 3
iconst_1
isub
iand
ifne 15
iload 4
iload 4
iconst_1
isub
iand
ifeq 19
15: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.prism.Texture$WrapMode.simulatedVersion:()Lcom/sun/prism/Texture$WrapMode;
astore 2
16: goto 19
17: StackMap locals:
StackMap stack:
goto 19
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot request simulated wrap mode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.getMaxTextureSize:()I
istore 7
start local 7 20: iload 3
istore 10
start local 10 21: iload 4
istore 11
start local 11 22: invokestatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:()[I
aload 2
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 35
2: 35
3: 35
4: 35
5: 23
6: 28
7: 28
default: 35
}
23: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.PixelFormat com.sun.prism.Texture$WrapMode int int int com.sun.prism.es2.GLContext int top top int int
StackMap stack:
iconst_1
istore 8
start local 8 24: iconst_1
istore 9
start local 9 25: iload 10
iconst_2
iadd
istore 12
start local 12 26: iload 11
iconst_2
iadd
istore 13
start local 13 27: goto 39
end local 13 end local 12 end local 9 end local 8 28: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 29: iconst_0
istore 9
start local 9 30: iload 10
istore 12
start local 12 31: iload 11
istore 13
start local 13 32: iload 3
iload 3
iconst_1
isub
iand
ifeq 33
iinc 12 1
33: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.PixelFormat com.sun.prism.Texture$WrapMode int int int com.sun.prism.es2.GLContext int int int int int int int
StackMap stack:
iload 4
iload 4
iconst_1
isub
iand
ifeq 39
iinc 13 1
34: goto 39
end local 13 end local 12 end local 9 end local 8 35: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.PixelFormat com.sun.prism.Texture$WrapMode int int int com.sun.prism.es2.GLContext int top top int int
StackMap stack:
iconst_0
istore 8
start local 8 36: iconst_0
istore 9
start local 9 37: iload 10
istore 12
start local 12 38: iload 11
istore 13
start local 13 39: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.PixelFormat com.sun.prism.Texture$WrapMode int int int com.sun.prism.es2.GLContext int int int int int int int
StackMap stack:
iload 12
iload 7
if_icmpgt 40
iload 13
iload 7
if_icmple 46
40: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
41: new java.lang.StringBuilder
dup
ldc "Requested texture dimensions ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
42: ldc "require dimensions ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 12
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: ldc "that exceed maximum texture size ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
45: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.canCreateNonPowTwoTextures:()Z
ifne 49
47: iload 12
iload 7
invokestatic com.sun.prism.es2.ES2Texture.nextPowerOfTwo:(II)I
istore 12
48: iload 13
iload 7
invokestatic com.sun.prism.es2.ES2Texture.nextPowerOfTwo:(II)I
istore 13
49: StackMap locals:
StackMap stack:
getstatic com.sun.prism.es2.ES2VramPool.instance:Lcom/sun/prism/es2/ES2VramPool;
astore 14
start local 14 50: aload 14
iload 12
iload 13
aload 1
invokevirtual com.sun.prism.es2.ES2VramPool.estimateTextureSize:(IILcom/sun/prism/PixelFormat;)J
lstore 15
start local 15 51: aload 14
lload 15
invokevirtual com.sun.prism.es2.ES2VramPool.prepareForAllocation:(J)Z
ifne 53
52: aconst_null
areturn
53: StackMap locals: com.sun.prism.es2.ES2VramPool long
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 17
start local 17 54: new com.sun.prism.es2.ES2TextureData
dup
aload 0
aload 6
invokevirtual com.sun.prism.es2.GLContext.genAndBindTexture:()I
55: iload 12
iload 13
lload 15
56: invokespecial com.sun.prism.es2.ES2TextureData.<init>:(Lcom/sun/prism/es2/ES2Context;IIIJ)V
57: astore 18
start local 18 58: new com.sun.prism.es2.ES2TextureResource
dup
aload 18
invokespecial com.sun.prism.es2.ES2TextureResource.<init>:(Lcom/sun/prism/es2/ES2TextureData;)V
astore 19
start local 19 59: aload 6
bipush 50
aconst_null
aload 1
60: iload 12
iload 13
61: iload 8
iload 9
62: iconst_0
iconst_0
iload 10
iload 11
iconst_0
iconst_1
iload 5
63: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
istore 20
start local 20 64: aload 6
bipush 53
iload 5
invokevirtual com.sun.prism.es2.GLContext.texParamsMinMax:(IZ)V
65: aload 6
iload 17
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
66: iload 20
ifne 68
67: aconst_null
areturn
68: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.PixelFormat com.sun.prism.Texture$WrapMode int int int com.sun.prism.es2.GLContext int int int int int int int com.sun.prism.es2.ES2VramPool long int com.sun.prism.es2.ES2TextureData com.sun.prism.es2.ES2TextureResource int
StackMap stack:
new com.sun.prism.es2.ES2Texture
dup
aload 0
aload 19
aload 1
aload 2
69: iload 12
iload 13
70: iload 8
iload 9
71: iload 10
iload 11
iload 5
72: invokespecial com.sun.prism.es2.ES2Texture.<init>:(Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIZ)V
areturn
end local 20 end local 19 end local 18 end local 17 end local 15 end local 14 end local 13 end local 12 end local 11 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 73 0 context Lcom/sun/prism/es2/ES2Context;
0 73 1 format Lcom/sun/prism/PixelFormat;
0 73 2 wrapMode Lcom/sun/prism/Texture$WrapMode;
0 73 3 w I
0 73 4 h I
0 73 5 useMipmap Z
9 73 6 glCtx Lcom/sun/prism/es2/GLContext;
20 73 7 maxSize I
24 28 8 contentX I
29 35 8 contentX I
36 73 8 contentX I
25 28 9 contentY I
30 35 9 contentY I
37 73 9 contentY I
21 73 10 contentW I
22 73 11 contentH I
26 28 12 texWidth I
31 35 12 texWidth I
38 73 12 texWidth I
27 28 13 texHeight I
32 35 13 texHeight I
39 73 13 texHeight I
50 73 14 pool Lcom/sun/prism/es2/ES2VramPool;
51 73 15 size J
54 73 17 savedTex I
58 73 18 texData Lcom/sun/prism/es2/ES2TextureData;
59 73 19 texRes Lcom/sun/prism/es2/ES2TextureResource;
64 73 20 result Z
MethodParameters:
Name Flags
context
format
wrapMode
w
h
useMipmap
public static com.sun.prism.Texture create(com.sun.prism.es2.ES2Context, com.sun.prism.MediaFrame);
descriptor: (Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/MediaFrame;)Lcom/sun/prism/Texture;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=13, locals=16, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.prism.MediaFrame.holdFrame:()V
1: aload 1
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
astore 4
start local 4 2: aload 1
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.PixelFormat.MULTI_YCbCr_420:Lcom/sun/prism/PixelFormat;
if_acmpne 27
3: aload 1
invokeinterface com.sun.prism.MediaFrame.getEncodedWidth:()I
istore 5
start local 5 4: aload 1
invokeinterface com.sun.prism.MediaFrame.getEncodedHeight:()I
istore 6
start local 6 5: aload 1
invokeinterface com.sun.prism.MediaFrame.planeCount:()I
istore 7
start local 7 6: new com.sun.prism.MultiTexture
dup
aload 4
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
7: aload 1
invokeinterface com.sun.prism.MediaFrame.getWidth:()I
aload 1
invokeinterface com.sun.prism.MediaFrame.getHeight:()I
8: invokespecial com.sun.prism.MultiTexture.<init>:(Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;II)V
astore 8
start local 8 9: iconst_0
istore 9
start local 9 10: goto 24
11: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.MediaFrame top top com.sun.prism.PixelFormat int int int com.sun.prism.MultiTexture int
StackMap stack:
iload 5
istore 10
start local 10 12: iload 6
istore 11
start local 11 13: iload 9
iconst_2
if_icmpeq 15
14: iload 9
iconst_1
if_icmpne 17
15: StackMap locals: int int
StackMap stack:
iload 10
iconst_2
idiv
istore 10
16: iload 11
iconst_2
idiv
istore 11
17: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.prism.PixelFormat.BYTE_ALPHA:Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
18: iload 10
iload 11
iconst_0
19: invokestatic com.sun.prism.es2.ES2Texture.create:(Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIZ)Lcom/sun/prism/es2/ES2Texture;
20: astore 12
start local 12 21: aload 12
ifnull 23
22: aload 8
aload 12
iload 9
invokevirtual com.sun.prism.MultiTexture.setTexture:(Lcom/sun/prism/Texture;I)V
end local 12 end local 11 end local 10 23: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
24: iload 9
iload 7
if_icmplt 11
end local 9 25: aload 1
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
26: aload 8
areturn
end local 8 end local 7 end local 6 end local 5 27: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.MediaFrame top top com.sun.prism.PixelFormat
StackMap stack:
aload 0
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 6
start local 6 28: aload 6
invokevirtual com.sun.prism.es2.GLContext.getMaxTextureSize:()I
istore 7
start local 7 29: aload 1
invokeinterface com.sun.prism.MediaFrame.getEncodedHeight:()I
istore 5
start local 5 30: aload 1
invokeinterface com.sun.prism.MediaFrame.getEncodedWidth:()I
istore 2
start local 2 31: iload 5
istore 3
start local 3 32: aload 1
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
astore 4
33: aload 6
invokevirtual com.sun.prism.es2.GLContext.canCreateNonPowTwoTextures:()Z
ifne 36
34: iload 2
iload 7
invokestatic com.sun.prism.es2.ES2Texture.nextPowerOfTwo:(II)I
istore 2
35: iload 3
iload 7
invokestatic com.sun.prism.es2.ES2Texture.nextPowerOfTwo:(II)I
istore 3
36: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.MediaFrame int int com.sun.prism.PixelFormat int com.sun.prism.es2.GLContext int
StackMap stack:
getstatic com.sun.prism.es2.ES2VramPool.instance:Lcom/sun/prism/es2/ES2VramPool;
astore 8
start local 8 37: aload 8
iload 2
iload 3
aload 4
invokevirtual com.sun.prism.es2.ES2VramPool.estimateTextureSize:(IILcom/sun/prism/PixelFormat;)J
lstore 9
start local 9 38: aload 8
lload 9
invokevirtual com.sun.prism.es2.ES2VramPool.prepareForAllocation:(J)Z
ifne 40
39: aconst_null
areturn
40: StackMap locals: com.sun.prism.es2.ES2VramPool long
StackMap stack:
aload 6
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 11
start local 11 41: new com.sun.prism.es2.ES2TextureData
dup
aload 0
aload 6
invokevirtual com.sun.prism.es2.GLContext.genAndBindTexture:()I
42: iload 2
iload 3
lload 9
43: invokespecial com.sun.prism.es2.ES2TextureData.<init>:(Lcom/sun/prism/es2/ES2Context;IIIJ)V
44: astore 12
start local 12 45: new com.sun.prism.es2.ES2TextureResource
dup
aload 12
invokespecial com.sun.prism.es2.ES2TextureResource.<init>:(Lcom/sun/prism/es2/ES2TextureData;)V
astore 13
start local 13 46: aload 0
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
bipush 50
47: aload 1
iload 2
iload 3
iconst_1
48: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILcom/sun/prism/MediaFrame;IIZ)Z
istore 14
start local 14 49: aload 6
bipush 53
iconst_0
invokevirtual com.sun.prism.es2.GLContext.texParamsMinMax:(IZ)V
50: aload 6
iload 11
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
51: aconst_null
astore 15
start local 15 52: iload 14
ifeq 57
53: new com.sun.prism.es2.ES2Texture
dup
aload 0
aload 13
aload 4
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
54: iload 2
iload 3
55: iconst_0
iconst_0
aload 1
invokeinterface com.sun.prism.MediaFrame.getWidth:()I
aload 1
invokeinterface com.sun.prism.MediaFrame.getHeight:()I
iconst_0
56: invokespecial com.sun.prism.es2.ES2Texture.<init>:(Lcom/sun/prism/es2/ES2Context;Lcom/sun/prism/es2/ES2TextureResource;Lcom/sun/prism/PixelFormat;Lcom/sun/prism/Texture$WrapMode;IIIIIIZ)V
astore 15
57: StackMap locals: com.sun.prism.es2.ES2Context com.sun.prism.MediaFrame int int com.sun.prism.PixelFormat int com.sun.prism.es2.GLContext int com.sun.prism.es2.ES2VramPool long int com.sun.prism.es2.ES2TextureData com.sun.prism.es2.ES2TextureResource int com.sun.prism.es2.ES2Texture
StackMap stack:
aload 1
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
58: aload 15
areturn
end local 15 end local 14 end local 13 end local 12 end local 11 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 59 0 context Lcom/sun/prism/es2/ES2Context;
0 59 1 frame Lcom/sun/prism/MediaFrame;
31 59 2 texWidth I
32 59 3 texHeight I
2 59 4 format Lcom/sun/prism/PixelFormat;
4 27 5 width I
5 27 6 height I
6 27 7 planeCount I
9 27 8 tex Lcom/sun/prism/MultiTexture;
10 25 9 index I
12 23 10 subWidth I
13 23 11 subHeight I
21 23 12 subTex Lcom/sun/prism/es2/ES2Texture;
30 59 5 encodedHeight I
28 59 6 glCtx Lcom/sun/prism/es2/GLContext;
29 59 7 maxSize I
37 59 8 pool Lcom/sun/prism/es2/ES2VramPool;
38 59 9 size J
41 59 11 savedTex I
45 59 12 texData Lcom/sun/prism/es2/ES2TextureData;
46 59 13 texRes Lcom/sun/prism/es2/ES2TextureResource;
49 59 14 result Z
52 59 15 tex Lcom/sun/prism/es2/ES2Texture;
MethodParameters:
Name Flags
context
frame
private static boolean uploadPixels(com.sun.prism.es2.GLContext, int, java.nio.Buffer, com.sun.prism.PixelFormat, int, int, int, int, int, int, int, int, int, boolean, boolean);
descriptor: (Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=26, args_size=15
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 start local 11 start local 12 start local 13 start local 14 0: iconst_1
istore 15
start local 15 1: getstatic com.sun.prism.es2.ES2Pipeline.glFactory:Lcom/sun/prism/es2/GLFactory;
invokevirtual com.sun.prism.es2.GLFactory.isGL2:()Z
istore 19
start local 19 2: invokestatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
aload 3
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iaload
tableswitch { // 1 - 8
1: 3
2: 3
3: 16
4: 22
5: 26
6: 42
7: 37
8: 30
default: 42
}
3: StackMap locals: com.sun.prism.es2.GLContext int java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int int int int top top top int
StackMap stack:
iconst_4
istore 15
4: bipush 40
istore 16
start local 16 5: bipush 41
istore 17
start local 17 6: iload 19
ifne 14
7: invokestatic com.sun.javafx.PlatformUtil.isIOS:()Z
ifne 12
8: getstatic com.sun.prism.es2.ES2Pipeline.glFactory:Lcom/sun/prism/es2/GLFactory;
ldc "GL_EXT_texture_format_BGRA8888"
invokevirtual com.sun.prism.es2.GLFactory.isGLExtensionSupported:(Ljava/lang/String;)Z
ifeq 11
9: bipush 41
dup
istore 17
istore 16
10: goto 12
11: StackMap locals: com.sun.prism.es2.GLContext int java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int int int int int int top int
StackMap stack:
bipush 40
istore 17
12: StackMap locals:
StackMap stack:
bipush 21
istore 18
start local 18 13: goto 43
end local 18 14: StackMap locals:
StackMap stack:
bipush 22
istore 18
start local 18 15: goto 43
end local 18 end local 17 end local 16 16: StackMap locals: com.sun.prism.es2.GLContext int java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int int int int top top top int
StackMap stack:
iload 19
ifeq 17
bipush 40
goto 18
StackMap locals:
StackMap stack:
17: bipush 42
StackMap locals:
StackMap stack: int
18: istore 16
start local 16 19: bipush 42
istore 17
start local 17 20: bipush 21
istore 18
start local 18 21: goto 43
end local 18 end local 17 end local 16 22: StackMap locals:
StackMap stack:
bipush 43
istore 16
start local 16 23: bipush 43
istore 17
start local 17 24: bipush 21
istore 18
start local 18 25: goto 43
end local 18 end local 17 end local 16 26: StackMap locals:
StackMap stack:
bipush 44
istore 16
start local 16 27: bipush 44
istore 17
start local 17 28: bipush 21
istore 18
start local 18 29: goto 43
end local 18 end local 17 end local 16 30: StackMap locals:
StackMap stack:
iconst_4
istore 15
31: iload 19
ifeq 32
bipush 45
goto 33
StackMap locals:
StackMap stack:
32: bipush 40
StackMap locals:
StackMap stack: int
33: istore 16
start local 16 34: bipush 40
istore 17
start local 17 35: bipush 20
istore 18
start local 18 36: goto 43
end local 18 end local 17 end local 16 37: StackMap locals:
StackMap stack:
iconst_2
istore 15
38: bipush 42
istore 16
start local 16 39: bipush 46
istore 17
start local 17 40: bipush 24
istore 18
start local 18 41: goto 43
end local 18 end local 17 end local 16 42: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Image format not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
start local 16 start local 17 start local 18 43: StackMap locals: com.sun.prism.es2.GLContext int java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int int int int int int int int
StackMap stack:
iload 19
ifne 47
iload 16
iload 17
if_icmpeq 47
invokestatic com.sun.javafx.PlatformUtil.isIOS:()Z
ifne 47
44: new java.lang.InternalError
dup
45: ldc "On ES 2.0 device, internalFormat must match pixelFormat"
46: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
47: StackMap locals:
StackMap stack:
iconst_1
istore 20
start local 20 48: iload 13
ifeq 77
49: aload 0
bipush 60
iconst_1
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
50: aload 3
getstatic com.sun.prism.PixelFormat.FLOAT_XYZW:Lcom/sun/prism/PixelFormat;
if_acmpne 56
iload 16
bipush 40
if_icmpne 56
51: aload 0
iload 1
iconst_0
bipush 40
52: iload 4
iload 5
iconst_0
53: iload 17
iload 18
aconst_null
iload 14
54: invokevirtual com.sun.prism.es2.GLContext.texImage2D:(IIIIIIIILjava/nio/Buffer;Z)Z
istore 20
55: goto 77
56: StackMap locals: int
StackMap stack:
iload 19
ifeq 61
57: bipush 44
istore 21
start local 21 58: bipush 21
istore 22
start local 22 59: iconst_1
istore 23
start local 23 60: goto 64
end local 23 end local 22 end local 21 61: StackMap locals:
StackMap stack:
iload 17
istore 21
start local 21 62: iload 18
istore 22
start local 22 63: aload 3
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
istore 23
start local 23 64: StackMap locals: int int int
StackMap stack:
aconst_null
astore 24
start local 24 65: iload 10
iload 4
if_icmpne 66
iload 11
iload 5
if_icmpeq 68
66: StackMap locals: java.nio.Buffer
StackMap stack:
iload 4
iload 5
imul
iload 23
imul
istore 25
start local 25 67: iload 25
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 24
end local 25 68: StackMap locals:
StackMap stack:
iload 19
ifeq 73
69: aload 0
bipush 61
iconst_0
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
70: aload 0
bipush 62
iconst_0
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
71: aload 0
bipush 63
iconst_0
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
72: aload 0
bipush 60
iload 15
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
73: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_0
iload 16
74: iload 4
iload 5
iconst_0
75: iload 21
iload 22
aload 24
iload 14
76: invokevirtual com.sun.prism.es2.GLContext.texImage2D:(IIIIIIIILjava/nio/Buffer;Z)Z
istore 20
end local 24 end local 23 end local 22 end local 21 77: StackMap locals: com.sun.prism.es2.GLContext int java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int int int int int int int int int
StackMap stack:
aload 2
ifnull 103
78: iload 12
aload 3
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
idiv
istore 21
start local 21 79: iload 19
ifne 88
80: iload 8
ifne 81
iload 9
ifne 81
iload 10
iload 21
if_icmpeq 88
81: StackMap locals: int
StackMap stack:
aload 2
aload 3
82: iload 8
iload 9
iload 10
iload 11
83: iload 12
84: invokestatic com.sun.prism.Image.createPackedBuffer:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIII)Ljava/nio/Buffer;
astore 2
85: iconst_0
dup
istore 9
istore 8
86: iload 10
istore 12
87: iload 12
aload 3
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
idiv
istore 21
88: StackMap locals:
StackMap stack:
aload 0
bipush 60
iload 15
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
89: iload 19
ifeq 94
90: iload 10
iload 21
if_icmpne 93
91: aload 0
bipush 61
iconst_0
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
92: goto 94
93: StackMap locals:
StackMap stack:
aload 0
bipush 61
iload 21
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
94: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.Buffer.position:()I
istore 22
start local 22 95: aload 2
invokestatic com.sun.prism.es2.ES2Texture.getBufferElementSizeLog:(Ljava/nio/Buffer;)I
istore 23
start local 23 96: aload 3
invokevirtual com.sun.prism.PixelFormat.getBytesPerPixelUnit:()I
iload 23
ishr
istore 24
start local 24 97: aload 2
iload 8
iload 24
imul
iload 9
iload 12
iload 23
ishr
imul
iadd
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
98: aload 0
iload 1
iconst_0
99: iload 6
iload 7
iload 10
iload 11
100: iload 17
iload 18
aload 2
101: invokevirtual com.sun.prism.es2.GLContext.texSubImage2D:(IIIIIIIILjava/nio/Buffer;)V
102: aload 2
iload 22
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
end local 24 end local 23 end local 22 end local 21 103: StackMap locals:
StackMap stack:
iload 20
ireturn
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 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 104 0 glCtx Lcom/sun/prism/es2/GLContext;
0 104 1 target I
0 104 2 pixels Ljava/nio/Buffer;
0 104 3 format Lcom/sun/prism/PixelFormat;
0 104 4 texw I
0 104 5 texh I
0 104 6 dstx I
0 104 7 dsty I
0 104 8 srcx I
0 104 9 srcy I
0 104 10 srcw I
0 104 11 srch I
0 104 12 srcscan I
0 104 13 create Z
0 104 14 useMipmap Z
1 104 15 alignment I
5 16 16 internalFormat I
19 22 16 internalFormat I
23 26 16 internalFormat I
27 30 16 internalFormat I
34 37 16 internalFormat I
39 42 16 internalFormat I
43 104 16 internalFormat I
6 16 17 pixelFormat I
20 22 17 pixelFormat I
24 26 17 pixelFormat I
28 30 17 pixelFormat I
35 37 17 pixelFormat I
40 42 17 pixelFormat I
43 104 17 pixelFormat I
13 14 18 pixelType I
15 16 18 pixelType I
21 22 18 pixelType I
25 26 18 pixelType I
29 30 18 pixelType I
36 37 18 pixelType I
41 42 18 pixelType I
43 104 18 pixelType I
2 104 19 isGL2 Z
48 104 20 result Z
58 61 21 initPixelFormat I
62 77 21 initPixelFormat I
59 61 22 initPixelType I
63 77 22 initPixelType I
60 61 23 initBytesPerPixel I
64 77 23 initBytesPerPixel I
65 77 24 initBuf Ljava/nio/Buffer;
67 68 25 initSize I
79 103 21 rowLength I
95 103 22 pos I
96 103 23 bufferElementSizeLog I
97 103 24 elementsInPixel I
MethodParameters:
Name Flags
glCtx
target
pixels
format
texw
texh
dstx
dsty
srcx
srcy
srcw
srch
srcscan
create
useMipmap
private static boolean uploadPixels(com.sun.prism.es2.GLContext, int, com.sun.prism.MediaFrame, int, int, boolean);
descriptor: (Lcom/sun/prism/es2/GLContext;ILcom/sun/prism/MediaFrame;IIZ)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokeinterface com.sun.prism.MediaFrame.holdFrame:()V
1: iconst_1
istore 6
start local 6 2: aload 2
invokeinterface com.sun.prism.MediaFrame.getEncodedWidth:()I
istore 10
start local 10 3: aload 2
invokeinterface com.sun.prism.MediaFrame.getEncodedHeight:()I
istore 11
start local 11 4: iload 11
istore 12
start local 12 5: aload 2
iconst_0
invokeinterface com.sun.prism.MediaFrame.getBufferForPlane:(I)Ljava/nio/ByteBuffer;
astore 13
start local 13 6: invokestatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
aload 2
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 7
2: 20
3: 20
4: 20
5: 20
6: 20
7: 15
default: 20
}
7: StackMap locals: com.sun.prism.es2.GLContext int com.sun.prism.MediaFrame int int int int top top top int int int java.nio.ByteBuffer
StackMap stack:
iconst_4
istore 6
8: bipush 40
istore 7
start local 7 9: bipush 41
istore 8
start local 8 10: aload 13
invokevirtual java.nio.ByteBuffer.order:()Ljava/nio/ByteOrder;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
if_acmpne 13
11: bipush 22
istore 9
start local 9 12: goto 24
end local 9 13: StackMap locals: com.sun.prism.es2.GLContext int com.sun.prism.MediaFrame int int int int int int top int int int java.nio.ByteBuffer
StackMap stack:
bipush 23
istore 9
start local 9 14: goto 24
end local 9 end local 8 end local 7 15: StackMap locals: com.sun.prism.es2.GLContext int com.sun.prism.MediaFrame int int int int top top top int int int java.nio.ByteBuffer
StackMap stack:
iconst_2
istore 6
16: bipush 42
istore 7
start local 7 17: bipush 46
istore 8
start local 8 18: bipush 24
istore 9
start local 9 19: goto 24
end local 9 end local 8 end local 7 20: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
21: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Invalid video image format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 2
invokeinterface com.sun.prism.MediaFrame.getPixelFormat:()Lcom/sun/prism/PixelFormat;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
start local 7 start local 8 start local 9 24: StackMap locals: com.sun.prism.es2.GLContext int com.sun.prism.MediaFrame int int int int int int int int int int java.nio.ByteBuffer
StackMap stack:
iconst_1
istore 14
start local 14 25: iload 5
ifeq 35
26: aload 0
bipush 60
iconst_1
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
27: aconst_null
astore 15
start local 15 28: iload 10
iload 3
if_icmpne 29
iload 12
iload 4
if_icmpeq 31
29: StackMap locals: int java.nio.Buffer
StackMap stack:
iload 3
iload 4
imul
istore 16
start local 16 30: iload 16
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 15
end local 16 31: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_0
iload 7
32: iload 3
iload 4
iconst_0
33: bipush 44
bipush 21
aload 15
iconst_0
34: invokevirtual com.sun.prism.es2.GLContext.texImage2D:(IIIIIIIILjava/nio/Buffer;Z)Z
istore 14
end local 15 35: StackMap locals:
StackMap stack:
aload 13
ifnull 44
36: aload 0
bipush 60
iload 6
invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
37: aload 0
bipush 61
38: aload 2
iconst_0
invokeinterface com.sun.prism.MediaFrame.strideForPlane:(I)I
iload 6
idiv
39: invokevirtual com.sun.prism.es2.GLContext.pixelStorei:(II)V
40: aload 0
iload 1
iconst_0
41: iconst_0
iconst_0
iload 10
aload 2
invokeinterface com.sun.prism.MediaFrame.getHeight:()I
42: iload 8
iload 9
aload 13
43: invokevirtual com.sun.prism.es2.GLContext.texSubImage2D:(IIIIIIIILjava/nio/Buffer;)V
44: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.sun.prism.MediaFrame.releaseFrame:()V
45: iload 14
ireturn
end local 14 end local 13 end local 12 end local 11 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 46 0 glCtx Lcom/sun/prism/es2/GLContext;
0 46 1 target I
0 46 2 frame Lcom/sun/prism/MediaFrame;
0 46 3 texw I
0 46 4 texh I
0 46 5 create Z
2 46 6 alignment I
9 15 7 internalFormat I
17 20 7 internalFormat I
24 46 7 internalFormat I
10 15 8 pixelFormat I
18 20 8 pixelFormat I
24 46 8 pixelFormat I
12 13 9 pixelType I
14 15 9 pixelType I
19 20 9 pixelType I
24 46 9 pixelType I
3 46 10 srcw I
4 46 11 srch I
5 46 12 adjHeight I
6 46 13 pixels Ljava/nio/ByteBuffer;
25 46 14 result Z
28 35 15 initBuf Ljava/nio/Buffer;
30 31 16 initSize I
MethodParameters:
Name Flags
glCtx
target
frame
texw
texh
create
public static int getBufferElementSizeLog(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.nio.ByteBuffer
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.nio.IntBuffer
ifne 3
aload 0
instanceof java.nio.FloatBuffer
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_2
ireturn
4: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported Buffer type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 b Ljava/nio/Buffer;
MethodParameters:
Name Flags
b
void updateWrapState();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getWrapMode:()Lcom/sun/prism/Texture$WrapMode;
astore 1
start local 1 1: aload 0
getfield com.sun.prism.es2.ES2Texture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.es2.ES2TextureResource
invokevirtual com.sun.prism.es2.ES2TextureResource.getResource:()Ljava/lang/Object;
checkcast com.sun.prism.es2.ES2TextureData
astore 2
start local 2 2: aload 2
invokevirtual com.sun.prism.es2.ES2TextureData.getWrapMode:()Lcom/sun/prism/Texture$WrapMode;
aload 1
if_acmpeq 12
3: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 3
start local 3 4: aload 3
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 4
start local 4 5: aload 2
invokevirtual com.sun.prism.es2.ES2TextureData.getTexID:()I
istore 5
start local 5 6: iload 4
iload 5
if_icmpeq 8
7: aload 3
iload 5
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
8: StackMap locals: com.sun.prism.es2.ES2Texture com.sun.prism.Texture$WrapMode com.sun.prism.es2.ES2TextureData com.sun.prism.es2.GLContext int int
StackMap stack:
aload 3
iload 5
aload 1
invokevirtual com.sun.prism.es2.GLContext.updateWrapState:(ILcom/sun/prism/Texture$WrapMode;)V
9: iload 4
iload 5
if_icmpeq 11
10: aload 3
iload 4
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
11: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual com.sun.prism.es2.ES2TextureData.setWrapMode:(Lcom/sun/prism/Texture$WrapMode;)V
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
1 13 1 cWrapMode Lcom/sun/prism/Texture$WrapMode;
2 13 2 texData Lcom/sun/prism/es2/ES2TextureData;
4 12 3 glCtx Lcom/sun/prism/es2/GLContext;
5 12 4 savedTex I
6 12 5 texID I
void updateFilterState();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getLinearFiltering:()Z
istore 1
start local 1 1: aload 0
getfield com.sun.prism.es2.ES2Texture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.es2.ES2TextureResource
invokevirtual com.sun.prism.es2.ES2TextureResource.getResource:()Ljava/lang/Object;
checkcast com.sun.prism.es2.ES2TextureData
astore 2
start local 2 2: aload 2
invokevirtual com.sun.prism.es2.ES2TextureData.isFiltered:()Z
iload 1
if_icmpeq 12
3: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 3
start local 3 4: aload 3
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 4
start local 4 5: aload 2
invokevirtual com.sun.prism.es2.ES2TextureData.getTexID:()I
istore 5
start local 5 6: iload 4
iload 5
if_icmpeq 8
7: aload 3
iload 5
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
8: StackMap locals: com.sun.prism.es2.ES2Texture int com.sun.prism.es2.ES2TextureData com.sun.prism.es2.GLContext int int
StackMap stack:
aload 3
iload 5
iload 1
invokevirtual com.sun.prism.es2.GLContext.updateFilterState:(IZ)V
9: iload 4
iload 5
if_icmpeq 11
10: aload 3
iload 4
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
11: StackMap locals:
StackMap stack:
aload 2
iload 1
invokevirtual com.sun.prism.es2.ES2TextureData.setFiltered:(Z)V
end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
1 13 1 cLFM Z
2 13 2 texData Lcom/sun/prism/es2/ES2TextureData;
4 12 3 glCtx Lcom/sun/prism/es2/GLContext;
5 12 4 savedTex I
6 12 5 texID I
public int getNativeSourceHandle();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.es2.ES2Texture.resource:Lcom/sun/prism/impl/ManagedResource;
checkcast com.sun.prism.es2.ES2TextureResource
invokevirtual com.sun.prism.es2.ES2TextureResource.getResource:()Ljava/lang/Object;
checkcast com.sun.prism.es2.ES2TextureData
invokevirtual com.sun.prism.es2.ES2TextureData.getTexID:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
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=15, locals=25, 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: aload 0
aload 1
aload 2
1: iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
iload 9
2: invokevirtual com.sun.prism.es2.ES2Texture.checkUpdateParams:(Ljava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIII)V
3: iload 10
ifne 5
4: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.flushVertexBuffer:()V
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getNativeSourceHandle:()I
istore 11
start local 11 6: iload 11
ifeq 97
7: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 12
start local 12 8: aload 12
invokevirtual com.sun.prism.es2.GLContext.getActiveTextureUnit:()I
istore 13
start local 13 9: aload 12
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 14
start local 14 10: iconst_0
istore 15
start local 15 11: iconst_0
istore 16
start local 16 12: goto 19
13: StackMap locals: com.sun.prism.es2.ES2Texture java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int com.sun.prism.es2.GLContext int int int int
StackMap stack:
aload 12
iload 16
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:(I)I
iload 11
if_icmpne 18
14: iconst_1
istore 15
15: iload 13
iload 16
if_icmpeq 20
16: aload 12
iload 16
invokevirtual com.sun.prism.es2.GLContext.setActiveTextureUnit:(I)V
17: goto 20
18: StackMap locals:
StackMap stack:
iinc 16 1
StackMap locals:
StackMap stack:
19: iload 16
iconst_2
if_icmplt 13
end local 16 20: StackMap locals:
StackMap stack:
iload 15
ifne 22
21: aload 12
iload 11
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
22: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getContentX:()I
istore 16
start local 16 23: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getContentY:()I
istore 17
start local 17 24: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getContentWidth:()I
istore 18
start local 18 25: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getContentHeight:()I
istore 19
start local 19 26: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getPhysicalWidth:()I
istore 20
start local 20 27: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getPhysicalHeight:()I
istore 21
start local 21 28: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getUseMipmap:()Z
istore 22
start local 22 29: aload 12
bipush 50
30: aload 1
aload 2
31: iload 20
iload 21
32: iload 16
iload 3
iadd
iload 17
iload 4
iadd
33: iload 5
iload 6
iload 7
iload 8
iload 9
iconst_0
iload 22
34: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
35: invokestatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:()[I
aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getWrapMode:()Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iaload
tableswitch { // 3 - 7
3: 36
4: 65
5: 93
6: 37
7: 66
default: 93
}
36: StackMap locals: com.sun.prism.es2.ES2Texture java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int com.sun.prism.es2.GLContext int int int int int int int int int int
StackMap stack:
goto 93
37: StackMap locals:
StackMap stack:
iload 18
iload 20
if_icmpge 38
iload 3
iload 7
iadd
iload 18
if_icmpne 38
iconst_1
goto 39
StackMap locals:
StackMap stack:
38: iconst_0
StackMap locals:
StackMap stack: int
39: istore 23
start local 23 40: iload 19
iload 21
if_icmpge 41
iload 4
iload 8
iadd
iload 19
if_icmpne 41
iconst_1
goto 42
StackMap locals: int
StackMap stack:
41: iconst_0
StackMap locals:
StackMap stack: int
42: istore 24
start local 24 43: iload 23
ifeq 50
44: aload 12
bipush 50
45: aload 1
aload 2
46: iload 20
iload 21
47: iload 16
iload 18
iadd
iload 17
iload 4
iadd
48: iload 5
iload 7
iadd
iconst_1
isub
iload 6
iconst_1
iload 8
iload 9
iconst_0
iload 22
49: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
50: StackMap locals: int
StackMap stack:
iload 24
ifeq 93
51: aload 12
bipush 50
52: aload 1
aload 2
53: iload 20
iload 21
54: iload 16
iload 3
iadd
iload 17
iload 19
iadd
55: iload 5
iload 6
iload 8
iadd
iconst_1
isub
iload 7
iconst_1
iload 9
iconst_0
iload 22
56: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
57: iload 23
ifeq 93
58: aload 12
bipush 50
59: aload 1
aload 2
60: iload 20
iload 21
61: iload 16
iload 18
iadd
iload 17
iload 19
iadd
62: iload 5
iload 7
iadd
iconst_1
isub
iload 6
iload 8
iadd
iconst_1
isub
iconst_1
iconst_1
iload 9
iconst_0
iload 22
63: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
64: goto 93
end local 24 end local 23 65: StackMap locals:
StackMap stack:
goto 93
66: StackMap locals:
StackMap stack:
iload 18
iload 20
if_icmpge 67
iload 3
ifne 67
iconst_1
goto 68
StackMap locals:
StackMap stack:
67: iconst_0
StackMap locals:
StackMap stack: int
68: istore 23
start local 23 69: iload 19
iload 21
if_icmpge 70
iload 4
ifne 70
iconst_1
goto 71
StackMap locals: int
StackMap stack:
70: iconst_0
StackMap locals:
StackMap stack: int
71: istore 24
start local 24 72: iload 23
ifeq 79
73: aload 12
bipush 50
74: aload 1
aload 2
75: iload 20
iload 21
76: iload 16
iload 18
iadd
iload 17
iload 4
iadd
77: iload 5
iload 6
iconst_1
iload 8
iload 9
iconst_0
iload 22
78: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
79: StackMap locals: int
StackMap stack:
iload 24
ifeq 93
80: aload 12
bipush 50
81: aload 1
aload 2
82: iload 20
iload 21
83: iload 16
iload 3
iadd
iload 17
iload 19
iadd
84: iload 5
iload 6
iload 7
iconst_1
iload 9
iconst_0
iload 22
85: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
86: iload 23
ifeq 93
87: aload 12
bipush 50
88: aload 1
aload 2
89: iload 20
iload 21
90: iload 16
iload 18
iadd
iload 17
iload 19
iadd
91: iload 5
iload 6
iconst_1
iconst_1
iload 9
iconst_0
iload 22
92: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILjava/nio/Buffer;Lcom/sun/prism/PixelFormat;IIIIIIIIIZZ)Z
pop
end local 24 end local 23 93: StackMap locals:
StackMap stack:
iload 13
aload 12
invokevirtual com.sun.prism.es2.GLContext.getActiveTextureUnit:()I
if_icmpeq 95
94: aload 12
iload 13
invokevirtual com.sun.prism.es2.GLContext.setActiveTextureUnit:(I)V
95: StackMap locals:
StackMap stack:
iload 14
aload 12
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
if_icmpeq 97
96: aload 12
iload 14
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 97: StackMap locals: com.sun.prism.es2.ES2Texture java.nio.Buffer com.sun.prism.PixelFormat int int int int int int int int int
StackMap stack:
return
end local 11 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 98 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
0 98 1 pixels Ljava/nio/Buffer;
0 98 2 format Lcom/sun/prism/PixelFormat;
0 98 3 dstx I
0 98 4 dsty I
0 98 5 srcx I
0 98 6 srcy I
0 98 7 srcw I
0 98 8 srch I
0 98 9 srcscan I
0 98 10 skipFlush Z
6 98 11 texID I
8 97 12 glCtx Lcom/sun/prism/es2/GLContext;
9 97 13 savedUnit I
10 97 14 savedTex I
11 97 15 alreadyBound Z
12 20 16 i I
23 97 16 contentX I
24 97 17 contentY I
25 97 18 contentW I
26 97 19 contentH I
27 97 20 texWidth I
28 97 21 texHeight I
29 97 22 useMipmap Z
40 65 23 copyR Z
43 65 24 copyL Z
69 93 23 repeatL Z
72 93 24 repeatT Z
MethodParameters:
Name Flags
pixels
format
dstx
dsty
srcx
srcy
srcw
srch
srcscan
skipFlush
public void update(com.sun.prism.MediaFrame, boolean);
descriptor: (Lcom/sun/prism/MediaFrame;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 2
1: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.flushVertexBuffer:()V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getNativeSourceHandle:()I
istore 3
start local 3 3: iload 3
ifeq 28
4: aload 0
getfield com.sun.prism.es2.ES2Texture.context:Lcom/sun/prism/es2/ES2Context;
invokevirtual com.sun.prism.es2.ES2Context.getGLContext:()Lcom/sun/prism/es2/GLContext;
astore 4
start local 4 5: aload 4
invokevirtual com.sun.prism.es2.GLContext.getActiveTextureUnit:()I
istore 5
start local 5 6: aload 4
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: goto 16
10: StackMap locals: com.sun.prism.es2.ES2Texture com.sun.prism.MediaFrame int int com.sun.prism.es2.GLContext int int int int
StackMap stack:
aload 4
iload 8
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:(I)I
iload 3
if_icmpne 15
11: iconst_1
istore 7
12: iload 5
iload 8
if_icmpeq 17
13: aload 4
iload 8
invokevirtual com.sun.prism.es2.GLContext.setActiveTextureUnit:(I)V
14: goto 17
15: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
iconst_2
if_icmplt 10
end local 8 17: StackMap locals:
StackMap stack:
iload 7
ifne 19
18: aload 4
iload 3
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
19: StackMap locals:
StackMap stack:
aload 4
bipush 50
20: aload 1
21: aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getPhysicalWidth:()I
aload 0
invokevirtual com.sun.prism.es2.ES2Texture.getPhysicalHeight:()I
22: iconst_0
23: invokestatic com.sun.prism.es2.ES2Texture.uploadPixels:(Lcom/sun/prism/es2/GLContext;ILcom/sun/prism/MediaFrame;IIZ)Z
pop
24: iload 5
aload 4
invokevirtual com.sun.prism.es2.GLContext.getActiveTextureUnit:()I
if_icmpeq 26
25: aload 4
iload 5
invokevirtual com.sun.prism.es2.GLContext.setActiveTextureUnit:(I)V
26: StackMap locals:
StackMap stack:
iload 6
aload 4
invokevirtual com.sun.prism.es2.GLContext.getBoundTexture:()I
if_icmpeq 28
27: aload 4
iload 6
invokevirtual com.sun.prism.es2.GLContext.setBoundTexture:(I)V
end local 7 end local 6 end local 5 end local 4 28: StackMap locals: com.sun.prism.es2.ES2Texture com.sun.prism.MediaFrame int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/prism/es2/ES2Texture<TT;>;
0 29 1 frame Lcom/sun/prism/MediaFrame;
0 29 2 skipFlush Z
3 29 3 texID I
5 28 4 glCtx Lcom/sun/prism/es2/GLContext;
6 28 5 savedUnit I
7 28 6 savedTex I
8 28 7 alreadyBound Z
9 17 8 i I
MethodParameters:
Name Flags
frame
skipFlush
static int[] $SWITCH_TABLE$com$sun$prism$Texture$WrapMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.Texture$WrapMode.values:()[Lcom/sun/prism/Texture$WrapMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_NOT_NEEDED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.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
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_EDGE_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.prism.Texture$WrapMode.CLAMP_TO_ZERO_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.prism.Texture$WrapMode.REPEAT_SIMULATED:Lcom/sun/prism/Texture$WrapMode;
invokevirtual com.sun.prism.Texture$WrapMode.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$Texture$WrapMode:[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
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$com$sun$prism$PixelFormat();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$PixelFormat:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.PixelFormat.values:()[Lcom/sun/prism/PixelFormat;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_ALPHA:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_5
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.PixelFormat.BYTE_APPLE_422:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 7
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_GRAY:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.prism.PixelFormat.BYTE_RGB:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.prism.PixelFormat.FLOAT_XYZW:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 8
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
iconst_1
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic com.sun.prism.PixelFormat.MULTI_YCbCr_420:Lcom/sun/prism/PixelFormat;
invokevirtual com.sun.prism.PixelFormat.ordinal:()I
bipush 6
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
dup
putstatic com.sun.prism.es2.ES2Texture.$SWITCH_TABLE$com$sun$prism$PixelFormat:[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
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
}
Signature: <T:Lcom/sun/prism/es2/ES2TextureData;>Lcom/sun/prism/impl/BaseTexture<Lcom/sun/prism/es2/ES2TextureResource<TT;>;>;
SourceFile: "ES2Texture.java"
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture