summaryrefslogtreecommitdiffstats
path: root/rs/java/android/renderscript/RenderScript.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | am 33a608a0: am 578d4f5f: am 56062983: Merge "AArch64: Use long for pointers ↵Narayan Kamath2014-02-101-18/+18
|\ \ \ | |/ / | | | | | | | | | | | | | | | in RS Java/JNI code" * commit '33a608a0a326d9671bffd6750cb5521d6687cc57': AArch64: Use long for pointers in RS Java/JNI code
| * | AArch64: Use long for pointers in RS Java/JNI codeAshok Bhat2014-02-051-18/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include [x] Some JNI functions, with return type jlong, casts pointer to jint before returning it. This has been fixed. [x] Minor JNI function prototype changes where formal paramter type has been changed to a JNI type (int to jint for example). [x] long is used for ScriptC, Sampler, Font, ProgramStore handles as they can be 64-bit. [x] A new hidden constructor ScriptC(long, RenderScript) has been added. This should eventually replace public API method ScriptC(int, RenderScript). [x] Font and FileA3D use getNativeAsset instead of getAssetInt to get Asset Handles. The getAssetInt method will be deprecated in favor of getNativeAsset, as the former does not support 64-bit. [x] rsnPathCreate method accepts loop as an int. This should be long as the underlying RS function assumes this to be a pointer. Change-Id: I919d857e5933febe63966049da83de9f9adee6f5 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
| * Enable asynchronous destruction of BaseObjs.Tim Murray2014-01-311-3/+20
| | | | | | | | | | | | | | Change-Id: Iaddf8041a3c870a986ec8999e6ccc3aede38fc4c Conflicts: rs/java/android/renderscript/BaseObj.java
| * Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2014-01-311-0/+1217
| | | | Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
* Enable asynchronous destruction of BaseObjs.Tim Murray2014-01-101-3/+20
| | | | Change-Id: Iaddf8041a3c870a986ec8999e6ccc3aede38fc4c
* Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2013-12-171-0/+1213
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d