summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsLocklessFifo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-191-2/+2
| | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)Steve Block2012-01-191-2/+2
| | | | Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
* Add RS watchdog.Jason Sams2011-09-131-1/+14
| | | | Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
* Fixing the lockless fifo destory bug.Alex Sakhartchouk2011-08-191-2/+3
| | | | | | Removing unused code from element. build. Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
* Fix the RS frame timeout.Jason Sams2011-08-121-6/+8
| | | | | | | | Previous a slow app would block from receiving new commands until the timer expired. This change will expire the timer immediatly. Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
* For the serialization context, no fifo initialization is necessary.Alex Sakhartchouk2011-07-131-2/+4
| | | | | | On shutdown it was attempting to free uninitialized memory. Change-Id: I9141be5a51253f87f21594ae38f7e653f9e69c6c
* Fix another barrier bug 3333866Jason Sams2011-01-271-1/+3
| | | | | | Atomically update put. Change-Id: Id6d4b5c03f5562b3021561e95966a01abd293667
* Attempt to fix 3333866Jason Sams2011-01-241-2/+5
| | | | | | | Missing memory barrier when the non-locking past path is hit. Change-Id: I80db7df547c1ce35ed85ba117519b12679cc42ef
* Fix race condition between GC thread andJason Sams2011-01-181-0/+16
| | | | | | | | | the teardown of RS. The RS context was going away while the objects were being deleted within the finializer. Add more debugging for playCoreCommands. Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
* Prevent message overrun in LocklessCommandFifo.Bryan Mawhinney2010-12-051-3/+2
| | | | | | | | | The previous logic in makeSpace and makeSpaceNonBlocking was incorrect (probably a typo). We shouldn't loop if looping will overwrite unread messages, or if we would make the buffer appear empty (mPut == mGet). Change-Id: Iabc82ca94a585a7041069db97cbed7709f2d388f
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-39/+23
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Async type creation.Jason Sams2010-10-141-0/+6
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Fix bug looping non-blocking fifos.Jason Sams2010-08-181-1/+26
| | | | Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
* Seperate out Mutex and Signal code into reusable classes.Jason Sams2010-03-261-82/+10
| | | | Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
* Defer EGL init until the surface changed call comes in. Pass w,h along with ↵Jason Sams2009-11-121-1/+1
| | | | surface for verification of driver state.
* Implement data push from scripts. Fixes the problem where apps would have ↵Jason Sams2009-10-061-0/+6
| | | | | | | | to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state. Change only impacts renderscript and renderscript apps.
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-0/+6
| | | | 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.
* Fix invokables to make sure script pointers are setup before invoking ↵Jason Sams2009-09-241-2/+2
| | | | function calls. Reduce app startup time up to 1s.
* Implement java interface for RS shutdown and fix shutdown deadlock with the ↵Jason Sams2009-08-251-4/+15
| | | | command fifo.
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-8/+1
|
* 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.
* Replace spins with proper pthread conditions.Jason Sams2009-06-181-12/+85
|
* Generalize bitmap support and add remaining GL formats.Jason Sams2009-06-031-4/+6
| | | | Fix bug in command fifo looping case.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+180
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