public class android.renderscript.ProgramVertex$Builder extends android.renderscript.Program$BaseProgramBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.renderscript.ProgramVertex$Builder
super_class: android.renderscript.Program$BaseProgramBuilder
{
public void <init>(android.renderscript.RenderScript);
descriptor: (Landroid/renderscript/RenderScript;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // android.renderscript.ProgramVertex$Builder this
start local 1 // android.renderscript.RenderScript rs
0: .line 94
aload 0 /* this */
aload 1 /* rs */
invokespecial android.renderscript.Program$BaseProgramBuilder.<init>:(Landroid/renderscript/RenderScript;)V
1: .line 95
return
end local 1 // android.renderscript.RenderScript rs
end local 0 // android.renderscript.ProgramVertex$Builder this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/renderscript/ProgramVertex$Builder;
0 2 1 rs Landroid/renderscript/RenderScript;
MethodParameters:
Name Flags
rs
public android.renderscript.ProgramVertex$Builder addInput(android.renderscript.Element);
descriptor: (Landroid/renderscript/Element;)Landroid/renderscript/ProgramVertex$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 // android.renderscript.ProgramVertex$Builder this
start local 1 // android.renderscript.Element e
0: .line 107
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mInputCount:I
bipush 8
if_icmplt 2
1: .line 108
new android.renderscript.RSIllegalArgumentException
dup
ldc "Max input count exceeded."
invokespecial android.renderscript.RSIllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: .line 110
StackMap locals:
StackMap stack:
aload 1 /* e */
invokevirtual android.renderscript.Element.isComplex:()Z
ifeq 4
3: .line 111
new android.renderscript.RSIllegalArgumentException
dup
ldc "Complex elements not allowed."
invokespecial android.renderscript.RSIllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: .line 113
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mInputs:[Landroid/renderscript/Element;
aload 0 /* this */
dup
getfield android.renderscript.ProgramVertex$Builder.mInputCount:I
dup_x1
iconst_1
iadd
putfield android.renderscript.ProgramVertex$Builder.mInputCount:I
aload 1 /* e */
aastore
5: .line 114
aload 0 /* this */
areturn
end local 1 // android.renderscript.Element e
end local 0 // android.renderscript.ProgramVertex$Builder this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/renderscript/ProgramVertex$Builder;
0 6 1 e Landroid/renderscript/Element;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
e
public android.renderscript.ProgramVertex create();
descriptor: ()Landroid/renderscript/ProgramVertex;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 // android.renderscript.ProgramVertex$Builder this
0: .line 124
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.RenderScript.validate:()V
1: .line 125
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mInputCount:I
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mOutputCount:I
iadd
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mConstantCount:I
iadd
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mTextureCount:I
iadd
iconst_2
imul
newarray 11
astore 1 /* tmp */
start local 1 // long[] tmp
2: .line 126
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mTextureCount:I
anewarray java.lang.String
astore 2 /* texNames */
start local 2 // java.lang.String[] texNames
3: .line 127
iconst_0
istore 3 /* idx */
start local 3 // int idx
4: .line 129
iconst_0
istore 4 /* i */
start local 4 // int i
5: goto 9
6: .line 130
StackMap locals: android.renderscript.ProgramVertex$Builder long[] java.lang.String[] int int
StackMap stack:
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
getstatic android.renderscript.Program$ProgramParam.INPUT:Landroid/renderscript/Program$ProgramParam;
getfield android.renderscript.Program$ProgramParam.mID:I
i2l
lastore
7: .line 131
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mInputs:[Landroid/renderscript/Element;
iload 4 /* i */
aaload
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.Element.getID:(Landroid/renderscript/RenderScript;)J
lastore
8: .line 129
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
9: iload 4 /* i */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mInputCount:I
if_icmplt 6
end local 4 // int i
10: .line 133
iconst_0
istore 4 /* i */
start local 4 // int i
11: goto 15
12: .line 134
StackMap locals:
StackMap stack:
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
getstatic android.renderscript.Program$ProgramParam.OUTPUT:Landroid/renderscript/Program$ProgramParam;
getfield android.renderscript.Program$ProgramParam.mID:I
i2l
lastore
13: .line 135
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mOutputs:[Landroid/renderscript/Element;
iload 4 /* i */
aaload
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.Element.getID:(Landroid/renderscript/RenderScript;)J
lastore
14: .line 133
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
15: iload 4 /* i */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mOutputCount:I
if_icmplt 12
end local 4 // int i
16: .line 137
iconst_0
istore 4 /* i */
start local 4 // int i
17: goto 21
18: .line 138
StackMap locals:
StackMap stack:
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
getstatic android.renderscript.Program$ProgramParam.CONSTANT:Landroid/renderscript/Program$ProgramParam;
getfield android.renderscript.Program$ProgramParam.mID:I
i2l
lastore
19: .line 139
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mConstants:[Landroid/renderscript/Type;
iload 4 /* i */
aaload
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
invokevirtual android.renderscript.Type.getID:(Landroid/renderscript/RenderScript;)J
lastore
20: .line 137
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
21: iload 4 /* i */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mConstantCount:I
if_icmplt 18
end local 4 // int i
22: .line 141
iconst_0
istore 4 /* i */
start local 4 // int i
23: goto 28
24: .line 142
StackMap locals:
StackMap stack:
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
getstatic android.renderscript.Program$ProgramParam.TEXTURE_TYPE:Landroid/renderscript/Program$ProgramParam;
getfield android.renderscript.Program$ProgramParam.mID:I
i2l
lastore
25: .line 143
aload 1 /* tmp */
iload 3 /* idx */
iinc 3 /* idx */ 1
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mTextureTypes:[Landroid/renderscript/Program$TextureType;
iload 4 /* i */
aaload
getfield android.renderscript.Program$TextureType.mID:I
i2l
lastore
26: .line 144
aload 2 /* texNames */
iload 4 /* i */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mTextureNames:[Ljava/lang/String;
iload 4 /* i */
aaload
aastore
27: .line 141
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
28: iload 4 /* i */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mTextureCount:I
if_icmplt 24
end local 4 // int i
29: .line 147
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mShader:Ljava/lang/String;
aload 2 /* texNames */
aload 1 /* tmp */
invokevirtual android.renderscript.RenderScript.nProgramVertexCreate:(Ljava/lang/String;[Ljava/lang/String;[J)J
lstore 4 /* id */
start local 4 // long id
30: .line 148
new android.renderscript.ProgramVertex
dup
lload 4 /* id */
aload 0 /* this */
getfield android.renderscript.ProgramVertex$Builder.mRS:Landroid/renderscript/RenderScript;
invokespecial android.renderscript.ProgramVertex.<init>:(JLandroid/renderscript/RenderScript;)V
astore 6 /* pv */
start local 6 // android.renderscript.ProgramVertex pv
31: .line 149
aload 0 /* this */
aload 6 /* pv */
invokevirtual android.renderscript.ProgramVertex$Builder.initProgram:(Landroid/renderscript/Program;)V
32: .line 150
aload 6 /* pv */
areturn
end local 6 // android.renderscript.ProgramVertex pv
end local 4 // long id
end local 3 // int idx
end local 2 // java.lang.String[] texNames
end local 1 // long[] tmp
end local 0 // android.renderscript.ProgramVertex$Builder this
LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Landroid/renderscript/ProgramVertex$Builder;
2 33 1 tmp [J
3 33 2 texNames [Ljava/lang/String;
4 33 3 idx I
5 10 4 i I
11 16 4 i I
17 22 4 i I
23 29 4 i I
30 33 4 id J
31 33 6 pv Landroid/renderscript/ProgramVertex;
}
SourceFile: "ProgramVertex.java"
NestHost: android.renderscript.ProgramVertex
InnerClasses:
public BaseProgramBuilder = android.renderscript.Program$BaseProgramBuilder of android.renderscript.Program
final ProgramParam = android.renderscript.Program$ProgramParam of android.renderscript.Program
public final TextureType = android.renderscript.Program$TextureType of android.renderscript.Program
public Builder = android.renderscript.ProgramVertex$Builder of android.renderscript.ProgramVertex