ae2ec3febedfc29376b9104413fb4042028f1265 |
|
01-Jun-2016 |
David Gross <dgross@google.com> |
Delete simple reduction implementation. Bug: 27298560 Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
/frameworks/rs/cpp/rsDispatch.h
|
04cf3e4c1caad17bcd89c3fbe15260ac63c3704f |
|
26-Feb-2016 |
David Gross <dgross@google.com> |
Compatibility library support for general reduction. Requires corresponding change in frameworks/support. Note that the new RSTest_CompatLib test cases were copied from RsTest. Also: - Change LOCAL_RENDERSCRIPT_TARGET_API to 0. - Change manifest targetSdkVersion from 8 to 24 (see Bug: 27367665). - Change compile-only RSTest_CompatLib test apitest.rs to use N rather than pre-N rsForEach() API. Bug: 23535724 Change-Id: I872f2b5a83fb78f4b54b8f6710e1d49df3bea3d1 (cherry picked from commit 328245ae4aecdae3ec23a640efc454959f2ff98c)
/frameworks/rs/cpp/rsDispatch.h
|
5b042ca38df2185548fc2bd905d2c460a073598e |
|
24-Feb-2016 |
Miao Wang <miaowang@google.com> |
Refactor/enhance dispatch table init Bug: 27323830 Change-Id: I9da69782cccbf42761cbd82d99df2bab80e9e57c
/frameworks/rs/cpp/rsDispatch.h
|
fef0cd45027f235126d4fb62bda5ea9037450d9c |
|
12-Nov-2015 |
Yang Ni <yangni@google.com> |
Various fixes in setting globals in a script group Bug: 25602504 1) Fixed setting 64-bit globals on a 32-bit platform. The long values were casted to pointer-size integers (uintptr_t) or void* in the runtime implementation. This caused the upper 32 bits to be lost on 32-bit platforms. Fixed that by casting to int64_t instead. 2) Fixed setting Allocation values (either as arg or a global) in a script group. The size for a value in a script is signed, with -1 indicating that the value is an Allocation. The sign has to be kept across different layers of our stack. 3) Added a test for both native and support libraries for passing floating point values to a script group, and for passing 64-bit values (long or double) to a script group. Change-Id: Ifff099a76be7707df7b67c388395f5a00f9cae66
/frameworks/rs/cpp/rsDispatch.h
|
cf067b8c4d1e53bc4768fbad239851c579717f2c |
|
15-Sep-2015 |
Miao Wang <miaowang@google.com> |
Comments clean up for C++ API Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
/frameworks/rs/cpp/rsDispatch.h
|
394e9a6e1b10229cf0465c50a679dda539c30876 |
|
03-Aug-2015 |
Matt Wala <wala@google.com> |
Add reduce to the dispatch table and to the RenderScript C++ API. Bug: 22631253 Change-Id: I06eec227e122075c8a81ed501cd9efcd4e0ef13a
/frameworks/rs/cpp/rsDispatch.h
|
47a5881b8f85d65c74f2471fe6261d4cdb3dce5e |
|
24-Jul-2015 |
Miao Wang <miaowang@google.com> |
Add AllocationCreateStrided to support lib CPU driver - Able to create Allocations with arbitrary alignment requirement, making Incremental Intrinsic Support able to run with different native GPU RS runtime. - Make compat mode CPU driver using an additional rs_compat.spec. - Add a compat mode only USAGE_INCREMENTAL_SUPPORT. - Add AllocationCreateStrided() to take an Alignment requirement (power of 2). Only enbled when detect USAGE_INCREMENTAL_SUPPORT. Change-Id: I66f913c3a2474f93af5a244c0c84460a7a395e71
/frameworks/rs/cpp/rsDispatch.h
|
a8a9a679cb7f7bcce72d0d487b6912125a1c936b |
|
15-May-2015 |
Miao Wang <miaowang@google.com> |
update dispatch table for IntrinsicBLAS bug: 21028875 Change-Id: I6d4aa8973de523aef7ced48105737eb5ee471e5d (cherry picked from commit 549f8a500d72edda06f1f1a4986a57aba7f66294)
/frameworks/rs/cpp/rsDispatch.h
|
8b94222cc8ea83c780c98b22dd1921f392a2bcf6 |
|
03-Apr-2015 |
Yang Ni <yangni@google.com> |
Added a name to ScriptGroup2 Implemented in the runtime and CPU driver the new script group name. Code caching is not implemented yet, and to be added in another CL. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
/frameworks/rs/cpp/rsDispatch.h
|
fe8f38fabc60f45ba3c0c734bb00ea09f539a7c5 |
|
31-Mar-2015 |
Miao Wang <miaowang@google.com> |
Update Dispatch table following ScriptGroup2 API change. Change-Id: Iacc3cdaa6d58c8f7739ac173fb5ac5de14482133
/frameworks/rs/cpp/rsDispatch.h
|
974ca28675268310b1abb29c6ce95b57fa079e2a |
|
31-Mar-2015 |
Miao Wang <miaowang@google.com> |
Update Dispatch table entry for ScriptGroup2. Change-Id: Ice2523e7803cc50822840e47d13df3b2e059a5ca
/frameworks/rs/cpp/rsDispatch.h
|
cc8cea7477352898921044483a6c803e25d02665 |
|
20-Feb-2015 |
Miao Wang <miaowang@google.com> |
Fix the bug for AllocationRead() that cannot handle 3d Allocation correctly. Add the following functions to make it symmetric for read and write. - AllocationElementData - AllocationElementRead - Allocation3DRead Change-Id: I8c89b5e3474c4c3c70e9795843a76e61f1f90f6a
/frameworks/rs/cpp/rsDispatch.h
|
8a6a71757f64f02058a50778c75033546a79f2b5 |
|
10-Feb-2015 |
Miao Wang <miaowang@google.com> |
Add API check for loadSymbols(), so that functions being dlsymed will depend on the device API level. (default: only load functions in API <= 21); Change-Id: I4b65df7f228a23d713b69983ddb81ce67075d9cc
/frameworks/rs/cpp/rsDispatch.h
|
eb9aa675754c49f613c6ad71d41472b30f38b007 |
|
27-Jan-2015 |
Yang Ni <yangni@google.com> |
Runtime support for invocables in ScriptGroups This also includes support for InvokeID Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
/frameworks/rs/cpp/rsDispatch.h
|
caa8bd8b8a43d4cecbc391651fc90b3a2147957e |
|
05-Feb-2015 |
Miao Wang <miaowang@google.com> |
Merge "Add the missing 'stridelen' field for AllocationGetPointer."
|
f3213d7fd648da98bb3b03204eaf90f03c31926b |
|
14-Jan-2015 |
Miao Wang <miaowang@google.com> |
Make rsContext be able to have info about the path of native libs for 64bit Renderscript compat lib. - Native lib path stored in Java and queried from JNI. - Then set to Context during context creation. Change-Id: I3c997cf849efb7b9a0b0ac35d5b62289d70e7434
/frameworks/rs/cpp/rsDispatch.h
|
94280f817b502caf0b4e40cbcbe300f5178b7473 |
|
03-Feb-2015 |
Miao Wang <miaowang@google.com> |
Add the missing 'stridelen' field for AllocationGetPointer. Change-Id: I387a1e07eb2b1debf60b517d898d3828ff53600c
/frameworks/rs/cpp/rsDispatch.h
|
015ba466dff2c05653b21afded83d311d35cfa7c |
|
08-Jan-2015 |
Yang Ni <yangni@google.com> |
Merge "New Script Group API: runtime and cpu driver support."
|
1ffd86b448d78366190c540f98f8b6d641cdb6cf |
|
07-Jan-2015 |
Yang Ni <yangni@google.com> |
New Script Group API: runtime and cpu driver support. Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
/frameworks/rs/cpp/rsDispatch.h
|
2bd78f2d3e0a94a98dc03502decadfd2e17a70c8 |
|
20-Nov-2014 |
Miao Wang <miaowang@google.com> |
Adding USAGE_IO_OUTPUT support for RS Compat lib. - In allocation driver header, added window buffer struct for compat lib. - dlopen IO related functions in driver layer. - Add function to load symbols in rsDispatch. bug 12924018 Change-Id: I9156a28e458a72db077fe000bd324a369767fc4d
/frameworks/rs/cpp/rsDispatch.h
|
48d2eae90f08dc33754a9d280337249690a954d6 |
|
16-Oct-2014 |
Miao Wang <miaowang@google.com> |
Create a separate static lib that provides a dispatch table to both fw/support/v8/renderscript/jni and libRScpp to reduce code duplication. - This CL contains the static lib (libDispatch) and related changes to libRScpp. Change-Id: I65a4a74370720869eacf197ab31314c1df8dadcb Merged Conflicts: cpp/Android.mk cpp/RenderScript.cpp
/frameworks/rs/cpp/rsDispatch.h
|
66f0a168c4227d4e302f4ffb21ec7e9d7b9ca828 |
|
11-Nov-2014 |
Jason Sams <jsams@google.com> |
Cleanup includes for rs/cpp to not expose internal details. Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
/frameworks/rs/cpp/rsDispatch.h
|
ac8d146a41f18afad5314ac8af440d6aedbe20bf |
|
25-Jun-2014 |
Stephen Hines <srhines@google.com> |
Switch the dimensions array to use uint32_t instead of size_t. size_t isn't safe, since we pack/unpack the array as a 32-bit int array, but that is the wrong type for 64-bit. Switching to uint32_t is better, since we only support 1 dimension today, and won't need many more than that even for complex cases in the future. Change-Id: Ie0dda264a9398b0e385e0f9ee0a91cda08325dbc
/frameworks/rs/cpp/rsDispatch.h
|
b8a94e26c0a5e8f58d5b6ed04e46b411e95b77a4 |
|
25-Feb-2014 |
Jason Sams <jsams@google.com> |
Add getPointer for USAGE_SHARED allocations. Change-Id: I13a2af09bbbeec6cc6131b935979ac21c02820be
/frameworks/rs/cpp/rsDispatch.h
|
6c59e3c5d33232452f3a02e29a540d7c82f3982b |
|
11-Feb-2014 |
Ashok Bhat <ashok.bhat@arm.com> |
AArch64: Use uintptr_t for pointers stored as integers. Changed function parameters that accept pointer as an integer from uint32_t type to uintptr_t type. Change-Id: I7b1f014962da56adb80ad4fdde5e9b4011f5ea54 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
/frameworks/rs/cpp/rsDispatch.h
|
84e3dea053bea25c1cec44ffb298f8b5b9b9141a |
|
10-Sep-2013 |
Tim Murray <timmurray@google.com> |
Add flags word to context initialization. bug 10427951 Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
/frameworks/rs/cpp/rsDispatch.h
|
4a92d1268983edaf329f73c8a5b8860cdbb11596 |
|
22-Jul-2013 |
Tim Murray <timmurray@google.com> |
Move to dynamic dispatch. Add support for IoAllocation* in rs.spec. Change-Id: I013409cbb758ce5aae78347acb39c43d07aeb9bf
/frameworks/rs/cpp/rsDispatch.h
|
a423096c0d49e5cfe13a400b4323a76f89c6885c |
|
18-Jul-2013 |
Tim Murray <timmurray@google.com> |
Move C++ API over to function tables rather than linking libRS directly. Change-Id: I7841df768d5bd10fa941b3655673fd73496a8137
/frameworks/rs/cpp/rsDispatch.h
|