summaryrefslogtreecommitdiffstats
path: root/rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[RenderScript] typo fix in Allocation.java"Miao Wang2015-04-161-1/+1
|\
| * [RenderScript] typo fix in Allocation.javaMiao Wang2015-04-151-1/+1
| | | | | | | | Change-Id: Id0eae76387d18c5bfed6cdbb52781b0dc3e4ae90
* | Merge "Add BNNM intrinsic."Tim Murray2015-04-153-0/+60
|\ \ | |/ |/|
| * Add BNNM intrinsic.Tim Murray2015-04-143-0/+60
| | | | | | | | Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
* | Add name to ScriptGroup2.Builder.create() methodYang Ni2015-04-133-9/+15
| | | | | | | | | | | | | | This name will be used to name the .so file generated for the script group with fused kernels. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
* | Add a name to ScriptGroup2.Builder.create methodYang Ni2015-04-131-1/+5
|/ | | | | | | | | | | The name is not used in any meaningful way yet, but would be used to name the file for generated code for fused kernels in other coming CLs. A script group name cannot be null or empty, or longer than 100 characters. It can only contain letters, digits, '-', or '_'. Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
* Add support for setting the cache directory.Tim Murray2015-04-092-0/+26
| | | | Change-Id: I2bf1874705b877a8a8262ab49b47fe8241e603d5
* Move cache dir to its own class.Tim Murray2015-04-073-22/+42
| | | | | | This prevents us from loading the RS static initializer all the time. Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
* Merge "Fix minor blur doc bug"Jason Sams2015-04-061-1/+1
|\
| * Fix minor blur doc bugJason Sams2015-04-021-1/+1
| | | | | | | | Change-Id: I4c129d9d3c93d8a36c887e5c594b4402aca5745e
* | Rewrote FieldPack::createFieldPack for alignmentYang Ni2015-04-062-165/+62
| | | | | | | | | | | | | | | | | | | | b/20032217 Some data types requires data alignment. This has an impact on the total data size for the FieldPack. Fixed createFiledPack() implementation to handle this correctly. Change-Id: I241da19df69bf51cfdaf3b3a1381b446eaacb7fb
* | [RenderScript] update exception reporting for copyTo() afterMiao Wang2015-04-031-4/+11
| | | | | | | | | | | | | | | | | | autoPadding added. - This CL fixes recent CTS failures about copyPadded after lmp-mr1-dev changes pushed to aosp. Change-Id: Ica1f4fd934cd83ca4357ea7e7c82dcc7f844b689
* | Fix value size data type in closure creation.Yang Ni2015-03-302-4/+9
| | | | | | | | | | | | | | | | | | 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
* | Fix doc bug for object size.Jason Sams2015-03-261-1/+2
| | | | | | | | Change-Id: I3c810abcb9734196bd8804a22efc010dd3a73291
* | Catch errors for unknown object types.Jason Sams2015-03-261-0/+3
| | | | | | | | | | | | bug 19805334 Change-Id: I71e172b8123076896737d352403f8ddefca544b6
* | Fix potential npeJason Sams2015-03-261-0/+6
| | | | | | | | | | | | bug 19805515 Change-Id: Id36b145d3ce1c81311e88f5cdd2441880e98f737
* | [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
* | New API methods for Script GroupYang Ni2015-03-191-1/+52
| | | | | | | | | | | | | | | | | | Use a single vararg Object array for both kernel/invoke arguments and global bindings. The assumption is that global bindings are in the end after the kernel/invoke arguments. This simplifies the api to add a kernel or invoke to a script group. Change-Id: I7efb1035c5967e2cadd15e6fe27f20c80ba197a2
* | Merge "Added copyright notice and formatted to convention"Yang Ni2015-03-191-294/+313
|\ \
| * | Added copyright notice and formatted to conventionYang Ni2015-03-161-294/+313
| | | | | | | | | | | | | | | | | | Pure format change. No other changes at all. Change-Id: I74a53aa67ef0960f70becaf288b85be40066a0ae
* | | Merge "[RenderScript] Remove duplicate include in jni"Miao Wang2015-03-191-1/+0
|\ \ \
| * | | [RenderScript] Remove duplicate include in jniMiao Wang2015-03-181-1/+0
| | |/ | |/| | | | | | | Change-Id: Ib6019ab22a83d952dce3fd6f5351120d94b49d58
* | | Merge "Make it harder to leak contexts"Jason Sams2015-03-191-14/+103
|\ \ \ | |/ / |/| |
| * | Make it harder to leak contextsJason Sams2015-03-181-14/+103
| | | | | | | | | | | | Change-Id: Ied60b6428bedb200d7b5b627e8196fbf2b4151e1
* | | Merge "Frameworks/base: Remove duplicate check in Mesh"Andreas Gampe2015-03-181-3/+1
|\ \ \
| * | | Frameworks/base: Remove duplicate check in MeshAndreas Gampe2015-03-171-3/+1
| | | | | | | | | | | | | | | | | | | | Bug: 19797138 Change-Id: I0b11c4ff63a8031d5e58a06ac13f91ae0bbac5dc
* | | | Merge "Frameworks/base: Fix potential NPE in Script"Andreas Gampe2015-03-181-3/+8
|\ \ \ \ | |_|/ / |/| | |
| * | | Frameworks/base: Fix potential NPE in ScriptAndreas Gampe2015-03-181-3/+8
| |/ / | | | | | | | | | | | | Bug: 19797138 Change-Id: I5cd9394bd2c0f7c044c1f2f24665384fa797cd97
* | | Avoid duplicate surface creation.Jason Sams2015-03-171-1/+8
|/ / | | | | | | Change-Id: I43104c8b48dd26681735940e6b2e1ba902af2020
* | Frameworks/base: Check before foreach in ScriptAndreas Gampe2015-03-151-2/+4
|/ | | | | | | According to the if below, ains == null is potentially valid. But the foreach loop would throw a NullPointerException. Change-Id: I4460fb1357eaa3abfe0ab9a21effb608f474ab51
* Remove dead path codeJason Sams2015-03-113-107/+1
| | | | | | | This API was never shipped and the implementation never finished. Change-Id: I2491db216d6a7a8ea30628d791773f89da5fb4d2
* am 4b5af9bc: Merge "[RenderScript] Update the java API about Allocation ↵Miao Wang2015-03-063-66/+25
|\ | | | | | | | | | | | | copyTo & From FieldPacker" * commit '4b5af9bce10dbb8b6d5ff27a5f0c49f3498a6245': [RenderScript] Update the java API about Allocation copyTo & From FieldPacker
| * [RenderScript] Update the java API about Allocation copyTo & From FieldPackerMiao Wang2015-03-053-66/+25
| | | | | | | | Change-Id: I4e1b911d4cdfec8a841bc5a8bc615c64c50e8fc8
* | am 8b86ee9f: Merge "[RenderScript] Add missing variable"Miao Wang2015-03-061-0/+2
|\ \ | |/ | | | | | | * commit '8b86ee9fb5909a95a46907aede4d1b22b4ef3bba': [RenderScript] Add missing variable
| * [RenderScript] Add missing variableMiao Wang2015-03-051-0/+2
| | | | | | | | Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971
* | am 288e6f67: Merge "[RenderScript] AutoPadding & Unpadding for Vec3 Elements ↵Miao Wang2015-03-063-69/+329
|\ \ | |/ | | | | | | | | | | during copyTo & copyFrom." * commit '288e6f67181ce74ec4b97b61def1b9510b1221d0': [RenderScript] AutoPadding & Unpadding for Vec3 Elements during copyTo & copyFrom.
| * [RenderScript] AutoPadding & Unpadding for Vec3 Elements duringMiao Wang2015-03-043-69/+329
| | | | | | | | | | | | copyTo & copyFrom. Change-Id: I10b6fb235717e181ebb30b92e4dbe23e6183a29c
* | am caa8a8fb: Merge "[Renderscript] JAVA API update for Allocation.CopyTo add ↵Miao Wang2015-03-033-14/+443
|\ \ | |/ | | | | | | | | | | the following functions to make it more symmetric to copyFrom()." * commit 'caa8a8fb9849f1d44ffab3117950ac1e7b02cd4d': [Renderscript] JAVA API update for Allocation.CopyTo add the following functions to make it more symmetric to copyFrom().
| * Merge "[Renderscript] JAVA API update for Allocation.CopyTo add the ↵Miao Wang2015-03-033-14/+443
| |\ | | | | | | | | | following functions to make it more symmetric to copyFrom()."
| | * [Renderscript] JAVA API update for Allocation.CopyToMiao Wang2015-02-253-14/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 514e0801: Merge "Fix crash when updating adapter offsets."Jason Sams2015-03-031-11/+13
|\ \ \ | |/ / | | | | | | | | | * commit '514e0801cc95c9827d220104317e1fe45f396b94': Fix crash when updating adapter offsets.
| * | Merge "Fix crash when updating adapter offsets."Jason Sams2015-03-021-11/+13
| |\ \ | | |/ | |/|
| | * Fix crash when updating adapter offsets.Jason Sams2015-02-251-11/+13
| | | | | | | | | | | | Change-Id: I0a6923e387f9743a06cc2c4c67995a79789d4cdd
* | | am adb52ef7: Merge "Implement finalizer for RS contexts."Jason Sams2015-02-201-13/+35
|\ \ \ | |/ / | | | | | | | | | * commit 'adb52ef7034d4d3e0eee58cedae2a343d29771b9': Implement finalizer for RS contexts.
| * | 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
* | | Merge commit '32acf753e8989766f67fd5300d3eb467f707cc79' into HEADBill Yi2015-02-192-6/+14
|\ \ \ | |/ / |/| |
| * | am 2a3cdf57: Merge "Implement array types"Jason Sams2015-02-105-85/+264
| |\ \ | | |/ | | | | | | | | | | | | | | | automerge: 6e0ad25 * commit '6e0ad25ca8def88a48c9cc6436b12da7ff4600c2': Implement array types
| * | am ae0bee53: am 81b84311: Merge "Fix clang build."Elliott Hughes2015-02-061-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit 'ae0bee53b84d4ffda84270852ace1841e13f5db8': Fix clang build.
| * \ \ am da91dfbd: am 1269ff96: Merge "Adds invocable functions to ScriptGroup"Yang Ni2015-02-055-3/+439
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'da91dfbdf20271dffce5357195800cf36183ad97': Adds invocable functions to ScriptGroup
| * \ \ \ Merge "make Allocation.destroy() include setSurface(null) for ↵Miao Wang2015-02-051-0/+11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USAGE_IO_OUTPUT (Native RS)" automerge: 9a55cbc automerge: 58fd96c * commit '58fd96c607de7f7f821a0b15fd37bc28323fcfde': make Allocation.destroy() include setSurface(null) for USAGE_IO_OUTPUT (Native RS)