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/rsProgramFragment.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/rsProgramFragment.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/rsProgramFragment.h
|
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 |
|
29-Jul-2014 |
Chris Wailes <chriswailes@google.com> |
Replaced android::Vector with std::vector. Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsProgramFragment.h
|
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/rsProgramFragment.h
|
e3150cfb3edb028407669e4a65e087eae77e718c |
|
25-Jul-2012 |
Jason Sams <jsams@google.com> |
Plumb context through for serialization. Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsProgramFragment.h
|
748eb07e805b93c2bf79340d4937963ab739d17c |
|
16-Feb-2012 |
Alex Sakhartchouk <alexst@google.com> |
Piping texture names through shader builder. Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
/frameworks/rs/rsProgramFragment.h
|
c19ff0177a7a0dadfc01b1990f822354fdc95991 |
|
06-May-2011 |
Alex Sakhartchouk <alexst@google.com> |
rsLib cleanup Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
/frameworks/rs/rsProgramFragment.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/rsProgramFragment.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/rsProgramFragment.h
|
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/rsProgramFragment.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/rsProgramFragment.h
|
660ccc77fbceda1f0a4b0b811fbb82a5b006ec9b |
|
03-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Fixing fragment shader bounding code Change-Id: I743dae12bb3f226f758a065d9b353eff36e2f964
/frameworks/rs/rsProgramFragment.h
|
6445e5210c6d7f8689e94be9026153d017c9545b |
|
05-Aug-2010 |
Jason Sams <rjsams@android.com> |
Support constant and varying colors in ProgramFragment. Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
/frameworks/rs/rsProgramFragment.h
|
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 |
|
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsProgramFragment.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/rsProgramFragment.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/rsProgramFragment.h
|
7dad9c30a59c99b57269e1b498807b6f034d56e9 |
|
18-Dec-2009 |
Jason Sams <rjsams@android.com> |
Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
/frameworks/rs/rsProgramFragment.h
|
cd50653f99c960e1a47c2c30e53b369b8805344a |
|
16-Dec-2009 |
Jason Sams <rjsams@android.com> |
Place shader logging behind prop to declutter logs.
/frameworks/rs/rsProgramFragment.h
|
f2e4fa215c420cf0f8d226e9a59acb1f312e5e40 |
|
15-Dec-2009 |
Jason Sams <rjsams@android.com> |
Continue es2 shader dev Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java
/frameworks/rs/rsProgramFragment.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/rsProgramFragment.h
|
f2649a961db2995e9e24a6c98f8a419f1496c1b7 |
|
26-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsProgramFragment.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/rsProgramFragment.h
|
afcb25c65e8145d15aaf50a0ca38333954a97000 |
|
25-Aug-2009 |
Jason Sams <rjsams@android.com> |
Add support for selecting the color bit depth and if the application used a depth buffer.
/frameworks/rs/rsProgramFragment.h
|
e0158410a2fedef43f5a2848c28393ad611e8cad |
|
21-Aug-2009 |
Jason Sams <rjsams@android.com> |
Point Sprites
/frameworks/rs/rsProgramFragment.h
|
cfb1d11ce6826fce7241d316d8b7dcab661f63a6 |
|
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Remove useless slot from ProgramVertex. Optimize GL state setup.
/frameworks/rs/rsProgramFragment.h
|
8ce125be69531dbf3a7e856d5e59d1b8e2789db0 |
|
18-Jun-2009 |
Jason Sams <rjsams@android.com> |
Implement default programs and implement defaults and parents for imports.
/frameworks/rs/rsProgramFragment.h
|
a0a1b6fbece2eb8d72d788422ab3e5f58d5a9216 |
|
11-Jun-2009 |
Jason Sams <rjsams@android.com> |
Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
/frameworks/rs/rsProgramFragment.h
|
326e0ddf89e8df2837752fbfd7a014814b32082c |
|
22-May-2009 |
Jason Sams <jsams@google.com> |
Add the Renderscript library. (Not in the build by default yet.) This library can be used to create animated 3D User Interfaces. This library is currently under heavy development, so it's not part of the build by default. In order to build this library, you must define BUILD_RENDERSCRIPT=true in your build environment. You will also have to manually edit build/core/prelink-linux-arm.map And add libRS and libRS_jni at the end like this (exact address may change.) libRS.so 0x9A100000 libRS_jni.so 0x9A000000
/frameworks/rs/rsProgramFragment.h
|