summaryrefslogtreecommitdiff
path: root/rs/jni/android_renderscript_RenderScript.cpp
AgeCommit message (Collapse)Author
2015-07-23am ed3ffe0f: am 6430812a: Merge "RenderScript: implement a Script entry ↵Stephen Hines
point for calling a reduce-style kernel." * commit 'ed3ffe0fc86de016ff2b4231e2fcc74a6119f6c7': RenderScript: implement a Script entry point for calling a reduce-style kernel.
2015-07-21RenderScript: implement a Script entry point for calling aMatt Wala
reduce-style kernel. Bug: 22631253 This adds a new (currently hidden) API to the Script class and the corresponding code for the RenderScript JNI layer. Change-Id: I40f19aaeb90411b859bd6b0bffc3f071fa327c21
2015-06-30resolved conflicts for merge of a1867fb0 to mnc-dev-plus-aospMiao Wang
Change-Id: Id0266c63c98b4cb37f49eb2e0fb9a98cbc7ee1de
2015-06-30[RenderScript] update the type of offsets for BLAS.BNNMMiao Wang
bug: 22184114 Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491 (cherry picked from commit 6099ee6e081904e73e0fad331e326b0607b6b1dc)
2015-05-19am 77877609: Merge "[RenderScript] fix Allocation.copyToFieldPacker"Miao Wang
* commit '7787760961703239763afad9639517ce02259090': [RenderScript] fix Allocation.copyToFieldPacker
2015-05-19Merge "[RenderScript] fix Allocation.copyToFieldPacker"Miao Wang
2015-05-11[RenderScript] fix Allocation.copyToFieldPackerMiao Wang
Change-Id: Iaba3333f9741238745fdb5c94f1b27b1015d50b2
2015-05-08Merge "Fix print format error."Chih-Hung Hsieh
2015-05-08am 496c07d7: Merge "Moved limit constants for kernel and script group"Yang Ni
* commit '496c07d75425eebb3402abd76c3186fceb67d6b3': Moved limit constants for kernel and script group
2015-05-08Fix print format error.Chih-Hung Hsieh
Change-Id: I284c5e9c44f6dd56a7bb6ff93a1a86cc8f2deefa
2015-05-08Merge "Moved limit constants for kernel and script group"Yang Ni
2015-05-07[RenderScript] typo fix in rs BLAS jni, to correctly handle complexMiao Wang
params. Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
2015-05-07Fix clang warnings on unused variable, mismatched tag, print format.Chih-Hung Hsieh
BUG: 20890093 Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
2015-05-06Moved limit constants for kernel and script groupYang Ni
b/20728113 so that we can share them with support lib. Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40
2015-05-05Fix Allocation-less launchesJason Sams
Cherry-pick fix from AOSP. Error check for kernel launch was generating a false positive. bug 20690242 Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
2015-05-05Merge "Fix Allocation-less launches"Jason Sams
2015-05-04Sanity checks in JNI code for closure creationYang Ni
b/20728113 In case the requested size for memory allocation overflows, or memory allocation fails. Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90 (cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
2015-05-01Sanity checks in JNI code for closure creationYang Ni
b/20728113 In case the requested size for memory allocation overflows, or memory allocation fails. Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90
2015-04-30Merge "[RenderScript] typo fix in rs BLAS jni, to correctly handle complex ↵Miao Wang
params." into mnc-dev
2015-04-30[RenderScript] typo fix in rs BLAS jni, to correctly handle complexMiao Wang
params. Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
2015-04-30Change how Java Bitmaps are accessed in a few placesJohn Reck
Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Attempt #2 to land this, original issue was in getSkBitmap and should be fixed Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
2015-04-20Merge "Revert "Change how Java Bitmaps are accessed in a few places""John Reck
2015-04-20Revert "Change how Java Bitmaps are accessed in a few places"John Reck
Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
2015-04-16Fix Allocation-less launchesJason Sams
Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
2015-04-15am 3d9c9093: am 91d2f27b: am 7f72f747: Merge "Add BNNM intrinsic."Tim Murray
* commit '3d9c9093d1d76d4aeb5f99b1746b65788c72736e': Add BNNM intrinsic.
2015-04-15Merge "Add BNNM intrinsic."Tim Murray
2015-04-14Add BNNM intrinsic.Tim Murray
Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
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-13Merge "Change how Java Bitmaps are accessed in a few places"John Reck
2015-04-13Change how Java Bitmaps are accessed in a few placesJohn Reck
Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
2015-04-10am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the ↵Tim Murray
cache directory." * commit '72fcf9eb1079312afd7bdbee167c759109af4244': Add support for setting the cache directory.
2015-04-09Add support for setting the cache directory.Tim Murray
Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
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-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-19am f8a69f56: am 2ef9955c: Merge "[RenderScript] Remove duplicate include in jni"Miao Wang
* commit 'f8a69f562b7f1c987b5eddd2ee13c04c1a787625': [RenderScript] Remove duplicate include in jni
2015-03-18[RenderScript] Remove duplicate include in jniMiao Wang
Change-Id: Ib6019ab22a83d952dce3fd6f5351120d94b49d58
2015-03-13am bb8c910f: am d2e4a166: Merge "Remove dead path code"Jason Sams
* commit 'bb8c910fc12f304c97c94ee86a3a3da56afe8374': Remove dead path code
2015-03-11Remove dead path codeJason Sams
This API was never shipped and the implementation never finished. Change-Id: I2491db216d6a7a8ea30628d791773f89da5fb4d2
2015-03-08am 989e03f1: am c1e2bf95: am 4b5af9bc: Merge "[RenderScript] Update the java ↵Miao Wang
API about Allocation copyTo & From FieldPacker" * commit '989e03f144e8031f33af08945e845283dddcc8ad': [RenderScript] Update the java API about Allocation copyTo & From FieldPacker
2015-03-08am 449571c4: am 26f1a538: am 8b86ee9f: Merge "[RenderScript] Add missing ↵Miao Wang
variable" * commit '449571c45e47e9b8d118c59dbd909b0d512f7e6d': [RenderScript] Add missing variable
2015-03-08am ec89c1ea: am a61832c8: am 288e6f67: Merge "[RenderScript] AutoPadding & ↵Miao Wang
Unpadding for Vec3 Elements during copyTo & copyFrom." * commit 'ec89c1ea731256cd0d71ee58733b2855e1e6e4fa': [RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom.
2015-03-05[RenderScript] Update the java API about Allocation copyTo & From FieldPackerMiao Wang
Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
2015-03-05[RenderScript] Add missing variableMiao Wang
Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971
2015-03-05Cleanup Bitmap JNI attempt #2John Reck
Original version missed a spot This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b. Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
2015-03-05Revert "Cleanup Bitmap JNI"Chad Jones
This reverts commit b2915245b74b3b5541b123e38403f8e26426b4b7. Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
2015-03-05Cleanup Bitmap JNIJohn Reck
Fix a bunch of places where mNativeBitmap was being poked at directly, switch them either to the NDK API or to GraphicsJNI where it made sense Change-Id: I6b3df3712d6497cba828c2d3012e725cb4ebb64d
2015-03-04[RenderScript] AutoPadding & Unpadding for Vec3 Elements duringMiao Wang
copyTo & copyFrom. Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
2015-02-25[Renderscript] JAVA API update for Allocation.CopyToMiao Wang
add the following functions to make it more symmetric to copyFrom(). - copy1DRangeToUnchecked, copy1DRangeTo - copy2DRangeToUnchecked, copy2DRangeTo - copy3DRangeToUnchecked, copy3DRangeTo - setFromFieldPacker, 2D and 3D variants - copyElementTo, (1D, 2D & 3D) Change-Id: I6b896123e1c00cead552aa5b31a701b15dd70f85
2015-02-17Add BLAS intrinsic.Tim Murray
Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324