summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptC.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
* Correctly init code cache path for RSYang Ni2016-03-181-23/+2
| | | | | | | | | | | | | | | | Bug: 27439261 Script Group needs to know the code cache path before it can call bcc to merge kernels. However, before this change, the code cache path has been initialized by the ScriptC class. In the case where a script group (or even the entire app) does not contain any regular script but only intrinsics, the code cache would remain uninitialized. Fixed this by initializing the code cache path in the RenderScript class the first time when the accessor method is called. Change-Id: I87f9e62e0f3b479f94e43daa3e9695a5b38710db
* Move cache dir to its own class.Tim Murray2015-04-071-2/+2
| | | | | | This prevents us from loading the RS static initializer all the time. Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
* Remove @hide for new RS constructors.Tim Murray2014-06-251-2/+0
| | | | Change-Id: I015f36e8c54663472f236e311fe279ce06261ff0
* Add support for mixed 32/64 APKs using RenderScript.Tim Murray2014-06-031-0/+33
| | | | Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
* am 33a608a0: am 578d4f5f: am 56062983: Merge "AArch64: Use long for pointers ↵Narayan Kamath2014-02-101-3/+13
|\ | | | | | | | | | | | | in RS Java/JNI code" * commit '33a608a0a326d9671bffd6750cb5521d6687cc57': AArch64: Use long for pointers in RS Java/JNI code
| * AArch64: Use long for pointers in RS Java/JNI codeAshok Bhat2014-02-051-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include [x] Some JNI functions, with return type jlong, casts pointer to jint before returning it. This has been fixed. [x] Minor JNI function prototype changes where formal paramter type has been changed to a JNI type (int to jint for example). [x] long is used for ScriptC, Sampler, Font, ProgramStore handles as they can be 64-bit. [x] A new hidden constructor ScriptC(long, RenderScript) has been added. This should eventually replace public API method ScriptC(int, RenderScript). [x] Font and FileA3D use getNativeAsset instead of getAssetInt to get Asset Handles. The getAssetInt method will be deprecated in favor of getNativeAsset, as the former does not support 64-bit. [x] rsnPathCreate method accepts loop as an int. This should be long as the underlying RS function assumes this to be a pointer. Change-Id: I919d857e5933febe63966049da83de9f9adee6f5 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
| * Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2014-01-311-0/+113
| | | | Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
* Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2013-12-171-0/+106
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d