summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
AgeCommit message (Collapse)Author
2015-03-24am 2b30b73b: am 6f6f44b0: am b2b0c4c2: Merge "[RenderScript] Add ↵Miao Wang
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.
2015-03-23[RenderScript] Add create(Context, int) to be compatible withMiao Wang
the thunker layer & minor tweaks. bug:19888167 bug:19888339 Change-Id: Ib264c4ca48c990b3476456838047f73d95f6752f
2015-03-19am d8e891f4: am f75e4ca3: Merge "Make it harder to leak contexts"Jason Sams
* commit 'd8e891f474096c310f60ca6d2f737cdc0251003e': Make it harder to leak contexts
2015-03-18Make it harder to leak contextsJason Sams
Change-Id: Ied60b6428bedb200d7b5b627e8196fbf2b4151e1
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 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-04[RenderScript] AutoPadding & Unpadding for Vec3 Elements duringMiao Wang
copyTo & copyFrom. Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
2015-03-03am 5830e7a9: am 411473de: am caa8a8fb: Merge "[Renderscript] JAVA API update ↵Miao Wang
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().
2015-02-28Remove unused imports in frameworks/base.John Spurlock
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
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-19Implement finalizer for RS contexts.Jason Sams
Fixes memory leak when apps forget to call .destroy() on the context. Change-Id: Ida4685768e92cfe3875da38846d17b86cc386cd0
2015-02-17Add BLAS intrinsic.Tim Murray
Change-Id: I95ddc46cb3f6217d2ead1091fd47450389544324
2015-02-06Implement array typesJason Sams
Change-Id: I1b83f21ea2aeaa4b9f5934aadcb69d4a1c1fea20
2015-02-04Adds invocable functions to ScriptGroupYang Ni
This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
2015-01-29Pass in code cache directory when creating a script group.Yang Ni
Change-Id: Ia73ea917a126a5055ec97f13d90a5feaafd6a2f5
2015-01-22Merge "Fix default compute thread priority"Jason Sams
2015-01-21Fix default compute thread priorityJason Sams
bug 16651474 Compute inherited graphics default thread priority of Display. This was not intended. Change-Id: I0dd9a230ce8ceba64e971b024cbe518927cd2550
2015-01-20Add FP16 types to the list of RenderScript types.Jason Sams
Change-Id: Ibf9a6d391fb4d6a5c4b4e05ab73fb58bd74dc586
2015-01-07New Script Group API.Yang Ni
Change-Id: I73d3572276a38dac775025b472ba229ad8770c84
2014-12-16Fix typo with register native allocation.Tim Murray
bug 18579193 Change-Id: I42d30709b79a37d6a4126559a511e98e9c8d4808
2014-12-12Enable native tracking for RS contexts to improve GC behavior.Tim Murray
This should prevent apps from leaking RS contexts as easily. bug 18579193 Change-Id: I2d943ce4443ce7cb90ebdd3dd37d338eda6df3a2
2014-08-19am 7fa25bc1: am 3c02b020: Merge "Fix IO_INPUT with 64-bit." into lmp-devTim Murray
* commit '7fa25bc1269d3ba2db79f32acb17d80194cbadce': Fix IO_INPUT with 64-bit.
2014-08-18Fix IO_INPUT with 64-bit.Tim Murray
bug 16846318 bug 17006933 Change-Id: Ic13ef26875d8a6fab1ffb542d62038b768a536ff
2014-08-18am 4ae9a6d5: am 42895561: Merge "Collapse code paths for single- and ↵Stephen Hines
multi-input kernels." * commit '4ae9a6d5c517f67d9929cc43568c6b7e3b4dfe23': Collapse code paths for single- and multi-input kernels.
2014-08-18Collapse code paths for single- and multi-input kernels.Chris Wailes
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
2014-08-13am b75dc06b: am 4179e889: Merge "Revert "Collapse code paths for single- and ↵Stephen Hines
multi-input kernels."" * commit 'b75dc06bbe2fdff1a4c9baa69eb92a849c22715d': Revert "Collapse code paths for single- and multi-input kernels."
2014-08-13am 5aaeb8e8: am 24a2ee66: Merge "Collapse code paths for single- and ↵Stephen Hines
multi-input kernels." * commit '5aaeb8e89eb0afd710ba9586f5e314b76e806116': Collapse code paths for single- and multi-input kernels.
2014-08-13Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines
This reverts commit eb3470219dea322efa93eb4b5457813ce71d0c5d. Change-Id: Id943abf953e832ef831318e6699d4b46e9b46201
2014-08-07Collapse code paths for single- and multi-input kernels.Chris Wailes
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
2014-07-07Adds support for multi-input kernels to Frameworks/Base/RS.Chris Wailes
* 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
2014-07-09resolved conflicts for merge of 31012e2c to masterStephen Hines
Change-Id: I2e24e0457570d7d856293637a553f0242a97a83b
2014-06-06am b43bc047: Merge "Change flags to use int instead of long." into ↵Tim Murray
lmp-preview-dev * commit 'b43bc0475490fe2a20c2ddeed1c34b55b8f8a152': Change flags to use int instead of long.
2014-06-06Change flags to use int instead of long.Tim Murray
bug 15429629 Change-Id: Ideb983b17aa3c146d23f2be6bb0e9808cb6725b7
2014-06-03Add support for mixed 32/64 APKs using RenderScript.Tim Murray
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
2014-06-03Add support for mixed 32/64 APKs using RenderScript.Tim Murray
Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
2014-05-20Validate RenderScript context creation flagsJason Sams
Sync the IDs to that of the native interface. Change-Id: I7516c1ea4f4a93844ddb8397b2fc1e79ff8d6b68
2014-05-07Add flags to context creation for RSJason Sams
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
2014-03-19am 4f346bf0: am ff1e1d99: am 240d5638: am c1f3d4c1: Merge "Fix 64 bit ↵Glenn Kasten
compile failures in renderscript" * commit '4f346bf0ffe1c596ca261dfec23c50977de77d82': Fix 64 bit compile failures in renderscript
2014-03-19Fix 64 bit compile failures in renderscriptNarayan Kamath
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
2014-03-06am edf0b79d: am 24ea88a9: am 9a9916b5: am 2383f220: Merge "Validate objects ↵Jason Sams
are from the correct context." * commit 'edf0b79d55df17fddb6b96de32f34ffccc8ec2d4': Validate objects are from the correct context.
2014-03-05Validate objects are from the correct context.Jason Sams
Change-Id: I7d87b0e253b8d2e36d1aed790cfe3a7dd23e158f
2014-02-28am 62d675c2: am 0d3548be: am d138029d: am 14420e29: Merge "AArch64: Use ↵Narayan Kamath
long[] for RS id array" * commit '62d675c240fd87cb987c86ae4f6ac17dc13374c8': AArch64: Use long[] for RS id array
2014-02-28Merge "AArch64: Use long[] for RS id array"Narayan Kamath
2014-02-14am bdb04f02: am 17b7ff4a: am b25a6936: am d7043f00: Merge "Add hidden minor ↵Tim Murray
version ID for support lib workarounds." * commit 'bdb04f025ce34b0240f01961c43d8156a78e27a2': Add hidden minor version ID for support lib workarounds.
2014-02-14Merge "Add hidden minor version ID for support lib workarounds."Tim Murray
2014-02-12AArch64: Use long[] for RS id arrayAshok Bhat
Change-Id: Ia5145a547c0d13c7d6f1bb4d8f5472be62481bd9 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
2014-02-10am 33a608a0: am 578d4f5f: am 56062983: Merge "AArch64: Use long for pointers ↵Narayan Kamath
in RS Java/JNI code" * commit '33a608a0a326d9671bffd6750cb5521d6687cc57': AArch64: Use long for pointers in RS Java/JNI code