summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsElement.h
Commit message (Collapse)AuthorAgeFilesLines
* Moving libRSAlex Sakhartchouk2012-03-281-187/+0
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* 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