summaryrefslogtreecommitdiff
path: root/libs/rs/rsObjectBase.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-10-26Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
2011-08-18Fix issue with freeing allocation with circular references.Jason Sams
Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
2011-01-31Cleaning up the serialization change.Alex Sakhartchouk
Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-10-26Begin adding async allocation creation.Jason Sams
Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
2010-10-21Fix refcounting bugs where the sys refcountJason Sams
could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
2010-10-15Fix deadlock on RS teardown.Jason Sams
Change-Id: I34d2702b535e28e9519c7368fd8a942bfe0724bc
2010-10-14Async type creation.Jason Sams
Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
2010-10-12Fixing refcounting debug statements that've gotten bitrotten.Alex Sakhartchouk
Change-Id: Ie93bf651b9e469b7b4e9cacd8f79b38d04012892
2010-09-30Add object validity checking.Jason Sams
Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
2010-09-29Fix clear() operation for rsScriptC.Stephen Hines
- 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
2010-05-21Removed unnecessary change based on comments.Alex Sakhartchouk
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
2010-02-17Implement type collapsing for Elements and Types. Now if a user creates two ↵Jason Sams
or more identical objects we simply reuse the existing object rather than create a new one.
2009-11-19Fix extended logging for object dumping.Jason Sams
2009-11-17Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams
2009-11-03Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams
Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-02Fix some leaks. This fixes the major malloc memory leak in allApps. Still ↵Jason Sams
tracking some much more minor issues.
2009-09-27Improve logging code to dump more detaild rs object info. Fix bug with ↵Jason Sams
predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
2009-09-25Improved object lifecycle tracking and fix leaks.Jason Sams
2009-09-25Reduce debugging spew and add props to selectivly re-enable it.Jason Sams
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
2009-09-25Improve renderscript context teardown. Track object in the system and then ↵Jason Sams
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.
2009-08-27Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams
which replaces TriangleMesh. Update Film to use new builder.
2009-08-25Add support for selecting the color bit depth and if the application used a ↵Jason Sams
depth buffer.
2009-08-09Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams
object destruction tracking.
2009-06-23Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams
2009-06-22Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams
should be included everywhere and contain rs global defines.
2009-06-10Fix bug with bad conversion of java strings to C strings for object names. ↵Jason Sams
Update test app to test object defines.
2009-06-10Add named objects and implement support for ProgramFragmentStore and ↵Jason Sams
ProgramFragment to be used by name in scripts.
2009-05-22Add the Renderscript library. (Not in the build by default yet.)Jason Sams
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