summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsObjectBase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-17/+17
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Fix issue with freeing allocation with circular references.Jason Sams2011-08-181-0/+26
| | | | Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
* Cleaning up the serialization change.Alex Sakhartchouk2011-01-311-6/+0
| | | | | | Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-40/+20
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Begin adding async allocation creation.Jason Sams2010-10-261-1/+8
| | | | | | | | Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-60/+77
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Fix deadlock on RS teardown.Jason Sams2010-10-151-9/+3
| | | | Change-Id: I34d2702b535e28e9519c7368fd8a942bfe0724bc
* Async type creation.Jason Sams2010-10-141-17/+64
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Fixing refcounting debug statements that've gotten bitrotten.Alex Sakhartchouk2010-10-121-5/+5
| | | | Change-Id: Ie93bf651b9e469b7b4e9cacd8f79b38d04012892
* Add object validity checking.Jason Sams2010-09-301-0/+12
| | | | Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
* Fix clear() operation for rsScriptC.Stephen Hines2010-09-291-0/+1
| | | | | | | | | | | - This removes a memory leak where some elements were not getting tracked properly (and then triggering an assert when a context is destroyed). - Convert ScriptCState to use a tracked object reference for mScript. - Add a missing clear to FontState. - Clean up synchronization in RSTest so that our graphics context outlives any subtest context. Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-12/+9
| | | | | | | | | | | | | | | | | 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-0/+1
| | | | or more identical objects we simply reuse the existing object rather than create a new one.
* Fix extended logging for object dumping.Jason Sams2009-11-191-12/+6
|
* Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams2009-11-171-0/+12
|
* Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams2009-11-031-6/+1
| | | | Move freeing of objects to before context teardown to allow allocations to clean up their data.
* Fix some leaks. This fixes the major malloc memory leak in allApps. Still ↵Jason Sams2009-11-021-0/+1
| | | | tracking some much more minor issues.
* Improve logging code to dump more detaild rs object info. Fix bug with ↵Jason Sams2009-09-271-3/+3
| | | | 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-8/+26
|
* Reduce debugging spew and add props to selectivly re-enable it.Jason Sams2009-09-251-5/+9
| | | | change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-15/+91
| | | | 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.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-8/+31
| | | | which replaces TriangleMesh. Update Film to use new builder.
* Add support for selecting the color bit depth and if the application used a ↵Jason Sams2009-08-251-0/+5
| | | | depth buffer.
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-0/+1
| | | | object destruction tracking.
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-2/+2
|
* Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams2009-06-221-1/+0
| | | | should be included everywhere and contain rs global defines.
* Fix bug with bad conversion of java strings to C strings for object names. ↵Jason Sams2009-06-101-0/+12
| | | | Update test app to test object defines.
* Add named objects and implement support for ProgramFragmentStore and ↵Jason Sams2009-06-101-0/+10
| | | | ProgramFragment to be used by name in scripts.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+48
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