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/rsProgramRaster.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/rsProgramRaster.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/rsProgramRaster.h
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsProgramRaster.h
|
e3150cfb3edb028407669e4a65e087eae77e718c |
|
25-Jul-2012 |
Jason Sams <jsams@google.com> |
Plumb context through for serialization. Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsProgramRaster.h
|
407f8ca5a1cd2269dba356f40ab32a5ff934a6a2 |
|
24-Sep-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding getter functions for script side RS objects. Multiproject change involving on device linker Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
/frameworks/rs/rsProgramRaster.h
|
5b9f3e2e5fe85e6defb424c6f96ddeab1581222c |
|
23-Sep-2011 |
Jason Sams <rjsams@android.com> |
Remove unused fields in ProgramRaster Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
/frameworks/rs/rsProgramRaster.h
|
c700e649ca44d0dcff8b271e42d949ea72fe3c63 |
|
16-Aug-2011 |
Alex Sakhartchouk <alexst@google.com> |
Fixing asynchronous performance issues. Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
/frameworks/rs/rsProgramRaster.h
|
7f126c78a107257090c6675ea40ffac41516a9dc |
|
06-May-2011 |
Alex Sakhartchouk <alexst@google.com> |
Moving samplers behind the hal. Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
/frameworks/rs/rsProgramRaster.h
|
721acc495b859c6d884725a4f9b5523583dd11c7 |
|
06-Apr-2011 |
Jason Sams <rjsams@android.com> |
Seperate ProgramRaster. Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
/frameworks/rs/rsProgramRaster.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/rsProgramRaster.h
|
900f1616bf33c7ba13cf2a737832a95bcd176388 |
|
17-Sep-2010 |
Jason Sams <rjsams@android.com> |
Cleanup GL setup code and remove legacy 1.1 paths. Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
/frameworks/rs/rsProgramRaster.h
|
d18c744a37441311c9b65254a35db456835adad3 |
|
13-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Work on synchronizing a3d created files and java layer. Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
/frameworks/rs/rsProgramRaster.h
|
479e2924807e1fff79de2e0bee2a67939d8659ee |
|
10-Jul-2010 |
Jason Sams <rjsams@android.com> |
Remove points from fixed function. Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
/frameworks/rs/rsProgramRaster.h
|
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 |
|
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsProgramRaster.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/rsProgramRaster.h
|
771565f47fc44608444c00aa8fa3bda769ceaece |
|
15-May-2010 |
Jason Sams <rjsams@android.com> |
Change RS to use the passed surface size rather than EGL size. Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h
/frameworks/rs/rsProgramRaster.h
|
4815c0d121310cfcd6a8aba4eab77a9910af53ac |
|
15-Dec-2009 |
Jason Sams <rjsams@android.com> |
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
/frameworks/rs/rsProgramRaster.h
|
c460e55d78cbe8bee95c5c947dfe541218142a5b |
|
25-Nov-2009 |
Jason Sams <rjsams@android.com> |
Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly.
/frameworks/rs/rsProgramRaster.h
|
f2649a961db2995e9e24a6c98f8a419f1496c1b7 |
|
26-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsProgramRaster.h
|
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/rsProgramRaster.h
|
5fd09d847586f9680b4f495413b6ca5fbb69af6e |
|
23-Sep-2009 |
Jason Sams <rjsams@android.com> |
Add raster object to control point and line params. Add flag to force SW rendering.
/frameworks/rs/rsProgramRaster.h
|