82e135c4bbe18855d8ed02632bb074f8da0b96e0 |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove libutils.so dependency from libRSDriver, libRSCpuRef, and most parts of libRS_internal. NOTE: we're resolving dependencies to provide a model for vendors. For us, all this code is above the HAL, thus the dependencies are acceptable; whereas for vendors, their equivalent of this code is below the HAL, and so the dependencies are not acceptable. This CL resolves the libutils dependency by: - Implement the timings functions in android::renderscript namespace using NDK APIs, instead of using libutils counterparts. - Replace android::Vector and android::String8 by std::vector and std::string. - PROPERTY_VALUE_MAX is replaced as PROP_VALUE_MAX. This CL didn't resolve the libutils dependency of rsFont.cpp and rsDebugger.cpp in libRS_internal: The dependent functionality in rsDebugHelper.h is off by default, and only intended for use during development; and rsFont.cpp is part of graphics API which is not implemented below the HAL and is not used as a model by vendors. Additionally, this CL fixed the bug that mNodes was sorted in a decreasing order. Nodes in ScriptGroup should be executed in ascending order. The bad sort was only for support lib; so there was a previously-unknown bug in support lib implementation of ScriptGroup. Background: libutils contains a collection of things like Vector, String8, CallStack. It served the purpose similar to a STL library, when there was no stable STL implementation available in Android. And most importantly, it is not part of NDK. Support lib used to use our own implementations of android::Vector and android::String8, because it can only depend on NDK, similarly for the timing related functions. As part of the Treble requirements, native RS, including vendor version libRS_internal, libRSDriver, libRSCpuRef could only depend on NDK too. So we need to break the dependency on libutils. And since we now have reasonable support of STLs, we should use that instead. Bug: 34396220 Test: mm, and all CTS tests pass on Bullhead; RsTest and RSTest_CompatLib (both native and compat path) also pass. Change-Id: Ib9a37d16235c1dcd0f5bae3b95c374e394483c91
/frameworks/rs/driver/rsdMeshObj.cpp
|
e939ce7e3b609ee53d73c2b48c5ff8f03b4579a3 |
|
16-Nov-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-build-using-namespace warnings in driver. * Replace "using namespace ..." statements with using declarations of the required names. * Put extern "C" functions inside a namespace to save a lot of using declarations. Their linkage names are not changed but can access names in the namespace easily. Bug: 32670901 Test: build with WITH_TIDY=1 Change-Id: I7a2d45ecab47bc9064701fd288fe31f47b28fcc9
/frameworks/rs/driver/rsdMeshObj.cpp
|
b8353c5943f4038fd7f08db3d958390ce9418798 |
|
15-Feb-2015 |
Yang Ni <yangni@google.com> |
Revert "Replaced android::Vector with std::vector." b/19148482 This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371. I also made some changes to Make it work with HEAD. Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
/frameworks/rs/driver/rsdMeshObj.cpp
|
44bef6fba6244292b751387f3d6c31cca96c28ad |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace NULL macros with nullptr literals. Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/driver/rsdMeshObj.cpp
|
6847e73314e13aa02231268cca245a81eb0539ca |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace android::String8 with std::string Change-Id: I5b2b6d3e38afd0b040f0a584613745206bf01ba0
/frameworks/rs/driver/rsdMeshObj.cpp
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/driver/rsdMeshObj.cpp
|
e195a3f57ace3b66d313a6ee88c6e93d5c9d87f4 |
|
13-Mar-2014 |
Tim Murray <timmurray@google.com> |
Make RS compile on ARM64. bug 13280327 Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
/frameworks/rs/driver/rsdMeshObj.cpp
|
709a0978ae141198018ca9769f8d96292a8928e6 |
|
16-Nov-2012 |
Jason Sams <jsams@google.com> |
Separate CPU driver impl from reference driver. Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/driver/rsdMeshObj.cpp
|
807fdc4b6f3fb893015ee136565d6151bb2332d3 |
|
26-Jul-2012 |
Jason Sams <jsams@google.com> |
Move memory layout to driver. This change moves all allocation data copies to the hal. Also removes stride from the runtime. Follow on changes will remove the malloc pointer from the runtime. Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
/frameworks/rs/driver/rsdMeshObj.cpp
|
2275e9cf534ff601fe42a72ff50580b230c04fe2 |
|
17-Apr-2012 |
Jason Sams <jsams@google.com> |
Fix duplicate malloc pointers. Change-Id: I6525877cb93fe0f750339a8d7a747c7f5ce9a2f7
/frameworks/rs/driver/rsdMeshObj.cpp
|
c0a65425f8eb3573b1abd2a48292ca953c0a8590 |
|
05-Jan-2012 |
Alex Sakhartchouk <alexst@google.com> |
Cleanup based on comments. Change-Id: I2d261b3cd240b890001dcc7d2a849cfdc34328bf
/frameworks/rs/driver/rsdMeshObj.cpp
|
25a59d051a218bd608b005a149509464b3e6d4f0 |
|
29-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding better error behavior to RS Change-Id: Iea1cc76793f8978d60575404d7b1c5145e268d6e
/frameworks/rs/driver/rsdMeshObj.cpp
|
4a43e3ea8a0328c56ace0af1869b4c8c781a7b26 |
|
28-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding RS comments, cleaning up the gl implementation with new Element hal. Change-Id: I74de1e8248a73a45a39976e6027dac2626d580e9
/frameworks/rs/driver/rsdMeshObj.cpp
|
064aa7ed76db9564b041afcd4b75da5b3d12faba |
|
18-Oct-2011 |
Alex Sakhartchouk <alexst@google.com> |
Remove ObjBaseRef from the hal struct Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
/frameworks/rs/driver/rsdMeshObj.cpp
|
2382aba4a55c6ae74789c478eead8fbd96593321 |
|
14-Sep-2011 |
Jason Sams <rjsams@android.com> |
Add RS watchdog. Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
/frameworks/rs/driver/rsdMeshObj.cpp
|
a94952436aeb251f587c1bccdf94c7f75285dfe2 |
|
16-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding ability to read back fbo data to renderscript Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
/frameworks/rs/driver/rsdMeshObj.cpp
|
a614ae175bbf97201b5e18984d814a1d3e86faa8 |
|
27-May-2011 |
Jason Sams <rjsams@android.com> |
Cleaup of rsComponent to remove GL types. Change-Id: I9f82bafe42f5fb30335b15f38eb251dc1ec62e80
/frameworks/rs/driver/rsdMeshObj.cpp
|
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 |
|
27-May-2011 |
Jason Sams <rjsams@android.com> |
Start splitting allocation into hal and core. Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/driver/rsdMeshObj.cpp
|
c19ff0177a7a0dadfc01b1990f822354fdc95991 |
|
06-May-2011 |
Alex Sakhartchouk <alexst@google.com> |
rsLib cleanup Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
/frameworks/rs/driver/rsdMeshObj.cpp
|
a04e30dbb5ab11592b03666bb3d102070759c58e |
|
30-Apr-2011 |
Alex Sakhartchouk <alexst@google.com> |
Moving renderscript GL code into the HAL This change affects - shaders - meshes - fonts - quad rendering Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
/frameworks/rs/driver/rsdMeshObj.cpp
|