summaryrefslogtreecommitdiffstats
path: root/rs/java/android/renderscript/FieldPacker.java
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote FieldPack::createFieldPack for alignmentYang Ni2015-04-061-164/+61
| | | | | | | | | | 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
* Adds invocable functions to ScriptGroupYang Ni2015-02-041-2/+284
| | | | | | This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* am ed24d3f2: am db3bcfb8: am 44023a4f: Merge "We need to update mPos when we ↵Stephen Hines2014-06-241-1/+6
|\ | | | | | | | | | | | | copy a FieldPacker via its data[] member." * commit 'ed24d3f2e991906973afce8aa6a3fa54f4a3e4df': We need to update mPos when we copy a FieldPacker via its data[] member.
| * We need to update mPos when we copy a FieldPacker via its data[] member.Stephen Hines2014-06-231-1/+6
| | | | | | | | | | | | | | | | | | | | Bug: 15756600 This change also adds a TODO/FIXME related to subAlign() and our tracking mechanism for it. We need to further investigate how to make subAlign() work properly if a user copies their FieldPacker. Change-Id: I861e529abd11e378f7c73b510d7f418b940fe480
* | am c5b11fcc: am ff83ed2d: am b02dadd4: Merge "Create FieldPacker.getPos() to ↵Stephen Hines2014-06-191-1/+10
|\ \ | |/ | | | | | | | | | | get the actual amount of data used for FP." * commit 'c5b11fcc1f4fc4fba988218d0a99a19690398a56': Create FieldPacker.getPos() to get the actual amount of data used for FP.
| * Create FieldPacker.getPos() to get the actual amount of data used for FP.Stephen Hines2014-06-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need larger buffers to handle 64-bit RS object types, but 32-bit code will never fill all of the getData().length bytes. This allows us to retain our verification code. We have to modify an existing use of FieldPacker that was doing partial updates of the underlying buffer. This was really relying on the old data to be implicitly selected and written back, but that is not guaranteed by the original API. This also required a fix to the FieldPacker.reset() API, which was not allowing the FieldPacker to ever point to the final entry in its buffer. Change-Id: Idcd52790ac2b0ab1eff3f043e7eec2832953f04b
* | am 604ea0e4: am b1c9430c: am 77d28ca2: Merge "Move FieldPacker over to use ↵Tim Murray2014-06-121-0/+6
|\ \ | |/ | | | | | | | | | | large objects on 64-bit." * commit '604ea0e415faa2466ab6c89372001d6c93ad0d98': Move FieldPacker over to use large objects on 64-bit.
| * Move FieldPacker over to use large objects on 64-bit.Tim Murray2014-06-121-0/+6
| | | | | | | | Change-Id: I1d4d502a3f9d86c6cf0f516cc087b1457f86ac28
| * Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-031-3/+11
| | | | | | | | Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
| * Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2014-01-311-0/+602
| | | | Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
* Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-031-3/+11
| | | | Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
* Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2013-12-171-0/+601
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d