summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* | am b43bc047: Merge "Change flags to use int instead of long." into ↵Tim Murray2014-06-061-7/+7
|\ \ | | | | | | | | | | | | | | | | | | lmp-preview-dev * commit 'b43bc0475490fe2a20c2ddeed1c34b55b8f8a152': Change flags to use int instead of long.
| * | Change flags to use int instead of long.Tim Murray2014-06-061-7/+7
| | | | | | | | | | | | | | | | | | bug 15429629 Change-Id: Ideb983b17aa3c146d23f2be6bb0e9808cb6725b7
* | | Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-031-0/+7
|/ / | | | | | | Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
* | Validate RenderScript context creation flagsJason Sams2014-05-201-3/+7
| | | | | | | | | | | | Sync the IDs to that of the native interface. Change-Id: I7516c1ea4f4a93844ddb8397b2fc1e79ff8d6b68
* | Add flags to context creation for RSJason Sams2014-05-071-3/+36
| | | | | | | | | | | | | | | | We have a number of context options exposed though native that were not available though the Java API. This brings them to parity. Will finish plumbing in a follow on CL. Change-Id: I8c65ee743d0e750e418304127b84088f25176c38
* | am 4f346bf0: am ff1e1d99: am 240d5638: am c1f3d4c1: Merge "Fix 64 bit ↵Glenn Kasten2014-03-191-10/+10
|\| | | | | | | | | | | | | compile failures in renderscript" * commit '4f346bf0ffe1c596ca261dfec23c50977de77d82': Fix 64 bit compile failures in renderscript
| * Fix 64 bit compile failures in renderscriptNarayan Kamath2014-03-191-10/+10
| | | | | | | | | | | | | | | | | | | | Use uintptr_t for pointers (and not uint32_t) and also don't assume that size_t is 32 bits wide. Also uses java longs for passing pointers across JNI boundaries. Change-Id: Ie52bd8ae967fbddc911eda3a43cc799d53bbce66
* | am edf0b79d: am 24ea88a9: am 9a9916b5: am 2383f220: Merge "Validate objects ↵Jason Sams2014-03-061-0/+8
|\| | | | | | | | | | | | | are from the correct context." * commit 'edf0b79d55df17fddb6b96de32f34ffccc8ec2d4': Validate objects are from the correct context.
| * Validate objects are from the correct context.Jason Sams2014-03-051-0/+8
| | | | | | | | Change-Id: I7d87b0e253b8d2e36d1aed790cfe3a7dd23e158f
* | am 62d675c2: am 0d3548be: am d138029d: am 14420e29: Merge "AArch64: Use ↵Narayan Kamath2014-02-281-20/+20
|\| | | | | | | | | | | | | long[] for RS id array" * commit '62d675c240fd87cb987c86ae4f6ac17dc13374c8': AArch64: Use long[] for RS id array
| * Merge "AArch64: Use long[] for RS id array"Narayan Kamath2014-02-281-20/+20
| |\
| | * AArch64: Use long[] for RS id arrayAshok Bhat2014-02-121-20/+20
| | | | | | | | | | | | | | | Change-Id: Ia5145a547c0d13c7d6f1bb4d8f5472be62481bd9 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | | am bdb04f02: am 17b7ff4a: am b25a6936: am d7043f00: Merge "Add hidden minor ↵Tim Murray2014-02-141-0/+14
|\| | | | | | | | | | | | | | | | | | | | version ID for support lib workarounds." * commit 'bdb04f025ce34b0240f01961c43d8156a78e27a2': Add hidden minor version ID for support lib workarounds.
| * | Merge "Add hidden minor version ID for support lib workarounds."Tim Murray2014-02-141-0/+14
| |\ \ | | |/ | |/|
| | * Add hidden minor version ID for support lib workarounds.Tim Murray2014-02-061-0/+14
| | | | | | | | | | | | Change-Id: I7940e32c78caaab351fb28d92e5fadbea6292b27