summaryrefslogtreecommitdiffstats
path: root/rs/jni
Commit message (Collapse)AuthorAgeFilesLines
* [RenderScript] pass correct length of ains to BLAS functionsMiao Wang2015-10-091-4/+4
| | | | | | bug: 24540091 Change-Id: Ia541bcbee07125c4caf3e0f4863702a3c0b929d5 (cherry picked from commit 0b34f2a3c545cb112a23072c92214e359a8df8c6)
* [RenderScript] update the type of offsets for BLAS.BNNMMiao Wang2015-06-301-2/+2
| | | | | | bug: 22184114 Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
* Moved limit constants for kernel and script groupYang Ni2015-05-111-7/+4
| | | | | | | | | b/20728113 so that we can share them with support lib. Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40 (cherry picked from commit 7b2a46fee0f95b9ae2485db36e0d279730623c4a)
* Fix clang warnings on unused variable, mismatched tag, print format.Chih-Hung Hsieh2015-05-071-1/+1
| | | | | BUG: 20890093 Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
* Fix Allocation-less launchesJason Sams2015-05-051-2/+2
| | | | | | | | | | Cherry-pick fix from AOSP. Error check for kernel launch was generating a false positive. bug 20690242 Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
* Sanity checks in JNI code for closure creationYang Ni2015-05-041-43/+165
| | | | | | | | | | b/20728113 In case the requested size for memory allocation overflows, or memory allocation fails. Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90 (cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
* Merge "[RenderScript] typo fix in rs BLAS jni, to correctly handle complex ↵Miao Wang2015-04-301-2/+2
|\ | | | | | | params." into mnc-dev
| * [RenderScript] typo fix in rs BLAS jni, to correctly handle complexMiao Wang2015-04-301-2/+2
| | | | | | | | | | | | params. Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
* | Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-301-15/+10
|/ | | | | | | | | | | | | 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
* GraphicsJNI Canvas cleanupJohn Reck2015-04-221-0/+1
| | | | Change-Id: I72e142986a8bc9f464c1951b6b5187919de3462e
* Merge "Revert "Change how Java Bitmaps are accessed in a few places""John Reck2015-04-201-10/+15
|\
| * Revert "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-201-10/+15
| | | | | | | | | | | | | | | | Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
* | Revert "A bunch more cleanups"John Reck2015-04-171-1/+0
| | | | | | | | | | | | This reverts commit c294d128d03bc9a9982b273a82516c04583438cc. Change-Id: Id1ebb236950f7c36c6d86e1dd95566d3a200748d
* | am 3d9c9093: am 91d2f27b: am 7f72f747: Merge "Add BNNM intrinsic."Tim Murray2015-04-151-0/+28
|\ \ | | | | | | | | | | | | * commit '3d9c9093d1d76d4aeb5f99b1746b65788c72736e': Add BNNM intrinsic.
| * \ Merge "Add BNNM intrinsic."Tim Murray2015-04-151-0/+28
| |\ \
| | * | Add BNNM intrinsic.Tim Murray2015-04-141-0/+28
| | | | | | | | | | | | | | | | Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
* | | | Merge "A bunch more cleanups"John Reck2015-04-151-0/+1
|\ \ \ \
| * | | | A bunch more cleanupsJohn Reck2015-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* | | | | am 09339053: am 6ca1e45a: am 8704ae46: Merge "Add name to ↵Yang Ni2015-04-141-3/+5
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | ScriptGroup2.Builder.create() method" * commit '0933905375790eb850334b53fd6d0981bd40e007': Add name to ScriptGroup2.Builder.create() method
| * | | Add name to ScriptGroup2.Builder.create() methodYang Ni2015-04-131-3/+5
| |/ / | | | | | | | | | | | | | | | | | | This name will be used to name the .so file generated for the script group with fused kernels. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
* | | Merge "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-131-15/+10
|\ \ \ | | |/ | |/|
| * | Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-131-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the ↵Tim Murray2015-04-101-0/+12
|\ \ \ | |/ / |/| / | |/ | | | | | | cache directory." * commit '72fcf9eb1079312afd7bdbee167c759109af4244': Add support for setting the cache directory.
| * Add support for setting the cache directory.Tim Murray2015-04-091-0/+12
| | | | | | | | Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
* | am 02dff422: am 5db6f1fa: am 63dde9c8: Merge "Fix value size data type in ↵Yang Ni2015-04-011-2/+2
|\ \ | |/ | | | | | | | | | | closure creation." * commit '02dff422a7734764e3ce00179f62ba115f2081a5': Fix value size data type in closure creation.
| * Fix value size data type in closure creation.Yang Ni2015-03-301-2/+2
| | | | | | | | | | | | | | | | | | 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
* | am f8a69f56: am 2ef9955c: Merge "[RenderScript] Remove duplicate include in jni"Miao Wang2015-03-191-1/+0
|\ \ | |/ | | | | | | * commit 'f8a69f562b7f1c987b5eddd2ee13c04c1a787625': [RenderScript] Remove duplicate include in jni
| * [RenderScript] Remove duplicate include in jniMiao Wang2015-03-181-1/+0
| | | | | | | | Change-Id: Ib6019ab22a83d952dce3fd6f5351120d94b49d58
* | am bb8c910f: am d2e4a166: Merge "Remove dead path code"Jason Sams2015-03-131-14/+1
|\ \ | |/ | | | | | | * commit 'bb8c910fc12f304c97c94ee86a3a3da56afe8374': Remove dead path code
| * Remove dead path codeJason Sams2015-03-111-14/+1
| | | | | | | | | | | | | | This API was never shipped and the implementation never finished. Change-Id: I2491db216d6a7a8ea30628d791773f89da5fb4d2
* | am 989e03f1: am c1e2bf95: am 4b5af9bc: Merge "[RenderScript] Update the java ↵Miao Wang2015-03-081-10/+12
|\ \ | |/ | | | | | | | | | | API about Allocation copyTo & From FieldPacker" * commit '989e03f144e8031f33af08945e845283dddcc8ad': [RenderScript] Update the java API about Allocation copyTo & From FieldPacker
| * [RenderScript] Update the java API about Allocation copyTo & From FieldPackerMiao Wang2015-03-051-10/+12
| | | | | | | | Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
* | am 449571c4: am 26f1a538: am 8b86ee9f: Merge "[RenderScript] Add missing ↵Miao Wang2015-03-081-0/+2
|\ \ | |/ | | | | | | | | | | variable" * commit '449571c45e47e9b8d118c59dbd909b0d512f7e6d': [RenderScript] Add missing variable
| * [RenderScript] Add missing variableMiao Wang2015-03-051-0/+2
| | | | | | | | Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971
* | am ec89c1ea: am a61832c8: am 288e6f67: Merge "[RenderScript] AutoPadding & ↵Miao Wang2015-03-081-31/+184
|\ \ | |/ | | | | | | | | | | Unpadding for Vec3 Elements during copyTo & copyFrom." * commit 'ec89c1ea731256cd0d71ee58733b2855e1e6e4fa': [RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom.
| * [RenderScript] AutoPadding & Unpadding for Vec3 Elements duringMiao Wang2015-03-041-31/+184
| | | | | | | | | | | | copyTo & copyFrom. Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
* | Cleanup Bitmap JNI attempt #2John Reck2015-03-052-12/+9
| | | | | | | | | | | | | | | | Original version missed a spot This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b. Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
* | Revert "Cleanup Bitmap JNI"Chad Jones2015-03-052-9/+12
| | | | | | | | | | | | This reverts commit b2915245b74b3b5541b123e38403f8e26426b4b7. Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
* | Cleanup Bitmap JNIJohn Reck2015-03-052-12/+9
|/ | | | | | | | 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
* [Renderscript] JAVA API update for Allocation.CopyToMiao Wang2015-02-251-8/+41
| | | | | | | | | | | | 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
* Add BLAS intrinsic.Tim Murray2015-02-171-0/+142
| | | | Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324
* Merge "Implement array types"Jason Sams2015-02-091-0/+34
|\
| * Implement array typesJason Sams2015-02-061-0/+34
| | | | | | | | Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
* | Fix clang build.Elliott Hughes2015-02-051-1/+1
|/ | | | Change-Id: If795820ef6431fee9c9c3862cc91ad4a9cc04507
* Adds invocable functions to ScriptGroupYang Ni2015-02-041-0/+43
| | | | | | This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* Pass in code cache directory when creating a script group.Yang Ni2015-01-291-4/+7
| | | | Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
* Initialize clipping structureJason Sams2015-01-261-0/+8
| | | | | | placeholder until array clipping is added to the API. Change-Id: Ib20dbd71989c559c0669385a5088ec261596913c
* New Script Group API.Yang Ni2015-01-071-0/+87
| | | | Change-Id: I73d3572276a38dac775025b472ba229ad8770c84
* Fix bug in passing of context flags and version.Jason Sams2014-12-021-2/+2
| | | | Change-Id: Id20906f6f47b573d881025453a3b6356bcf6e9c7
* Fix format strings mismatching the parameters passed to themBernhard Rosenkränzer2014-11-201-8/+9
| | | | | Change-Id: Ia0d33aec9edadac60508fb422e0821e6d8f28afa Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>