summaryrefslogtreecommitdiff
path: root/support
AgeCommit message (Collapse)Author
2017-04-20Validates Intrinsic Blur only takes 2D AllocationsYang Ni
Bug: 24555166 This is for support lib. Test: RSTest on x86_64 emulator Change-Id: If50d28fc12d2d7a2df38b427b6d82cb89493dce6 (cherry picked from commit 97cf762f101b0a62672712016f4fd24e039e9a6e)
2017-03-20Fix RSTest_CompatLib and handling of RS_ERROR_FATAL_DEBUGI-Jui (Ray) Sung
RSTest_CompatLib was calling rsAllocationCopy1DRange with a 2D allocation, which triggered an error of type RS_ERROR_FATAL_DEBUG, which was not well handled in the message handler, and resulted in test app hang. This CL fixed the testcase to use the correct 2D version of allocation copy range, and changed the message handler to recognize RS_ERROR_FATAL_DEBUG as an fatal error. Bug: 35628302 Test: RSTest_Compat on Angler Change-Id: I8e35a08fadd29db82c236d3aa6da74de11eb068b
2017-02-28Remove libcutils dependency.Miao Wang
- Implement property_get using __system_property_get, remove dependencies on cutils/properties.h. - remove rsCompatibilityLib.cpp since it only contains propery_get, and it is now in rsCppUtils.cpp. - Disable ATRACE. The systrace is current done in Java level. If we want to do it in the driver, we need to have our own implementation similar to native/utils/trace.cc - Remove CC_LIKELY macro. Bug: 34396220 Test: build Change-Id: I6a6cbcfb2ca15b9d1f09b9ce0579d39fdbe98727
2017-02-16Add dispatch table entries required by RenderScript HIDL implementation.Miao Wang
- Add several missing entries to the dispatch table. Dispatch table is now used for switching between HIDL implementation and our CPU fallback, instead of only accessing the APIs exposed by RS support library and RS NDK library. Bug: 34396220 Test: mm Change-Id: Ie06746ed6a59120af008e1bf291479bf3c6407ec (cherry picked from commit c020bdd35e30a0478c1d642a64abb26ccd1d372c)
2017-01-20Cleanup makefiles and warning producing code.Jean-Luc Brouillet
Many entries in our makefiles are not needed: - LOCAL_CPPFLAGS += -fno-exceptions is the default - LOCAL_MODULE_TARGET_ARCH_WARN is obsolete - LOCAL_CXX_STL:= libc++ is the default - LOCAL_MODULE_TAGS := optional is the default - LOCAL_IS_HOST_MODULE := true is the default if we're using $include(BUILD_HOST_*). This can't be removed for the generated subdirectories however without triggering a bug in Ninja. - Removed the -ldl where not needed. - LOCAL_CLANG is no longer needed. Added -Werror -Wall -Wextra to a lot of targets and cleaned up the code that created errors. Removed some hacky code that would prevent tests/java_api from being compiled except under special cicumstances. Corrected some LOCAL_MODULE_TAGS that should have been set to tests. Cleanup warning producing code. Bug: 34265954 Test: Compiled the code. Test: Ran the cpp test, imageprocessing_jb, and cts Change-Id: I27da19b18a6c0ac3686bb8c93681e3d870d587fe
2016-07-04Merge \"DO NOT MERGE ANYWHERE Revert \"Remove old API check artifacts, ↵temp-2b30255901Alan Viverette
invoke gradle from old make target\"\" into nyc-support-24.1-dev am: 8bb6268322 -s ours Change-Id: Ib908eb87817d3707f7912df1edd3907b1b96202b
2016-07-01DO NOT MERGE ANYWHERE Revert "Remove old API check artifacts, invoke gradle ↵Alan Viverette
from old make target" This reverts commit 7b59d3ae599949c7c6b4c5806b4dda7f41147690 so that we can build against nyc-dev. Change-Id: Ifd60c2ff9bc97fa545f9196a62adb64ec7478759
2016-06-13Merge \\\"Delete simple reduction implementation.\\\" into nyc-dev am: ↵David Gross
ad849948dc am: 1480d8fef2 am: bf4a699f72 Change-Id: Icbe8ba724664265e1ae02bd0d0721634beabf74e
2016-06-13Merge \\"Delete simple reduction implementation.\\" into nyc-dev am: ad849948dcDavid Gross
am: 1480d8fef2 Change-Id: Id74aa55a863bd58ef8d5b0c7322d2238bcd181b8
2016-06-13Remove old API check artifacts, invoke gradle from old make targetAlan Viverette
Fixes paths in build.gradle so they are relative to the project root, rather than the current directory. Bug: 28124434 Change-Id: Ieeae97cd789a6addf3282f2c43cd754ca8e84c57
2016-06-10Revert "Remove old API check artifacts, invoke gradle from old make target"Yigit Boyar
This reverts commit 009647bbfa5efef608d6a660fc8ba191d876b1ed. Change-Id: I59deae2a7180f58bc0c770f7b3f70962c8d2f73f
2016-06-10Remove old API check artifacts, invoke gradle from old make targetAlan Viverette
Fixes paths in build.gradle so they are relative to the project root, rather than the current directory. Bug: 28124434 Change-Id: I8cde9db47d60ec1220d35fce5ef6fd2c6e97b1f8
2016-06-02Delete simple reduction implementation.David Gross
Bug: 27298560 Change-Id: I8d246c4e7d5b427148ebaf9a17bfa6fe3f6ea78b
2016-05-25Merge "[RenderScript] Unhide getByteBuffer and getStride for support lib." ↵Miao Wang
into nyc-dev am: 0ed6d7a09c am: bcf9f86a98 am: 15996a09a8 * commit '15996a09a8c205ee16bb41137236a3744cca9abc': [RenderScript] Unhide getByteBuffer and getStride for support lib. Change-Id: Ic01620abbfb877403d66192b84a9737872893180
2016-05-25Merge "[RenderScript] Unhide getByteBuffer and getStride for support lib." ↵Miao Wang
into nyc-dev am: 0ed6d7a09c am: bcf9f86a98 * commit 'bcf9f86a9847e50689a49299532fb55dc156d593': [RenderScript] Unhide getByteBuffer and getStride for support lib. Change-Id: I3e377cf753e4b749da0823a132b285856a75546d
2016-05-25Merge "[RenderScript] Update RenderScript support lib documentation." into ↵Miao Wang
nyc-dev am: 1628eba4ea am: e117de7352 am: 86cae5ed44 * commit '86cae5ed44441d9ec7302f63284a186486b20c6a': [RenderScript] Update RenderScript support lib documentation. Change-Id: Idad7419416cd481555ed2aca4e2fe2bd7b9028a9
2016-05-25Merge "[RenderScript] Update RenderScript support lib documentation." into ↵Miao Wang
nyc-dev am: 1628eba4ea * commit '1628eba4eae8b2acac0688a07343263f883a938e': [RenderScript] Update RenderScript support lib documentation. Change-Id: Id0d6bd3fcbcfc85b8a1d79036b9dcdb92dacdfb2
2016-05-25[RenderScript] Unhide getByteBuffer and getStride for support lib.Miao Wang
Bug: 28962099 Change-Id: I315e055f62799eb86674a959831fd0ad14fd4f47
2016-05-25[RenderScript] Update RenderScript support lib documentation.Miao Wang
Bug: 23159764 Bug: 26862970 Bug: 28177406 - Update documenation of Allocation.setAutoPadding and copy APIs as go/ag/903325. - Update documentation of ScriptIntrinsicBlur as go/ag/28177406. - Remove unused imports in Allocation.java Change-Id: If1eaa0bffa8c694947b80fd40b39ff61ce8e10d0
2016-05-24Merge "[RenderScript] Add optimized ASIMD and SSE3 instrinsics to support ↵Miao Wang
lib." am: 1104198acf am: d907ea54dd am: 98197c7733 am: a63bac6b0b * commit 'a63bac6b0be79ba11fb960fea1337101ba4594d4': [RenderScript] Add optimized ASIMD and SSE3 instrinsics to support lib. Change-Id: Ic39bac393665e7b2cc6796f82f170bcc6bc3d499
2016-05-24Merge "[RenderScript] Add optimized ASIMD and SSE3 instrinsics to support ↵Miao Wang
lib." am: 1104198acf am: d907ea54dd * commit 'd907ea54dd6ece044a8812f0f1fe9c821b3e093c': [RenderScript] Add optimized ASIMD and SSE3 instrinsics to support lib. Change-Id: I34f9e6125f4c61503c8119a138d5151c6a28a869
2016-05-23[RenderScript] Add optimized ASIMD and SSE3 instrinsics to support lib.Miao Wang
Bug: 28388236 - Add ASIMD & SEE3 Intrinsics to support lib cpu driver. On arm64, average perf diff is 3X. (cherry picked from commit 9de5458017289147b8c623d677c5f67928278acd) Change-Id: Ia1d45f7322e2e3d4da8c7dc9b8d597d307a965ed
2016-05-24Merge "[RenderScript] Add optimized ASIMD and SSE3 instrinsics to support lib."Miao Wang
2016-05-23[RenderScript] Add optimized ASIMD and SSE3 instrinsics to support lib.Miao Wang
Bug: 28388236 - Add ASIMD & SEE3 Intrinsics to support lib cpu driver. On arm64, average perf diff is 3X. Change-Id: Ic344da4ca97059c4aee209510c657d672e3e9796
2016-05-12Remove API files that track individual releasesKirill Grouchnikov
Change-Id: Ie097f6d9b5028014a771f3441d57f105ad44d555
2016-05-11Merge "[RenderScript] Add finalizer to support lib context."Miao Wang
2016-05-11Merge "[RenderScript] Add finalizer to support lib context." into nyc-dev ↵Miao Wang
am: c74fb3fcc1 am: 6725c2872c am: 32a73a9a3f * commit '32a73a9a3f2d9ddb4bdb4ba9d4bd805596e18509': [RenderScript] Add finalizer to support lib context. Change-Id: I3b19f1084ab43f12513078aca949dd045eb73955
2016-05-11Merge "[RenderScript] Add finalizer to support lib context." into nyc-devMiao Wang
am: c74fb3fcc1 * commit 'c74fb3fcc15651a470fd6e2e685705d96b69506c': [RenderScript] Add finalizer to support lib context. Change-Id: I1a58f69ae1725da20713c0c987ed9e1775a0007c
2016-05-11[RenderScript] Add finalizer to support lib context.Miao Wang
Bug: 28347289 - Adding finalizer to support lib context, avoiding leak of native memory. Change-Id: Ica3fdbfe65c0c651877be4324d0cb95a7256f8d7 (cherry picked from commit c90157d08c02c2c255580485346fdeffdd6315cd)
2016-05-11Final pass for removing all donut/eclair/froyo referencesKirill Grouchnikov
Also clean up code blocks that were conditional on pre-v9 build version. Change-Id: I9c87496446d842cbd176adb44635205206e7bb3d
2016-05-11[RenderScript] Add finalizer to support lib context.Miao Wang
Bug: 28347289 - Adding finalizer to support lib context, avoiding leak of native memory. Change-Id: Ica3fdbfe65c0c651877be4324d0cb95a7256f8d7
2016-05-02Merge "Zero-initialize launch option fields" am: 9d4584b907Yang Ni
am: b3ea343725 * commit 'b3ea3437255b1c50b9be95de30f87b1b0ea15289': Zero-initialize launch option fields Change-Id: I13d5d1820127ec5db81de73eba7e921efa662486
2016-04-29Zero-initialize launch option fieldsYang Ni
Bug: 28463187 If left unintialized, these fields will fail checks in setUpMtlsDiemensions() in rsCpuScript.cpp (if targetAPI >= 23). Change-Id: I143bfcd052a7b799801bf5fbf2b1bae13ca4a671
2016-04-29Zero-initialize launch option fieldsYang Ni
Bug: 28463187 If left unintialized, these fields will fail checks in setUpMtlsDiemensions() in rsCpuScript.cpp (if targetAPI >= 23). Change-Id: I143bfcd052a7b799801bf5fbf2b1bae13ca4a671
2016-04-22Merge "Clean up deprecation tags in support libraries" into nyc-devAlan Viverette
am: f7bdb2b * commit 'f7bdb2b37497128b8a9108eea43c17ea544c957a': Clean up deprecation tags in support libraries Change-Id: I5e62b6c0b0bf55a2e45f81bb533bdca4f085940f
2016-04-22Clean up deprecation tags in support librariesAlan Viverette
Also fixes renderscript and recyclerview docs builds. Bug: 28339627 Bug: 28073702 Change-Id: I0f38cf82fe260de4488660c87aaed8d26265eeba
2016-04-11Merge "Fix typos for the word "Unsupported"." am: 795081dStephen Hines
am: 442e291 * commit '442e2919a394e767fe5573a9114d88468001ef2e': Fix typos for the word "Unsupported". Change-Id: Ia01a577f7427c4294a19e9172a841447be26302e
2016-04-11Fix typos for the word "Unsupported".Stephen Hines
Bug: https://code.google.com/p/android/issues/detail?id=206490 Change-Id: I3709bf77c80fa1489e0a535190f6b4b0b665266a
2016-04-04Avoid destroying Device separatelyYang Ni
Bug: 27983025 Device should be destroyed inside the destructor of the associated Context. Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5 (cherry picked from commit 93b91f73e0a96bedce66e6e8ff0813b051f13892)
2016-04-05Merge "Avoid destroying Device separately" into nyc-devYang Ni
am: 8551f03 * commit '8551f03acc1ea00258dd7aeee8f4b584510de734': Avoid destroying Device separately Change-Id: I67c5cf149143bff0629d20cc23730a022674b47c
2016-04-04Avoid destroying Device separatelyYang Ni
Bug: 27983025 Device should be destroyed inside the destructor of the associated Context. Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
2016-04-01Merge "Removed unused variables" am: aa83832Yang Ni
am: 64e821b * commit '64e821b085c6cb49595fbd0e4e022fd066b38caf': Removed unused variables Change-Id: I8b8c5493377730e3e2f74d080ec34017c9132eb8
2016-04-01Merge "Removed unused variables"Yang Ni
2016-03-30Merge "[RenderScript] Update documentation for Allocation.setAutoPadding()." ↵Miao Wang
into nyc-dev am: 45e09b4 * commit '45e09b46f3f989535bb182393750212eb7db6a4f': [RenderScript] Update documentation for Allocation.setAutoPadding(). Change-Id: I4e300ceda35e18a6ae258b46da05743a1466ed49
2016-03-29[RenderScript] Update documentation for Allocation.setAutoPadding().Miao Wang
Bug: 26862970 Change-Id: I91b9205641a8bfb0b6fed903195257f5172d4227 (cherry picked from commit 4dadd8068cd8a4065abe1bb7d394a0d93861af9f)
2016-03-29[RenderScript] Fix IntrinsicConvolve documentation.Miao Wang
Bug: 25117120 - Better format. - Typo fixes. Change-Id: I596e00fadd2bd92ead909d6bef3e32e501142f8b (cherry picked from commit 7e8e92f79a6dfcb7e6ec80028f648579f29450e5)
2016-03-29[RenderScript] Update the documentation of Script.LaunchOptionsMiao Wang
Bug: 26916665 - Add description of the endArg. - Update the example. - Update the incorrect description. Change-Id: I89fda42dc6a8bdbf3766916d84f7937275f96a42 (cherry picked from commit ec7aaf761b70596614cb832939c881eea6e2941f)
2016-03-29[RenderScript] Update documentation for Allocation.setAutoPadding().Miao Wang
Bug: 26862970 Change-Id: I91b9205641a8bfb0b6fed903195257f5172d4227
2016-03-30Merge changes I596e00fa,I89fda42d into nyc-devMiao Wang
am: 44f546a * commit '44f546aa68231f466e629e53240030f9cefc3e84': [RenderScript] Fix IntrinsicConvolve documentation. [RenderScript] Update the documentation of Script.LaunchOptions Change-Id: Ib2ffa5a97d5bbc8264f3442d20aecf3ddec65ef1
2016-03-29[RenderScript] Fix IntrinsicConvolve documentation.Miao Wang
Bug: 25117120 - Better format. - Typo fixes. Change-Id: I596e00fadd2bd92ead909d6bef3e32e501142f8b