summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Allocation.java
AgeCommit message (Collapse)Author
2014-08-18Fix IO_INPUT with 64-bit.Tim Murray
bug 16846318 bug 17006933 Change-Id: Ic13ef26875d8a6fab1ffb542d62038b768a536ff
2014-08-14Allocation.resize() should throw an exception in API 21+.Tim Murray
bug 16846318 Change-Id: I852331ec226e4cad8be79aa27c4b51183e97cc1d
2014-07-09Update copyFrom(BaseObj[]) for large objects.Tim Murray
Change-Id: I99cadbd1ad925cad0dd357c9abbd1a49c07785c9
2014-06-19am c5b11fcc: am ff83ed2d: am b02dadd4: Merge "Create FieldPacker.getPos() to ↵Stephen Hines
get the actual amount of data used for FP." * commit 'c5b11fcc1f4fc4fba988218d0a99a19690398a56': Create FieldPacker.getPos() to get the actual amount of data used for FP.
2014-06-18Create FieldPacker.getPos() to get the actual amount of data used for FP.Stephen Hines
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
2014-02-10Generic object based data copy.Jason Sams
This change consolidates the copy paths to Object based. The runtime now uses reflection to identify the type of array present. This adds support for long/double and reduces the amount of code present. We could also support arrays of vectors or objects in the future with this mechanism. Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788
2014-01-31Fix getBytesSize for YUV allocations.Tim Murray
bug 12134914 Change-Id: I128e75b756a5bd129077177e254f1db6c94182f1
2014-01-31Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
2014-01-07Fix getBytesSize for YUV allocations.Tim Murray
bug 12134914 Change-Id: I128e75b756a5bd129077177e254f1db6c94182f1
2013-12-17Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d