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/rsFileA3D.h
|
7974fc03e11f3a8dd40f794f3b33b4889483090c |
|
09-Feb-2017 |
Rahul Chaudhry <rahulchaudhry@google.com> |
frameworks/rs: fix typos and clang-tidy warnings This change fixes a few typos and clang tidy warnings related to the "llvm-namespace-comment" checks. Bug: 26936282 Test: WITH_TIDY=1 WITH_TIDY_CHECKS="llvm-namespace-comment" mm Change-Id: Ic65182e5b4999fbd48d6a8ad7172e4bfeeb541f4
/frameworks/rs/rsFileA3D.h
|
ba5e591e2d595e5b361e749ec133de1f339bcdd5 |
|
14-Dec-2016 |
Yang Ni <yangni@google.com> |
Avoid dependency on androidfw Bug: http://b/33451638 Test: mm Change-Id: If3c311cae06fc60d7ab7ebf2b14539be3503ef2b
/frameworks/rs/rsFileA3D.h
|
10ab8bb0fa510bdb577adce5e67b6bf35882a9dd |
|
01-Jul-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-explicit-constructor warnings in frameworks/rs. * Declare explicit conversion constructors. * Add NOLINT to implicit conversion constructors. Bug: 28341362 Test: build with clang-tidy Change-Id: If5114de668c1c8946b8fca9cee4b2b14f95be5f1
/frameworks/rs/rsFileA3D.h
|
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/rsFileA3D.h
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsFileA3D.h
|
48ecf6a5e85a9a832f41393ed2802385bb8b5db8 |
|
10-Jul-2013 |
Jason Sams <jsams@google.com> |
Remove more String8 Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
/frameworks/rs/rsFileA3D.h
|
e3150cfb3edb028407669e4a65e087eae77e718c |
|
25-Jul-2012 |
Jason Sams <jsams@google.com> |
Plumb context through for serialization. Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsFileA3D.h
|
a6ab26a035017143a24efa11859c9d8815a27f41 |
|
29-Mar-2012 |
Jason Sams <jsams@google.com> |
Workaround PDK issues. Change-Id: I7dcb76a23cb3fd59e2a2d5e25af1329b2ac38415
/frameworks/rs/rsFileA3D.h
|
e23d239828a229eb7d4d33c9630070f0a87833e1 |
|
09-Mar-2012 |
Alex Sakhartchouk <alexst@google.com> |
Starting to untangle header spaghetti. Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
/frameworks/rs/rsFileA3D.h
|
8bab2759e224da05342e43953f189cd46df03c38 |
|
18-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring. step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
/frameworks/rs/rsFileA3D.h
|
3715b00e7b10a2624c1d5c696186c7a2f4a75a91 |
|
17-Feb-2012 |
Jason Sams <rjsams@android.com> |
Rename three header files to free namespace for api. Change-Id: Ie9ef65a477373c30b2d5b02248f62e768b6f27ae
/frameworks/rs/rsFileA3D.h
|
5224a27798f89093b13722b41143551a057ce550 |
|
07-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Additional loading methods for fonts and a3d files. Cleaned up error messages. Change-Id: Id33b7149671df23c37cc11375d844a7837dac750 Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
/frameworks/rs/rsFileA3D.h
|
afb743aca56c18beb7ab924e75cb6e070ef3e55a |
|
10-Nov-2010 |
Alex Sakhartchouk <alexst@google.com> |
Code cleanup to make formatting consistent across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsFileA3D.h
|
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 |
|
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsFileA3D.h
|
fb6b614bcea88a587a7ea4530be45ff0ffa0210e |
|
21-May-2010 |
Alex Sakhartchouk <alexst@google.com> |
Removed unnecessary change based on comments. Now using android utils lib. collada_to_a3d seems to work with android util libs. Integrating old changelist Changing assert to rsAssrt in VertexArray making context compile. Change-Id: I33890defa777f09253bfab630d97782359ec49d7 Added serialization code to rsLib Integrated old changelist Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311 Added serialization code to rsLib Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
/frameworks/rs/rsFileA3D.h
|
a5597fcd411badad50c1345b3eca26453da45bbb |
|
09-Jul-2009 |
Jason Sams <rjsams@android.com> |
1st cut of a3d file loader.
/frameworks/rs/rsFileA3D.h
|