summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Element.java
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate RS Java APIs.Xusong Wang2021-03-011-0/+5
| | | | | | | | | | | This CL marks RenderScript Java APIs as deprecated. Bug: 168711199 Test: m Test: CtsRenderscriptTestCases Test: CtsRsCppTestCases Test: CtsRsBlasTestCases Change-Id: Id271a794679d445c480d62c87ae6c8150f6901f8
* Use new UnsupportedAppUsage annotation.Artur Satayev2020-01-081-1/+1
| | | | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv \ git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import' Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
* Revert "Use new UnsupportedAppUsage annotation."Austin Wang2019-12-191-1/+1
| | | | | | | | This reverts commit a5264903e22bc741add895133474ea13a370de4c. Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=sdk_phone_armv7-sdk&lkgb=6083299&lkbb=6085371&fkbb=6083313, bug b/146533269 Change-Id: Ie5b031d7b277cf0e09b0a9776b26bf74f5f69e70
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-181-1/+1
| | | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv \ git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import' Change-Id: I087bb1cecbe59f1cf0c2e770c735d7a433722c6f
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-061-0/+3
| | | | | | | | | | | | | | | | | For packages: android.renderscript This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I016f6e720e79c48afe44f4690b5dd99fc81ae780 Merged-In: I1aa8ebca448547031b426a7b305c5c3d6fcf2652
* Removed close guards for Element and Type objectsYang Ni2017-03-031-2/+0
| | | | | | | | | | | | | | Bug: 28053769 These objects are tiny and unlikely to cause memory issues. In addition, llvm-rs-cc auto-generated code contains such objects, which are not visibible to developers and impossible to manually destroy, leaving distracting warnings in Strict Mode. Test: RsTest with StrictMode on and CTS tests Change-Id: Iec68cca4f1259124b9f503a230c1a28b97ede1f3
* Made Element accessors thread-safeYang Ni2016-04-201-132/+395
| | | | | | Bug: 28177082 Change-Id: I8f3f2d8ce559e93cba29f8eedd5b95d1389deb23 (cherry picked from commit 33703f0c4e9b16bda5fd72e71d7d89359ee0db17)
* Added CloseGuard for BaseObjYang Ni2016-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | Bug: 27719830 To turn on warnings, apps have to add to their Activity.onCreate() method the following code. StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectLeakedClosableObjects() .penaltyLog() .build()); For Slang generated ScriptC derived classes, we assume their constructors won't throw exceptions after calling the ScriptC constructor. In addition, ScriptIntrinsic derived classes do not seem to throw exceptions in their constructors either. Therefore, we can leave the guard.open() call in the Script constructor. This may be only an approximation, but allows us to add CloseGuard for script objects without making changes to slang. Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060
* am b498b2d2: Merge "Fix issues found during CTS testing of FP16"Jason Sams2015-05-141-2/+3
|\ | | | | | | | | * commit 'b498b2d2739fd807f364bb473bdfb08b45359cb1': Fix issues found during CTS testing of FP16
| * Fix issues found during CTS testing of FP16Jason Sams2015-05-131-2/+3
| | | | | | | | | | | | | | | | | | bug 20822382 This corrects a copy&paste error placing F16 into F32. Fixes an error disallowing vectors of fp16 types. Change-Id: I34be1aa9a323d61a7121581ab9599d2c2d32dd42
* | unhide RS apisJason Sams2015-03-301-15/+0
|/ | | | Change-Id: I30c3349c9222765ad7850890e0431bc6a6d3757a
* Fix doc bug for object size.Jason Sams2015-03-261-1/+2
| | | | Change-Id: I3c810abcb9734196bd8804a22efc010dd3a73291
* Add FP16 types to the list of RenderScript types.Jason Sams2015-01-201-1/+44
| | | | Change-Id: Ibf9a6d391fb4d6a5c4b4e05ab73fb58bd74dc586
* 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
* | am 62d675c2: am 0d3548be: am d138029d: am 14420e29: Merge "AArch64: Use ↵Narayan Kamath2014-02-281-6/+3
|\| | | | | | | | | | | | | long[] for RS id array" * commit '62d675c240fd87cb987c86ae4f6ac17dc13374c8': AArch64: Use long[] for RS id array
| * AArch64: Use long[] for RS id arrayAshok Bhat2014-02-121-6/+3
| | | | | | | | | | Change-Id: Ia5145a547c0d13c7d6f1bb4d8f5472be62481bd9 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
| * Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2014-01-311-0/+1103
| | | | Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
* Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2013-12-171-0/+1100
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d