summaryrefslogtreecommitdiff
path: root/libs/rs/rsThreadIO.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-03-09More header untangling.Alex Sakhartchouk
Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
2012-02-16Update prototype remote fifo. Tested primary connectionJason Sams
using only fifo data transport. cleanup cl. Change-Id: I9b5f5e5a256b7f66b387bd801c1da0e642761200
2012-02-09Remove unused param.Jason Sams
Change-Id: Idf26c3bf4eec7ed17dbfb99b40c314bce7996101
2012-02-07Implement RS VSync on new vsync infrastructure.Jason Sams
Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1 Replace lockless fifo from server to client with sockets. Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
2012-01-26Don't wait forever if there are no commands to execute.Stephen Hines
BUG=5614887 This fixes a timing issue where we could calculate a delay of 0 (indicating wait forever) when we have no pending commands to actually execute. In such cases, we should just break out of the playback loop. This also fixes a small issue with returning whether or not to redraw. Change-Id: Id1e481679341773256b7287062c68925e2bc8f9e
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-09-13Add RS watchdog.Jason Sams
Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
2011-08-12Fix the RS frame timeout.Jason Sams
Previous a slow app would block from receiving new commands until the timer expired. This change will expire the timer immediatly. Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
2011-07-13For the serialization context, no fifo initialization is necessary.Alex Sakhartchouk
On shutdown it was attempting to free uninitialized memory. Change-Id: I9141be5a51253f87f21594ae38f7e653f9e69c6c
2011-06-03More work to make libRS buildable on the host.Alex Sakhartchouk
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-05-17Core to client fifo on sockets.Jason Sams
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-04-27Start implementing control side forEach.Jason Sams
Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
2011-01-18Fix race condition between GC thread andJason Sams
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
2011-01-16Add some error checking.Jason Sams
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2009-10-06Implement data push from scripts. Fixes the problem where apps would have ↵Jason Sams
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.
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-09-23Make the renderscript timing logging available by setting debug.rs.profile=1Joe Onorato
2009-08-25Implement java interface for RS shutdown and fix shutdown deadlock with the ↵Jason Sams
command fifo.
2009-08-19Improved RS timing code to monitor where we spend CPU time.Jason Sams
2009-08-17Remove global IO context and integrate it into the RS context.Jason Sams
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-18Replace spins with proper pthread conditions.Jason Sams
2009-06-04Add support for scripts to return an animation flag. This allows them to ↵Jason Sams
indicate they are generating changing content and the rs thread to sleep if the content is static.
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