summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsElement.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moving libRSAlex Sakhartchouk2012-03-281-434/+0
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* resolved conflicts for merge of 08289f55 to graphics-devSteve Block2012-01-091-1/+1
|\ | | | | | | Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
| * Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Adding tests for element/mesh getters.Alex Sakhartchouk2011-12-221-12/+26
| | | | | | | | | | | | Fixing bugs found by tests. Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
* | Adding simple hal struct to type.Alex Sakhartchouk2011-12-201-1/+1
| | | | | | | | | | | | Fixing off by 1 error in the element. Change-Id: I0b142942c760cb861007af7099d35d0363f4e13b
* | Element HAL sturct, script side gettersAlex Sakhartchouk2011-12-151-0/+26
|/ | | | Change-Id: If98dd4c22bce58dca2c9739c8aee935a2dd0b493
* Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-0/+17
| | | | | | | | | | | | | | | | 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
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* adding getters to Sampler ProgramRaster, ProgramStore, Element.Alex Sakhartchouk2011-10-181-1/+2
| | | | | | Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
* Fixing the lockless fifo destory bug.Alex Sakhartchouk2011-08-191-29/+9
| | | | | | Removing unused code from element. build. Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
* Fixing asynchronous performance issues.Alex Sakhartchouk2011-08-161-86/+92
| | | | Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
* Fix for the renderscript ref counting bug.Alex Sakhartchouk2011-07-121-6/+6
| | | | | | This only manifested itself in the situations where elements containing multiple ref counted objects were copied from Java. Change-Id: I2c1cc89fe7f792259b3f033674142eb33d17a507
* Add code for generating fifo command packing.Jason Sams2011-05-061-2/+4
| | | | Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
* Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-3/+6
| | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-4/+0
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Making sure we can build libRS on the host for serialization.Alex Sakhartchouk2011-01-311-3/+1
| | | | Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
* More error checksJason Sams2010-11-221-2/+0
| | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-48/+27
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Moving attrib creation to Mesh. Adding arrays as shader inputs.Alex Sakhartchouk2010-11-081-18/+22
| | | | | | Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
* Adding nvidia extension for limited npot support.Alex Sakhartchouk2010-10-271-6/+5
| | | | | | Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
* Begin adding async allocation creation.Jason Sams2010-10-261-0/+1
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-3/+1
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Changing scenegraph sample to use arrays.Alex Sakhartchouk2010-10-131-4/+5
| | | | Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
* Update allocation from bitmap.Alex Sakhartchouk2010-10-111-1/+1
| | | | | | GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
* Adding support for all allowed textures.Alex Sakhartchouk2010-09-231-31/+30
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Shader changes to allow for more flexible constant binding.Alex Sakhartchouk2010-09-141-0/+28
| | | | Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
* Add arrays to elements.Jason Sams2010-09-071-8/+22
| | | | Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
* Fix field packer bug for U32 data.Jason Sams2010-08-121-2/+2
| | | | | | | Fix initial refcounts in allocations. Support null references in allocations. Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
* Adding allocation reference counting to the a3d models.Alex Sakhartchouk2010-08-111-0/+5
| | | | Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
* Refcounting in allocations.Jason Sams2010-08-091-9/+50
| | | | Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
* Populate java objects with native data from a3d file.Alex Sakhartchouk2010-07-151-0/+26
| | | | | | | Remove legacy constructor from programraster Make a3d object creation synchronous Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
* Move ImageProcessing and ModelViewer to reflected files.Jason Sams2010-06-211-39/+0
| | | | | | Implement boolean support. Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
* Creating the jni and java layer to integrate a3dAlex Sakhartchouk2010-06-041-2/+2
| | | | Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-1/+90
| | | | | | | | | | | | | | | | | 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-7/+49
| | | | 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-63/+18
|
* Disable excessive RS logging.Jason Sams2009-12-231-1/+0
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-170/+71
| | | | | | 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-54/+158
| | | | 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/+18
| | | | predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-0/+4
|
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-4/+5
| | | | 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-197/+0
| | | | types are now constructed at the java layer from standard building blocks.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-3/+3
| | | | which replaces TriangleMesh. Update Film to use new builder.
* Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams2009-08-181-6/+0
| | | | function. This was a legacy of the distant past when the classes did not have a common base.
* Implement reflecting Java objects into the ACC enviroment.Jason Sams2009-08-121-33/+33
|
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-12/+7
| | | | object destruction tracking.
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-2/+0
|
* Generalize bitmap support and add remaining GL formats.Jason Sams2009-06-031-0/+104
| | | | Fix bug in command fifo looping case.
* Implement first pass bitmap to allocation support. The Java bindings can ↵Jason Sams2009-05-271-0/+4
| | | | create a 2D allocation by passing in a Bitmap object.