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/rsdShaderCache.h
|
62237219e567b9f972c86e7ca4e96f9b3d5ad4de |
|
28-Feb-2017 |
Miao Wang <miaowang@google.com> |
Remove RS_SERVER macros and references to unused headers. - The RS_SERVER macros were intended to have a version of RenderScript running on the desktop. It has not fully worked for a very long time. Bug: 35473587 Test: build and CTS tests pass Change-Id: I0da3fc9d4601951442384d05f9dbecaeddeff8cc
/frameworks/rs/driver/rsdShaderCache.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/driver/rsdShaderCache.h
|
4fcef498e1508f2f3a0b9332ea89b0064c2dc6e9 |
|
01-Jul-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix clang-tidy warnings in frameworks/rs. * Declare explicit conversion constructors. * Add parentheses around macro arguments beside operators. Bug: 28341362 Bug: 28705665 Change-Id: I2eef68ab0edd33f765bcc5dd73f6baf25b6f7585 Test: build with clang-tidy
/frameworks/rs/driver/rsdShaderCache.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/driver/rsdShaderCache.h
|
44bef6fba6244292b751387f3d6c31cca96c28ad |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace NULL macros with nullptr literals. Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/driver/rsdShaderCache.h
|
6847e73314e13aa02231268cca245a81eb0539ca |
|
12-Aug-2014 |
Chris Wailes <chriswailes@google.com> |
Replace android::String8 with std::string Change-Id: I5b2b6d3e38afd0b040f0a584613745206bf01ba0
/frameworks/rs/driver/rsdShaderCache.h
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/driver/rsdShaderCache.h
|
b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b |
|
04-Jul-2013 |
Stephen Hines <srhines@google.com> |
Remove libutils and fix rsDebug for RS support library. Bug: 9664050 Our bitcode runtime library translates vector rsDebug() calls into passing their parameters via pointers. The previous version of libRSSupport.so was being created with non-pointer versions of these routines accidentally. This change also fixes a missing permission issue for ImageProcessing2, so that the compatibility library can be verified. This change also removes the use of libutils by switching the implementation of String8/Vector in the compatibility library to internal types backed by libstlport_static. Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
/frameworks/rs/driver/rsdShaderCache.h
|
0b575de8ed0b628d84d256f5846500b0385979bd |
|
15-Mar-2013 |
Tim Murray <timmurray@google.com> |
Add x86 server support. Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/driver/rsdShaderCache.h
|
6d6e114f8bea8db08bf1decb673d3eb9a8f258ae |
|
26-Mar-2012 |
Alex Sakhartchouk <alexst@google.com> |
State based shader recompile to support camera input. Change-Id: Ia6c362571e1b44254461522a8c49a8551b46f28d
/frameworks/rs/driver/rsdShaderCache.h
|
3522f40418fdf877f5a136475dbf75e57a3b7c77 |
|
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Implement USAGE_IO_INPUT Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
/frameworks/rs/driver/rsdShaderCache.h
|
ebf4a148cda98359129c04b96ed755a7d8c98b37 |
|
14-Feb-2012 |
Stephen Hines <srhines@google.com> |
Initialize all class members. Change-Id: I2bb2701a9dde66f6c4484a62945c72ddf52248fa
/frameworks/rs/driver/rsdShaderCache.h
|
cf27eb46f97cff087ebfc5b81fe998eabe0569cf |
|
10-Feb-2012 |
Jason Sams <rjsams@android.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b Conflicts: libs/rs/rsAllocation.h
/frameworks/rs/driver/rsdShaderCache.h
|
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/rsdShaderCache.h
|