summaryrefslogtreecommitdiff
path: root/rsElement.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Added a flag to APIs for rsObj creation"Yang Ni2016-03-081-14/+4
| | | | | | This reverts commit 04dcca95461a2ffab4ce5209a453b752ab5c606b. Change-Id: I0016bbff79626b033201a88f466cbb2d60f86717
* Added a flag to APIs for rsObj creationYang Ni2016-03-031-4/+14
| | | | | | | | | | | Bug: 25570907 This flag will distinguish calls from Java/JNI vs. Single-Source RS. For the latter, the user ref count should remain zero to avoid memory leaks. Change-Id: Id3604f93b166089e3aca896d1c6c509b3ea19bcf (cherry picked from commit a7725cbfcdfe2eaf868571c77f004a4d7208e8ef)
* Revert "Replaced android::Vector with std::vector."Yang Ni2015-02-151-3/+1
| | | | | | | | | | b/19148482 This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371. I also made some changes to Make it work with HEAD. Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
* Cleanup includes for rs/cpp to not expose internal details.Jason Sams2014-11-111-1/+1
| | | | Change-Id: Ib23f591f8418d3318f61ab1d3f6f2b684bf95692
* Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-2/+2
| | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* Replaced android::Vector with std::vector.Chris Wailes2014-08-181-1/+3
| | | | Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
* Add missing delete operators to Type and Element.Tim Murray2014-07-101-0/+2
| | | | | | bug 15861251 Change-Id: I6cbf64f6cb24d2fb3f8ee048c08a982efd4a683e
* Add 64bit large object supportJason Sams2014-07-081-0/+1
| | | | | | | | | | | | Add HAL hooks for filling in LO fields. Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4 Conflicts: driver/rsdBcc.cpp driver/rsdCore.cpp rsAllocation.h rs_hal.h
* Remove more String8Jason Sams2013-07-171-2/+2
| | | | Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
* Remove internal element builder and vector code.Jason Sams2013-07-091-14/+2
| | | | | | Remove additional String8 references from shared includes. Change-Id: Iede11384b9fc5a303d15d47fd4074c800dc6ad5f
* Cleanup pass + implement blur ucharJason Sams2012-11-261-0/+1
| | | | | | | | Change-Id: Ib7f1c5218663b468a3c11daa2c3373ae132145ac Conflicts: cpu_ref/rsCpuIntrinsicBlend.cpp
* Plumb context through for serialization.Jason Sams2012-07-241-1/+1
| | | | Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
* Starting to untangle header spaghetti.Alex Sakhartchouk2012-03-091-0/+1
| | | | Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
* Adding RS comments, cleaning up the gl implementation with new Element hal.Alex Sakhartchouk2011-12-281-1/+8
| | | | Change-Id: I74de1e8248a73a45a39976e6027dac2626d580e9
* Element HAL sturct, script side gettersAlex Sakhartchouk2011-12-151-0/+21
| | | | Change-Id: If98dd4c22bce58dca2c9739c8aee935a2dd0b493
* Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-0/+12
| | | | | | | | | | | | | | | | BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
* Fixing the lockless fifo destory bug.Alex Sakhartchouk2011-08-191-9/+1
| | | | | | Removing unused code from element. build. Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
* Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-10/+43
| | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-3/+1
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-0/+2
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Update allocation from bitmap.Alex Sakhartchouk2010-10-111-0/+1
| | | | | | GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
* Adding support for all allowed textures.Alex Sakhartchouk2010-09-231-0/+2
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-0/+9
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Add arrays to elements.Jason Sams2010-09-071-1/+2
| | | | Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
* Refcounting in allocations.Jason Sams2010-08-091-2/+10
| | | | Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
* Move ImageProcessing and ModelViewer to reflected files.Jason Sams2010-06-211-2/+0
| | | | | | Implement boolean support. Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
* Creating the jni and java layer to integrate a3dAlex Sakhartchouk2010-06-041-1/+1
| | | | Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-1/+4
| | | | | | | | | | | | | | | | | 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
* Implement type collapsing for Elements and Types. Now if a user creates two ↵Jason Sams2010-02-171-2/+4
| | | | or more identical objects we simply reuse the existing object rather than create a new one.
* Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-041-8/+1
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-16/+14
| | | | | | 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.
* Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-151-12/+38
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* Improve logging code to dump more detaild rs object info. Fix bug with ↵Jason Sams2009-09-271-0/+3
| | | | predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-2/+2
| | | | 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.
* Removed last bits of predefined element types from native code. Predefined ↵Jason Sams2009-09-241-18/+0
| | | | types are now constructed at the java layer from standard building blocks.
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-6/+5
| | | | object destruction tracking.
* Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams2009-06-221-2/+0
| | | | should be included everywhere and contain rs global defines.
* Generalize bitmap support and add remaining GL formats.Jason Sams2009-06-031-0/+2
| | | | Fix bug in command fifo looping case.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+96
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