History log of /frameworks/rs/cpp/rsDispatch.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c020bdd35e30a0478c1d642a64abb26ccd1d372c 16-Feb-2017 Miao Wang <miaowang@google.com> Add dispatch table entries required by RenderScript HIDL implementation.

- Add several missing entries to the dispatch table. Dispatch table is
now used for switching between HIDL implementation and our CPU
fallback, instead of only accessing the APIs exposed by RS
support library and RS NDK library.

Bug: 34396220
Test: mm
Change-Id: Ie06746ed6a59120af008e1bf291479bf3c6407ec
/frameworks/rs/cpp/rsDispatch.cpp
ae2ec3febedfc29376b9104413fb4042028f1265 01-Jun-2016 David Gross <dgross@google.com> Delete simple reduction implementation.

Bug: 27298560
Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
/frameworks/rs/cpp/rsDispatch.cpp
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.cpp
5abfd9b62b3173a371c42fc92ca8cf978420d694 20-Feb-2016 Miao Wang <miaowang@google.com> Use c++_static instead of stlport_static for support lib.

Bug: 27230989

- Clean up the makefile
- For NDK libs, use c++_static
- Avoid exposing symbols for C++ lib
- Use nullptr instead of NULL

Change-Id: I60cf11cb6a6044584a3e484979da231f72772f86
/frameworks/rs/cpp/rsDispatch.cpp
5b042ca38df2185548fc2bd905d2c460a073598e 24-Feb-2016 Miao Wang <miaowang@google.com> Refactor/enhance dispatch table init

Bug: 27323830
Change-Id: I9da69782cccbf42761cbd82d99df2bab80e9e57c
/frameworks/rs/cpp/rsDispatch.cpp
62e9af7113ca5a33e6da4608470034f691c792b9 07-Nov-2015 Miao Wang <miaowang@google.com> Enable error logcat for rsDispatch.

Bug: 25226912
Change-Id: I26eed3223d37a0c49efc2d4fdf33dd64ad52d22f
/frameworks/rs/cpp/rsDispatch.cpp
cf067b8c4d1e53bc4768fbad239851c579717f2c 15-Sep-2015 Miao Wang <miaowang@google.com> Comments clean up for C++ API

Change-Id: I7ced3653a32fa8eaa62cd218002d22f5551c404a
/frameworks/rs/cpp/rsDispatch.cpp
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.cpp
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.cpp
974ca28675268310b1abb29c6ce95b57fa079e2a 31-Mar-2015 Miao Wang <miaowang@google.com> Update Dispatch table entry for ScriptGroup2.

Change-Id: Ice2523e7803cc50822840e47d13df3b2e059a5ca
/frameworks/rs/cpp/rsDispatch.cpp
0245c71170202d2a372916ab9bd8aafd17f619a6 06-Mar-2015 Miao Wang <miaowang@google.com> Make dispatchTable load AllocationGetPointer only when device api >= L

Change-Id: Idfc739e8f810f55108d5b7b598f71948dfeb40bf
/frameworks/rs/cpp/rsDispatch.cpp
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.cpp
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.cpp
45b8b74de01ffea72e338d129a685230e5187d86 07-Feb-2015 Miao Wang <miaowang@google.com> Not return false when dispatch InvokeID, to make compat lib able to
load libRS.so on older devices.

Change-Id: I1669a8a99ca08f91a03fdafa3b5f1ca778e41267
/frameworks/rs/cpp/rsDispatch.cpp
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.cpp
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.cpp
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.cpp
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.cpp