- Dec 19, 2019
-
-
Austin Wang authored
This reverts commit a5264903. 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
-
- Dec 18, 2019
-
-
Artur Satayev authored
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
-
- Mar 27, 2019
-
-
Leon Scroggins III authored
Test: CtsGraphicsTestCases, CtsUiRenderingTestCases, CtsRenderscriptTestCases This is significantly faster than passing the Java object down and then calling a JNI method to retrieve the pointer. See https://buganizer.corp.google.com/issues/16656908#comment19 In some cases this changes what used to be native crashes (due to android::BitmapWrapper:assertValid's LOG_ALWAYS_FATAL_IF) into NullPointerExceptions (if a caller used a null Bitmap). In addition: - Remove unnecessary JNIEnv param from toBitmap(jlong) - Change instances of toBitmap(JNIEnv*, jobject) to the above - Replace calls to GraphicsJNI::getSkBitmap() to inline calls to toBitmap/getSkBitmap - make Canvas#nInitRaster @FastNative (FIXME: Could these be @CriticalNative?) Change-Id: I6194097be1b6e6952eba70e1e7052a5a250eed93
-
- Mar 06, 2019
-
-
Miao Wang authored
Bug: 124466617 Test: mm Test: CtsRenderscriptTestCases Change-Id: I4784b96b5f96749d503bd1de8360e74b72f3f5c2
-
- Feb 11, 2019
-
-
Hans Boehm authored
We're changing the argument type to long, since it should be roughly large enough to hold a size_t everywhere. Make style checker happy by reordering imports. Test: Treehugger Change-Id: Iccdc5fa592f56d448817f7762af1cff27b4fc2a8
-
- Aug 06, 2018
-
-
Mathew Inwood authored
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
-
- Aug 02, 2018
-
-
Mathew Inwood authored
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: I1aa8ebca448547031b426a7b305c5c3d6fcf2652
-
- Mar 21, 2018
-
-
kopriva authored
Test: make ds-docs Bug: 36982027 Bug: 30636712 Change-Id: I70d6d216c714a31b7e762a203a27f6124642131e
-
- Mar 01, 2018
-
-
Adam Lesinski authored
Bug: 64071469 Test: atest CtsContentTestCases Change-Id: Ia6856157e8813856268fba003e1e591d690cb26e
-
- Feb 15, 2018
-
-
Miao Wang authored
Bug: 73485081 Test: none needed Change-Id: I1d0c351d51fb5398799090a868b33e4a8e639588
-
- Feb 09, 2018
-
-
Adam Lesinski authored
This reverts commit 1187590d. Bug:73134570 Change-Id: Ieaaed603abfc38fced8544d83dffe978facb9147 (cherry picked from commit 8b3c3c6c13775482a77637b988482569bfb4f2f4)
-
Adam Lesinski authored
This reverts commit 1187590d. Bug: 73134570 Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
-
- Feb 06, 2018
-
-
Adam Lesinski authored
Test: atest CtsContentTestCases:android.content.res.cts Test: make libandroidfw_tests Change-Id: I2bb6d7656d2516d371e83e541ed02f91405f6d94
-
- Jan 27, 2018
-
-
Adam Lesinski authored
This reverts commit dcb3c655. Bug:72511998 Change-Id: I5a21a8a3fae61c6fa86cf7447933f3147d23d4d2 (cherry picked from commit 530968a2d899e4dd67c92a4d785b584e3216b26d)
-
- Jan 26, 2018
-
-
Adam Lesinski authored
This reverts commit dcb3c655. Bug:72511998 Change-Id: I665966ca109f66f85d8665db388c71ea2303c3b8
-
- Jan 24, 2018
-
-
Adam Lesinski authored
Test: atest CtsContentTestCases:android.content.res.cts Test: make libandroidfw_tests Change-Id: I572eb13c6a4372c7f656f5912821cececd5bf3d4
-
- Jan 23, 2018
-
-
Adam Lesinski authored
This reverts commit b20a0ce5. (cherry picked from commit 7fb38311) Change-Id: I69497e683bb7f11f0564c1b86b9c3247695b6275
-
Adam Lesinski authored
This reverts commit b20a0ce5.
-
- Jan 10, 2018
-
-
Adam Lesinski authored
Test: Existing CTS tests pass Test: make libandroidfw_tests Change-Id: I858f7e1d909c08273b096601136e3f28e15eb5d4
-
- Oct 06, 2017
-
-
Mike Reed authored
Test: make Change-Id: Ie3a5d068bef1c2a1790ab227f6398695aee11cf7
-
- Jul 24, 2017
-
-
Derek Sollenberger authored
This is a multiproject change as we need to both the libraries themselves as well as those that had dependencies on libskia.so Bug: 31971097 Test: compile only Change-Id: Ie6ff1f4682d03289205f4d6048cde9f95c61a90f
-
- Jul 19, 2017
-
-
Steven Moreland authored
libnativehelper exports headers under nativehelper. These were available before incorrectly as global headers in order to give access to jni.h. Test: modules using frameworks/base find headers Bug: 63762847 Change-Id: I0f9f231acdebe460f279135462f43d3e32eff64d
-
- Jun 13, 2017
-
-
Yang Ni authored
Bug: 28053584 Stop CloseGuarding for two reasons: 1) KernelID and FieldID objects are constructed in auto-generated (RenderScript reflected) Java code. It would be impossible for a user to explicitly call destroy() on them. Guarding them would leave a lot of noisy warnings in logcat. 2) These KernelID and FieldID objects are not big compared to other RenderScript objects, e.g. Allocations. They occupy almost no native resources except for a native pointer. Leaving their destruction to Java GC would be completely acceptable, since any delay in reclaiming them is unlikely to cause memory pressure. Test: CTS on x86_64 emulator Change-Id: I587b5561a0b2bdbf0b2e95bf2995c20d5f5faf9d
-
- May 05, 2017
-
-
Yang Ni authored
Bug: 28053584 To avoid holding the resource (surface) for too long. Test: CTS on x86_64 emulator Change-Id: I2fdec107c2a16b7dadbf78a9aee79c33423a3676
- May 04, 2017
-
-
Yang Ni authored
Bug: 28053584 On destroying the intrinsic, destroy its contained Allocation right away. Test: CTS on x86_64 emulator Change-Id: I5ca0da33b620c3291b7cafda31a6cc83eb7461a0
-
- May 02, 2017
-
-
Steven Moreland authored
Renderscript was depending on macros from android-base that were transitively included from MQDescriptor.h Test: links Bug: 37791060 Change-Id: Ie34ddef67328c5fcc6b0122a32725b980615ff43 (cherry picked from commit dc01e938)
-
- May 01, 2017
-
-
Steven Moreland authored
Renderscript was depending on macros from android-base that were transitively included from MQDescriptor.h Test: links Bug: 37791060 Change-Id: Ie34ddef67328c5fcc6b0122a32725b980615ff43
-
- Apr 20, 2017
-
- Apr 18, 2017
- Apr 04, 2017
-
-
Miao Wang authored
AllocationSetSurface. Bug: 34334222 Test: mm, boot Sailfish, CTS pass and ImageProcessingJB works well. Change-Id: I77e7fb69987a347862286299622343b4f7879ab0
-
- Mar 15, 2017
-
-
Pawin Vongmasa authored
android::IGraphicBufferProducer will now become a hybrid interface on top of the HIDL interface android::hardware::graphics::bufferqueue::V1_0::IGraphicBufferProducer. Test: With CtsMediaTestCases.apk installed, adb shell am instrument -e size small -w 'android.media.cts/android.support.test.runner.AndroidJUnitRunner' Bug: 33854657 Change-Id: Ia8914ea49d2acf3d43682982a164d7e10f7b8542
-
- Mar 06, 2017
-
-
Miao Wang authored
AllocationGetSurface driver implementation change. - AllocationGetSurface now returns opaque handle to ANativeWindow*, instead of IGraphicBufferProducer*, as IGraphicBufferProducer is not part of NDK. So the JNI side need to change accordingly. Bug: 34396220 Test: mm, CTS tests pass. Change-Id: If9b6a733202d29bc40c0e0b87c4fb48db092cbe5
-
Miao Wang authored
from Java Surface. - ANativeWindow_fromSurface and ANativeWindow_release has to be used in pairs to avoid leaks. Bug: 34396220 Test: mm, CTS tests pass. Change-Id: Id67fd005a056df4d496a48f705d445a2d8c45232
-
- Mar 03, 2017
-
-
Yang Ni authored
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
-
- Feb 24, 2017
-
-
Miao Wang authored
- Include rsApiStubs.h instead of rs.h, and remove unused dependencies for rs.h in Android.mk. - Remove libRSDriver.so from LOCAL_REQUIRED_MODULE, since it is not required nor directly used by librs_jni.so. - Fix the discrepancy in ElementGetNativeData and ElementGetSubElements, respective to NDK APIs exposed in libRS.so. rsApiStubs.h contains all public RenderScript APIs exposed in libRS.so. It fixes the mismatch of the declarations and definitions of the two functions mentioned above. And it does not rely on the auto generated header (rsgApiFuncDecl.h) anymore. Bug: 34396220 Test: mm Merged-In: Iedb1b976cfa9033dccefe78cbe80c8022f990e53 Change-Id: Iedb1b976cfa9033dccefe78cbe80c8022f990e53
-
- Feb 18, 2017
-
-
Miao Wang authored
- Include rsApiStubs.h instead of rs.h, and remove unused dependencies for rs.h in Android.mk. - Remove libRSDriver.so from LOCAL_REQUIRED_MODULE, since it is not required nor directly used by librs_jni.so. - Fix the discrepancy in ElementGetNativeData and ElementGetSubElements, respective to NDK APIs exposed in libRS.so. rsApiStubs.h contains all public RenderScript APIs exposed in libRS.so. It fixes the mismatch of the declarations and definitions of the two functions mentioned above. And it does not rely on the auto generated header (rsgApiFuncDecl.h) anymore. Bug: 34396220 Test: mm Change-Id: Iedb1b976cfa9033dccefe78cbe80c8022f990e53
-
- Jan 26, 2017
-
-
Elliot Waite authored
Change-Id: I40cea46efd80c448640ff69753698fe8404da40b
-