summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptGroup2.java
AgeCommit message (Collapse)Author
2015-04-21Move new script group API into ScriptGroup classYang Ni
And mark existing methods and builder deprecated. Removed ScriptGroup2 class. Renamed nested class UnboundValue to Input. Marked classes Closure, Future, and Input as final. Change-Id: I362910c115e9d0173dc515674e08bf4878232879
2015-04-14am 09339053: am 6ca1e45a: am 8704ae46: Merge "Add name to ↵Yang Ni
ScriptGroup2.Builder.create() method" * commit '0933905375790eb850334b53fd6d0981bd40e007': Add name to ScriptGroup2.Builder.create() method
2015-04-13Add name to ScriptGroup2.Builder.create() methodYang Ni
This name will be used to name the .so file generated for the script group with fused kernels. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
2015-04-13Add a name to ScriptGroup2.Builder.create methodYang Ni
The name is not used in any meaningful way yet, but would be used to name the file for generated code for fused kernels in other coming CLs. A script group name cannot be null or empty, or longer than 100 characters. It can only contain letters, digits, '-', or '_'. Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
2015-04-07Merge "Add a name to ScriptGroup2.Builder.create method"Yang Ni
2015-04-07Add a name to ScriptGroup2.Builder.create methodYang Ni
The name is not used in any meaningful way yet, but would be used to name the file for generated code for fused kernels in other coming CLs. A script group name cannot be null or empty, or longer than 100 characters. It can only contain letters, digits, '-', or '_'. Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
2015-04-07am 249968b4: am 6bef5eb4: am 6422ee71: Merge "Rewrote ↵Yang Ni
FieldPack::createFieldPack for alignment" * commit '249968b421a8dcfe5a26ec7f524e76295ec5eef5': Rewrote FieldPack::createFieldPack for alignment
2015-04-06Rewrote FieldPack::createFieldPack for alignmentYang Ni
b/20032217 Some data types requires data alignment. This has an impact on the total data size for the FieldPack. Fixed createFiledPack() implementation to handle this correctly. Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
2015-04-01am 02dff422: am 5db6f1fa: am 63dde9c8: Merge "Fix value size data type in ↵Yang Ni
closure creation." * commit '02dff422a7734764e3ce00179f62ba115f2081a5': Fix value size data type in closure creation.
2015-03-31Unhide new ScriptGroup APIYang Ni
This includes the new class ScriptGroup2 and a related change in class Script to add InvokeID. Change-Id: I012dc0a32c65803453022fa534ef05f855ea5ace
2015-03-30Fix value size data type in closure creation.Yang Ni
b/19944127 Also added references to arguments and global values in a closure to keep them live in Java while native code may access them. Change-Id: I1179d34aa67f845578740e71cc2da4f82419f251
2015-03-19New API methods for Script GroupYang Ni
Use a single vararg Object array for both kernel/invoke arguments and global bindings. The assumption is that global bindings are in the end after the kernel/invoke arguments. This simplifies the api to add a kernel or invoke to a script group. Change-Id: I7efb1035c5967e2cadd15e6fe27f20c80ba197a2
2015-03-16Added copyright notice and formatted to conventionYang Ni
Pure format change. No other changes at all. Change-Id: I74a53aa67ef0960f70becaf288b85be40066a0ae
2015-02-04Adds invocable functions to ScriptGroupYang Ni
This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
2015-01-29Pass in code cache directory when creating a script group.Yang Ni
Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
2015-01-07New Script Group API.Yang Ni
Change-Id: I73d3572276a38dac775025b472ba229ad8770c84