summaryrefslogtreecommitdiffstats
path: root/rs
Commit message (Collapse)AuthorAgeFilesLines
* New Script Group API.Yang Ni2015-01-073-0/+446
| | | | 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
* Fix bug in passing of context flags and version.Jason Sams2014-12-021-2/+2
| | | | Change-Id: Id20906f6f47b573d881025453a3b6356bcf6e9c7
* Fix format strings mismatching the parameters passed to themBernhard Rosenkränzer2014-11-201-8/+9
| | | | | Change-Id: Ia0d33aec9edadac60508fb422e0821e6d8f28afa Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* Add Float32 suppor for IntrinsicResize. base part.Miao Wang2014-11-131-1/+7
| | | | Change-Id: I37e8826cfab92512cc641b106a42723162bffe58
* Frameworks/base: Wall Werror in rsAndreas Gampe2014-11-102-144/+358
| | | | | | Turn on -Wall -Werror in rs/. Fix warnings. Change-Id: I41923e4578edf26dbf6a31a83b6999e80d6d385a
* resolved conflicts for merge of 5a2d0432 to lmp-dev-plus-aospStephen Hines2014-08-212-58/+58
|\ | | | | | | Change-Id: I59be35e67ab2b4709f27c39916b6aebc1abba56f
| * Replace NULL macros with nullptr literals.Chris Wailes2014-08-182-58/+58
| | | | | | | | Change-Id: I6c2af76f1f134d3f233d5462fed3969910ae2f24
* | am c9c78206: am 9ba9298e: Merge "Stop sign-extending RS IDs." into lmp-devTim Murray2014-08-191-36/+36
|\ \ | | | | | | | | | | | | * commit 'c9c7820604158bc6c6ba0e413cc48c8e1c0a6366': Stop sign-extending RS IDs.
| * | Stop sign-extending RS IDs.Tim Murray2014-08-181-36/+36
| | | | | | | | | | | | | | | | | | | | | bug 16846318 bug 17006933 Change-Id: I6b1e73ed983ec583e80dc532e38c2ae2e504e608
* | | am 7fa25bc1: am 3c02b020: Merge "Fix IO_INPUT with 64-bit." into lmp-devTim Murray2014-08-192-2/+7
|\ \ \ | |/ / | | | | | | | | | * commit '7fa25bc1269d3ba2db79f32acb17d80194cbadce': Fix IO_INPUT with 64-bit.
| * | Fix IO_INPUT with 64-bit.Tim Murray2014-08-182-2/+7
| | | | | | | | | | | | | | | | | | | | | bug 16846318 bug 17006933 Change-Id: Ic13ef26875d8a6fab1ffb542d62038b768a536ff
* | | am 4ae9a6d5: am 42895561: Merge "Collapse code paths for single- and ↵Stephen Hines2014-08-183-226/+130
|\ \ \ | |/ / |/| / | |/ | | | | | | 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-183-226/+130
| | | | | | | | | | | | | | | | | | 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
| * Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-133-130/+226
| | | | | | | | | | | | This reverts commit eb3470219dea322efa93eb4b5457813ce71d0c5d. Change-Id: Id943abf953e832ef831318e6699d4b46e9b46201
| * Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-073-226/+130
| | | | | | | | | | | | | | | | | | 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
| * Update copyFrom(BaseObj[]) for large objects.Tim Murray2014-07-091-5/+12
| | | | | | | | Change-Id: I99cadbd1ad925cad0dd357c9abbd1a49c07785c9
* | Allocation.resize() should throw an exception in API 21+.Tim Murray2014-08-141-1/+5
| | | | | | | | | | | | bug 16846318 Change-Id: I852331ec226e4cad8be79aa27c4b51183e97cc1d
* | Fix broken blend intrinsic.Tim Murray2014-07-101-1/+1
| | | | | | | | Change-Id: I3a1749aed701e17b48c267ca749c9cf29ca12e43
* | Update copyFrom(BaseObj[]) for large objects.Tim Murray2014-07-091-5/+12
| | | | | | | | Change-Id: I99cadbd1ad925cad0dd357c9abbd1a49c07785c9
* | resolved conflicts for merge of 31012e2c to masterStephen Hines2014-07-098-13/+176
|\ \ | |/ | | | | Change-Id: I2e24e0457570d7d856293637a553f0242a97a83b
| * Adds support for multi-input kernels to Frameworks/Base/RS.Chris Wailes2014-07-078-10/+173
| | | | | | | | | | | | | | | | * 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
* | am 6b52ca59: am 89e4c715: am 7165bd6d: Merge "Add check and throw for failed ↵Jason Sams2014-06-261-0/+3
|\ \ | |/ | | | | | | | | | | Intrinsic init." * commit '6b52ca5949545dcb654672663e2187a70b04f442': Add check and throw for failed Intrinsic init.
| * Merge "Add check and throw for failed Intrinsic init."Jason Sams2014-06-251-0/+3
| |\
| | * Add check and throw for failed Intrinsic init.Jason Sams2014-06-231-0/+3
| | | | | | | | | | | | Change-Id: Icd53b3edd8e887d3692e5815dc0c38cd68b7aeb1
* | | am af97f87a: am 6d38cec1: am 924ed1fa: Merge "Switch from size_t -> uint32_t ↵Stephen Hines2014-06-251-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | for dimensions array." * commit 'af97f87a477efa05905134baa01bc6b5222b2448': Switch from size_t -> uint32_t for dimensions array.
| * | Switch from size_t -> uint32_t for dimensions array.Stephen Hines2014-06-251-1/+1
| | | | | | | | | | | | Change-Id: I159586e98dd47be9b9f5db0f3e27d1072533134c
* | | Remove @hide for new RS constructors.Tim Murray2014-06-251-2/+0
| | | | | | | | | | | | Change-Id: I015f36e8c54663472f236e311fe279ce06261ff0
* | | am ed24d3f2: am db3bcfb8: am 44023a4f: Merge "We need to update mPos when we ↵Stephen Hines2014-06-241-1/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | copy a FieldPacker via its data[] member." * commit 'ed24d3f2e991906973afce8aa6a3fa54f4a3e4df': We need to update mPos when we copy a FieldPacker via its data[] member.
| * | We need to update mPos when we copy a FieldPacker via its data[] member.Stephen Hines2014-06-231-1/+6
| |/ | | | | | | | | | | | | | | | | | | Bug: 15756600 This change also adds a TODO/FIXME related to subAlign() and our tracking mechanism for it. We need to further investigate how to make subAlign() work properly if a user copies their FieldPacker. Change-Id: I861e529abd11e378f7c73b510d7f418b940fe480
* | am c5b11fcc: am ff83ed2d: am b02dadd4: Merge "Create FieldPacker.getPos() to ↵Stephen Hines2014-06-193-7/+21
|\ \ | |/ | | | | | | | | | | get the actual amount of data used for FP." * commit 'c5b11fcc1f4fc4fba988218d0a99a19690398a56': Create FieldPacker.getPos() to get the actual amount of data used for FP.
| * Merge "Create FieldPacker.getPos() to get the actual amount of data used for ↵Stephen Hines2014-06-183-7/+21
| |\ | | | | | | | | | FP."
| | * Create FieldPacker.getPos() to get the actual amount of data used for FP.Stephen Hines2014-06-183-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need larger buffers to handle 64-bit RS object types, but 32-bit code will never fill all of the getData().length bytes. This allows us to retain our verification code. We have to modify an existing use of FieldPacker that was doing partial updates of the underlying buffer. This was really relying on the old data to be implicitly selected and written back, but that is not guaranteed by the original API. This also required a fix to the FieldPacker.reset() API, which was not allowing the FieldPacker to ever point to the final entry in its buffer. Change-Id: Idcd52790ac2b0ab1eff3f043e7eec2832953f04b
* | | am 3aa4de11: am 802aaf3b: am 47de3060: Merge "Fix element size on 64b"Jason Sams2014-06-181-11/+19
|\ \ \ | |/ / | | | | | | | | | * commit '3aa4de11b05599d75af92a15820731144941c38f': Fix element size on 64b
| * | Fix element size on 64bJason Sams2014-06-181-11/+19
| |/ | | | | | | | | | | | | RenderScript Element types know their own size. This change properly tracks the new object sizes. Change-Id: I3cbf76a7ec5f68056ed5599e9406cea05ba86969
* | Merge "Switch from Droid -> Noto for RS fonts."Stephen Hines2014-06-171-4/+4
|\ \
| * | Switch from Droid -> Noto for RS fonts.Stephen Hines2014-06-111-4/+4
| | | | | | | | | | | | | | | Bug: 15436348 Change-Id: Ie62092538c7d865dcaba668392a4397baef725ec
* | | am 604ea0e4: am b1c9430c: am 77d28ca2: Merge "Move FieldPacker over to use ↵Tim Murray2014-06-121-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | large objects on 64-bit." * commit '604ea0e415faa2466ab6c89372001d6c93ad0d98': Move FieldPacker over to use large objects on 64-bit.
| * \ \ am 77d28ca2: Merge "Move FieldPacker over to use large objects on 64-bit."Tim Murray2014-06-121-0/+6
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '77d28ca25378530f92d409fbd72a38a1e256b59f': Move FieldPacker over to use large objects on 64-bit.
| | * | Move FieldPacker over to use large objects on 64-bit.Tim Murray2014-06-121-0/+6
| | | | | | | | | | | | | | | | Change-Id: I1d4d502a3f9d86c6cf0f516cc087b1457f86ac28
| | * | DO NOT MERGE: Mark new util type functions as @hide in AOSP.Tim Murray2014-06-041-0/+3
| |/ / | | | | | | | | | Change-Id: I834e07aef142aa79ed1603535689d0b833357f6c
| * | Merge "Add support for mixed 32/64 APKs using RenderScript."Tim Murray2014-06-034-3/+58
| |\ \
| | * | Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-034-3/+58
| | | | | | | | | | | | | | | | 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-034-3/+58
|/ / / | | | | | | | | | 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
* | | am db55bb06: am 4463cbc6: am 3b9600b6: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-1/+0
|\ \ \ | |/ / | | | | | | | | | * commit 'db55bb0622e9fbe4b858d59409f516de01c1f1fd': Remove unused LOCAL_LDLIBS.
| * | am 3b9600b6: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-1/+0
| |\ \ | | |/ | | | | | | | | | * commit '3b9600b673ad6a83481dcf88db6c9b2dc5bc9ba3': Remove unused LOCAL_LDLIBS.