History log of /frameworks/base/rs/java/android/renderscript/ScriptC.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
689f63770048589e1001ce99faf1d2eaf9780a80 11-Mar-2016 Yang Ni <yangni@google.com> Correctly init code cache path for RS

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
/frameworks/base/rs/java/android/renderscript/ScriptC.java
e1e6c66198e628f0784e1731bbdb775da479075b 07-Apr-2015 Tim Murray <timmurray@google.com> Move cache dir to its own class.

This prevents us from loading the RS static initializer all the time.

Change-Id: I8cea7540e50251aba8c2f199f06f344f991e7d7f
/frameworks/base/rs/java/android/renderscript/ScriptC.java
6e45f30718e6dd08b6bb5c5f432c8266241252fc 05-Jun-2014 Tim Murray <timmurray@google.com> Remove @hide for new RS constructors.

Change-Id: I015f36e8c54663472f236e311fe279ce06261ff0
/frameworks/base/rs/java/android/renderscript/ScriptC.java
56f9e6f8d5436d50530807950661e66ca5efe2bb 16-May-2014 Tim Murray <timmurray@google.com> Add support for mixed 32/64 APKs using RenderScript.

Change-Id: I8901a1547d180c9dcef320f86d07a5b82551fb5c
/frameworks/base/rs/java/android/renderscript/ScriptC.java
f152d950854e3052c5d73aefa43d377c10d7d814 10-Feb-2014 Narayan Kamath <narayan@google.com> am 33a608a0: am 578d4f5f: am 56062983: Merge "AArch64: Use long for pointers in RS Java/JNI code"

* commit '33a608a0a326d9671bffd6750cb5521d6687cc57':
AArch64: Use long for pointers in RS Java/JNI code
0e0c0885aed99a119052a792becb5a0c5a93632d 04-Feb-2014 Ashok Bhat <ashok.bhat@arm.com> AArch64: Use long for pointers in RS Java/JNI code

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>
/frameworks/base/rs/java/android/renderscript/ScriptC.java
355707e4f665904e31d9f5fcff1e3921f7db8cdd 17-Dec-2013 Tim Murray <timmurray@google.com> Move RenderScript from graphics/ to new fw/base subdirectory rs.

Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
/frameworks/base/rs/java/android/renderscript/ScriptC.java
d1576fb039f018ea4d55abbb2c03d542011be399 17-Dec-2013 Tim Murray <timmurray@google.com> Move RenderScript from graphics/ to new fw/base subdirectory rs.

Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
/frameworks/base/rs/java/android/renderscript/ScriptC.java