- Feb 13, 2021
-
-
Jean-Luc Brouillet authored
For one of the many variants of Blend, a cut&paste error made that the options were not passed. This was not caught because no test exercised this. I've added the test (in a related CL) and fixed the bug. Bug: 178718752 Test: Ran the RS Java tests Change-Id: Ide2fef96137ffd89e4431cf15be5df398036d909
-
- Jan 14, 2020
-
-
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' Merged-In: I853372f3c6fef905553bb31be4f1bb48df735f7a Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
-
- Jan 08, 2020
-
-
Derek Sollenberger authored
This change removes usage of skia data structures and replaces them with stable C APIs. It also removes two unused java APIs that were missing their native components. Test: CTS presubmit tests Bug: 137655431 Change-Id: I18cbe0cf9dc731c4c6c1f645be0df2f462764118
-
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: I853372f3c6fef905553bb31be4f1bb48df735f7a
-
- 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
-
- 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
-
- Apr 20, 2017
-
- Apr 18, 2017
-
-
Yang Ni authored
Bug: 24555166 Test: RSTest on x86_64 emulator Change-Id: I0c8c970ce85989c3213fb4986e517ac0be5beb26
-
- 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
-
- Jan 26, 2017
-
-
Elliot Waite authored
Change-Id: I40cea46efd80c448640ff69753698fe8404da40b
-
- Jun 14, 2016
-
-
David Gross authored
Bug: 27298560 Change-Id: I8a89c9df753d12ee8af06008d424e77bb916cd8f (cherry picked from commit 4a457853)
-
- Jun 02, 2016
-
-
David Gross authored
Bug: 27298560 Change-Id: I8a89c9df753d12ee8af06008d424e77bb916cd8f
-
- May 25, 2016
-
- May 18, 2016
-
-
Miao Wang authored
Bug: 28177406 Change-Id: Icccf35857cf29f827a78704e7751c8791cda0d7b
-
Miao Wang authored
Bug: 23159764 Bug: 26862970 - Add detailed description of AutoPadding - Add comments to all the copy related APIs. - Fix typos in the comments. Change-Id: I2d045e0d90efd94f1407f88d3e35bcd42ea93fb9
-
- May 10, 2016
-
-
Miao Wang authored
- Interrupt mMessageThread, so it gets to see immediately that mRun is false and exit rightaway. Change-Id: Ic586ef225a5c6f3a77f89de00b7fb3f3547c9838
-
- Apr 22, 2016
-
-
Yang Ni authored
Bug: 28242626 Bug: 27972184 Bug: 27973681 This is resolving issues in ScriptGroup (V1) again. In ScriptGroup.destroy(), we also need to consider the old API where mClosures is not initialized. Also cleaned up the finalizer for ScriptGroup and Allocation: Since BaseObj.finalize() calls BaseObj.helpDestroy(), instead of BaseObj.destroy(), there is no possibility that the finalizers of child objects may race their parents finalizers. Note that helpDestroy() does not try to recurse on child objects. Change-Id: I9dbb2b60f8478f656f8a418c2b5fc8d6848aeef0
-
- Apr 20, 2016
-
- Apr 19, 2016
-
-
Yang Ni authored
Bug: 28177082 Change-Id: I8f3f2d8ce559e93cba29f8eedd5b95d1389deb23
- Apr 18, 2016
-
-
Yang Ni authored
Bug: 28242626 ScriptGroup finalizer clears out the list of closures, which is uninitialized for the old API. Need to check null first, before accessing the list. Change-Id: Ibf914e17a0878c8c561f823c5f6f6f6619594de1
-
- Apr 12, 2016
-
-
Yang Ni authored
Bug: 27972184 Change-Id: I4f80c74079087eab20b75a701c56cde141322462
- Apr 11, 2016
-
-
Stephen Hines authored
Bug: https://code.google.com/p/android/issues/detail?id=206490 Change-Id: Ie1b2c2b0960d8dd8c12ed06d84a16913cd057221
-
- Apr 07, 2016
-
-
Yang Ni authored
Bug: 27973681 Implemented correct destruction in ScriptGroup.destroy() and Clsoure.destroy(), which properly destroys child BaseObj's. Change-Id: I946f62c2979d6a338b8883514cacad472a213c5c
-
- Apr 05, 2016
-
- Apr 04, 2016
-
-
Yang Ni authored
Bug: 27983025 Device should be destroyed inside the destructor of the associated Context. Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
-