summaryrefslogtreecommitdiffstats
path: root/rs/java/android/renderscript/RenderScript.java
Commit message (Collapse)AuthorAgeFilesLines
* Safely handle interrupts during Thread.join()Pirama Arumuga Nainar2015-10-081-3/+8
| | | | | | | | | | Bug: 24342101 Interrupt current thread if InterruptedException is received during Thread.join(). Also, log the interruption. Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2 (cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)
* Retry if interrupted before mMessageThread has joinedPirama Arumuga Nainar2015-10-081-3/+10
| | | | | | | | | | | | Bug: 24342101 If interrupted during mMessageThread.join(), retry the join instead of assuming the thread has joined and continuing. Continuing to destroy the context will cause a segfault when the message thread attempts to use the destroyed context. Change-Id: I3213091a0e996449bceb403dffca3063786d5a65 (cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)
* [RenderScript] Add dummy getMinorID to maintain compatible with old RSMiao Wang2015-05-141-0/+14
| | | | | | | compat lib. bug: 21132592 Change-Id: I375f188dfbd33367a9589533aa51b182fda8bc21
* Fix API name based on API reviewJason Sams2015-05-121-3/+3
| | | | | | | | rename getMinorID to getMinorVersion bug 21039492 Change-Id: I03908dba508e30a605818d81a085ad627fa202fb
* Sanity checks in JNI code for closure creationYang Ni2015-05-041-3/+15
| | | | | | | | | | b/20728113 In case the requested size for memory allocation overflows, or memory allocation fails. Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90 (cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
* am 3d9c9093: am 91d2f27b: am 7f72f747: Merge "Add BNNM intrinsic."Tim Murray2015-04-151-0/+11
|\ | | | | | | | | * commit '3d9c9093d1d76d4aeb5f99b1746b65788c72736e': Add BNNM intrinsic.
| * Merge "Add BNNM intrinsic."Tim Murray2015-04-151-0/+11
| |\
| | * Add BNNM intrinsic.Tim Murray2015-04-141-0/+11
| | | | | | | | | | | | Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
* | | 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
* | am 72fcf9eb: am af61d43d: am 6d718c2f: Merge "Add support for setting the ↵Tim Murray2015-04-101-0/+14
|\ \ | |/ | | | | | | | | | | cache directory." * commit '72fcf9eb1079312afd7bdbee167c759109af4244': Add support for setting the cache directory.
| * Add support for setting the cache directory.Tim Murray2015-04-091-0/+14
| | | | | | | | Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
* | resolved conflicts for merge of 764f08ad to masterStephen Hines2015-04-071-20/+0
|\ \ | |/ | | | | Change-Id: I0a22225b2d26b6d806de2dcc70ffba29c96865b3
| * Move cache dir to its own class.Tim Murray2015-04-071-20/+0
| | | | | | | | | | | | This prevents us from loading the RS static initializer all the time. Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
* | unhide RS apisJason Sams2015-03-301-7/+3
| | | | | | | | Change-Id: I30c3349c9222765ad7850890e0431bc6a6d3757a
* | am 2b30b73b: am 6f6f44b0: am b2b0c4c2: Merge "[RenderScript] Add ↵Miao Wang2015-03-241-7/+36
|\ \ | |/ | | | | | | | | | | create(Context, int) to be compatible with the thunker layer & minor tweaks." * commit '2b30b73b017f10bc2ce514981b577c2efaeab739': [RenderScript] Add create(Context, int) to be compatible with the thunker layer & minor tweaks.
| * [RenderScript] Add create(Context, int) to be compatible withMiao Wang2015-03-231-7/+36
| | | | | | | | | | | | | | | | the thunker layer & minor tweaks. bug:19888167 bug:19888339 Change-Id: Ib264c4ca48c990b3476456838047f73d95f6752f
* | am d8e891f4: am f75e4ca3: Merge "Make it harder to leak contexts"Jason Sams2015-03-191-14/+103
|\ \ | |/ | | | | | | * commit 'd8e891f474096c310f60ca6d2f737cdc0251003e': Make it harder to leak contexts
| * Make it harder to leak contextsJason Sams2015-03-181-14/+103
| | | | | | | | Change-Id: Ied60b6428bedb200d7b5b627e8196fbf2b4151e1
* | am bb8c910f: am d2e4a166: Merge "Remove dead path code"Jason Sams2015-03-131-6/+0
|\ \ | |/ | | | | | | * commit 'bb8c910fc12f304c97c94ee86a3a3da56afe8374': Remove dead path code
| * Remove dead path codeJason Sams2015-03-111-6/+0
| | | | | | | | | | | | | | 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-4/+3
|\ \ | |/ | | | | | | | | | | 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-4/+3
| | | | | | | | Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
* | am ec89c1ea: am a61832c8: am 288e6f67: Merge "[RenderScript] AutoPadding & ↵Miao Wang2015-03-081-21/+32
|\ \ | |/ | | | | | | | | | | 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-21/+32
| | | | | | | | | | | | copyTo & copyFrom. Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
* | am 5830e7a9: am 411473de: am caa8a8fb: Merge "[Renderscript] JAVA API update ↵Miao Wang2015-03-031-3/+20
|\ \ | |/ | | | | | | | | | | for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom()." * commit '5830e7a9fb56db24a101d7b45c6db970e38ed6f6': [Renderscript] JAVA API update for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom().
| * [Renderscript] JAVA API update for Allocation.CopyToMiao Wang2015-02-251-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
|/ | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Implement finalizer for RS contexts.Jason Sams2015-02-191-13/+35
| | | | | | Fixes memory leak when apps forget to call .destroy() on the context. Change-Id: Ida4685768e92cfe3875da38846d17b86cc386cd0
* Add BLAS intrinsic.Tim Murray2015-02-171-0/+49
| | | | Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324
* Implement array typesJason Sams2015-02-061-0/+14
| | | | Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
* Adds invocable functions to ScriptGroupYang Ni2015-02-041-0/+15
| | | | | | This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* Pass in code cache directory when creating a script group.Yang Ni2015-01-291-3/+3
| | | | Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
* Merge "Fix default compute thread priority"Jason Sams2015-01-221-2/+4
|\
| * Fix default compute thread priorityJason Sams2015-01-211-2/+4
| | | | | | | | | | | | | | | | | | bug 16651474 Compute inherited graphics default thread priority of Display. This was not intended. Change-Id: I0dd9a230ce8ceba64e971b024cbe518927cd2550
* | Add FP16 types to the list of RenderScript types.Jason Sams2015-01-201-0/+5
|/ | | | Change-Id: Ibf9a6d391fb4d6a5c4b4e05ab73fb58bd74dc586
* New Script Group API.Yang Ni2015-01-071-0/+40
| | | | Change-Id: I73d3572276a38dac775025b472ba229ad8770c84
* Fix typo with register native allocation.Tim Murray2014-12-161-1/+1
| | | | | | bug 18579193 Change-Id: I42d30709b79a37d6a4126559a511e98e9c8d4808
* Enable native tracking for RS contexts to improve GC behavior.Tim Murray2014-12-121-0/+7
| | | | | | | | This should prevent apps from leaking RS contexts as easily. bug 18579193 Change-Id: I2d943ce4443ce7cb90ebdd3dd37d338eda6df3a2
* am 7fa25bc1: am 3c02b020: Merge "Fix IO_INPUT with 64-bit." into lmp-devTim Murray2014-08-191-1/+6
|\ | | | | | | | | * commit '7fa25bc1269d3ba2db79f32acb17d80194cbadce': Fix IO_INPUT with 64-bit.
| * Fix IO_INPUT with 64-bit.Tim Murray2014-08-181-1/+6
| | | | | | | | | | | | | | bug 16846318 bug 17006933 Change-Id: Ic13ef26875d8a6fab1ffb542d62038b768a536ff
* | am 4ae9a6d5: am 42895561: Merge "Collapse code paths for single- and ↵Stephen Hines2014-08-181-44/+6
|\ \ | | | | | | | | | | | | | | | | | | multi-input kernels." * commit '4ae9a6d5c517f67d9929cc43568c6b7e3b4dfe23': Collapse code paths for single- and multi-input kernels.
| * | Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-181-44/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch simplifies the RenderScript JNI layer by replacing six functions with a single funciton. This new function now handles all previous cases. Functions in android.renderscript.script have been updated to use this new JNI function. Change-Id: I6cd5448534c38123d51a589339bbeb7e98453e73
* | | am b75dc06b: am 4179e889: Merge "Revert "Collapse code paths for single- and ↵Stephen Hines2014-08-131-6/+44
|\ \ \ | |/ / | | | | | | | | | | | | | | | multi-input kernels."" * commit 'b75dc06bbe2fdff1a4c9baa69eb92a849c22715d': Revert "Collapse code paths for single- and multi-input kernels."
| * | Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-131-6/+44
| | | | | | | | | | | | | | | | | | This reverts commit eb3470219dea322efa93eb4b5457813ce71d0c5d. Change-Id: Id943abf953e832ef831318e6699d4b46e9b46201
* | | am 5aaeb8e8: am 24a2ee66: Merge "Collapse code paths for single- and ↵Stephen Hines2014-08-131-44/+6
|\ \ \ | |/ / | | / | |/ |/| | | | | multi-input kernels." * commit '5aaeb8e89eb0afd710ba9586f5e314b76e806116': Collapse code paths for single- and multi-input kernels.
| * Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-071-44/+6
| | | | | | | | | | | | | | | | | | This patch simplifies the RenderScript JNI layer by replacing six functions with a single funciton. This new function now handles all previous cases. Functions in android.renderscript.script have been updated to use this new JNI function. Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
* | resolved conflicts for merge of 31012e2c to masterStephen Hines2014-07-091-0/+23
|\ \ | |/ | | | | Change-Id: I2e24e0457570d7d856293637a553f0242a97a83b
| * Adds support for multi-input kernels to Frameworks/Base/RS.Chris Wailes2014-07-071-0/+23
| | | | | | | | | | | | | | | | * Added a new JNI call to pass arrays of Allocations to the RS runtime. * Added a new version of ForEach that takes an array of Allocations. * Added some casts to disambiguate existing calls to forEach. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
| * Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-031-0/+7
| | | | | | | | Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c