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.cpp
|
ef974052beef34be281db39a06fc0b7a18731986 |
|
11-Aug-2016 |
Greg Kaiser <gkaiser@google.com> |
FileA3D: Don't leak memory in error case. Test: Compiled and ran RSTest Change-Id: I26d1508d108a6b067c2622f82a37041266782baa (cherry picked from commit ebdea3442f9e8a4fc43635cffd411be5c56b9e9e)
/frameworks/rs/rsFileA3D.cpp
|
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.cpp
|
11496ac131bb691edf5bdcab3029dceef5c1e4e1 |
|
16-Nov-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-build-using-namespace warnings in rs. * Most files define classes in renderscript namespace. Define them in the namespace instead of "using namespace ...". Some files define global C++ names, and we replace "using namespace ..." with using declarations of the required names. * Add "NOLINT" comment to rsg_generator.c output code to suppress such warnings. Bug: 32670901 Test: build with WITH_TIDY=1 Change-Id: I9b0edcad3e1fb37c79927b05fd58fb1a301bdf22
/frameworks/rs/rsFileA3D.cpp
|
85d0cb112010781ad07b5979f0824b7f0ae3987e |
|
18-Mar-2016 |
Yang Ni <yangni@google.com> |
Separate libRS.so into public and internal libs Bug: 26546579 libRS_internal.so is not going to be whitelisted by the NDK linker, therefore loadable only by the internal implementation, but not any application code. libRS is going to contain only publicly exported functions, i.e. the functions declared in frameworks/rs/rs.h, including those in rsApiFuncDecl.h (generated from rs.spec). Change-Id: Iac58695316edc9aff87ade2bac3b4a44d1a68b23
/frameworks/rs/rsFileA3D.cpp
|
5bb6dc1933e11cb57e5f4205d13686ad113b205e |
|
30-Jun-2015 |
Miao Wang <miaowang@google.com> |
fix the bug that mWriteStream is deleted twice. bug: 22199404 Change-Id: Idd4c3594ef5208f78b946378194d2e31c6af1e0e
/frameworks/rs/rsFileA3D.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/rsFileA3D.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/rsFileA3D.cpp
|
1ffd86b448d78366190c540f98f8b6d641cdb6cf |
|
07-Jan-2015 |
Yang Ni <yangni@google.com> |
New Script Group API: runtime and cpu driver support. Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
/frameworks/rs/rsFileA3D.cpp
|
44bef6fba6244292b751387f3d6c31cca96c28ad |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace NULL macros with nullptr literals. Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsFileA3D.cpp
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsFileA3D.cpp
|
f8852d0494a260c583795a96a2a06c49b86a9b10 |
|
30-Jan-2014 |
Ian Rogers <irogers@google.com> |
Work-around 64bit build issues. Log errors and abort as a temporary work-around for 64bit support. Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
/frameworks/rs/rsFileA3D.cpp
|
48ecf6a5e85a9a832f41393ed2802385bb8b5db8 |
|
10-Jul-2013 |
Jason Sams <jsams@google.com> |
Remove more String8 Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
/frameworks/rs/rsFileA3D.cpp
|
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 |
|
17-Sep-2012 |
Jason Sams <jsams@google.com> |
Add backed for script groups. Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/rsFileA3D.cpp
|
e3150cfb3edb028407669e4a65e087eae77e718c |
|
25-Jul-2012 |
Jason Sams <jsams@google.com> |
Plumb context through for serialization. Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsFileA3D.cpp
|
a6ab26a035017143a24efa11859c9d8815a27f41 |
|
29-Mar-2012 |
Jason Sams <jsams@google.com> |
Workaround PDK issues. Change-Id: I7dcb76a23cb3fd59e2a2d5e25af1329b2ac38415
/frameworks/rs/rsFileA3D.cpp
|
e23d239828a229eb7d4d33c9630070f0a87833e1 |
|
09-Mar-2012 |
Alex Sakhartchouk <alexst@google.com> |
Starting to untangle header spaghetti. Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
/frameworks/rs/rsFileA3D.cpp
|
af12ac6a08651464f8d823add667c706f993b587 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/rs/rsFileA3D.cpp
|
6598201f1c4f409defac9a5af789fb53a7cc00f8 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/rs/rsFileA3D.cpp
|
c700e649ca44d0dcff8b271e42d949ea72fe3c63 |
|
16-Aug-2011 |
Alex Sakhartchouk <alexst@google.com> |
Fixing asynchronous performance issues. Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
/frameworks/rs/rsFileA3D.cpp
|
77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 |
|
31-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Cleaning up the serialization change. Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
/frameworks/rs/rsFileA3D.cpp
|
099d7d33e55afeb3399f6e8cf8d665223ca94939 |
|
28-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Making sure we can build libRS on the host for serialization. Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
/frameworks/rs/rsFileA3D.cpp
|
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.cpp
|
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.cpp
|
dc763f345db3e796efc28dc4b4d8edffda5a803e |
|
27-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding nvidia extension for limited npot support. Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
/frameworks/rs/rsFileA3D.cpp
|
c8fb69e4a3e01501a3d38a6d3ea185e583d3f493 |
|
05-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding average fps counter. Removing rsLight from libRS Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
/frameworks/rs/rsFileA3D.cpp
|
383e5b1f68c321a77bfd7466fa1171a9bfab4a6f |
|
24-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding support for all allowed textures. Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
/frameworks/rs/rsFileA3D.cpp
|
4e9a7a8ded109e16b163789274899447cef02642 |
|
02-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Start of mesh API cleanup. Switched all native code to go through Mesh class. Removed SimpleMesh Added java Mesh class Will need to port all existing code to use java Mesh, then remove java SimpleMesh. Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
/frameworks/rs/rsFileA3D.cpp
|
d3e0ad43dc758c409fc23d1893dab67b18520c24 |
|
25-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding freetype font rendering to renderscript. Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
/frameworks/rs/rsFileA3D.cpp
|
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 |
|
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsFileA3D.cpp
|
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.cpp
|
d01d970cf5973aa5186cc02c80fb2c143a69b0b1 |
|
23-Dec-2009 |
Jason Sams <rjsams@android.com> |
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them.
/frameworks/rs/rsFileA3D.cpp
|
e514b45de8561fbc6ef6770845102ca10b0a69d7 |
|
25-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
/frameworks/rs/rsFileA3D.cpp
|
8b2c065dfc16c148e2829a19e83d2269b9bcd4cc |
|
13-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement reflecting Java objects into the ACC enviroment.
/frameworks/rs/rsFileA3D.cpp
|
b80dfa72dfdd146a9ddee948ad76635dbea3c0cd |
|
11-Jul-2009 |
Jason Sams <rjsams@android.com> |
More test app work
/frameworks/rs/rsFileA3D.cpp
|
a5597fcd411badad50c1345b3eca26453da45bbb |
|
09-Jul-2009 |
Jason Sams <rjsams@android.com> |
1st cut of a3d file loader.
/frameworks/rs/rsFileA3D.cpp
|