History log of /frameworks/rs/rsThreadIO.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b74514df6be14fd898ddd7906bc70408dc3bb63c 20-Jul-2015 Matt Wala <wala@google.com> Remove dead code related to using a non-local FIFO for message passing.

Bug: 22603341

Some parts of the RS runtime were designed for a situation where the
message sender could be on a different process from the RS driver.
The code for this functionality, however, is untested and no longer
used, so we remove it for now.

- Change rsg_generator not to create RF_* and rspr_* functions for
remote passing / playback.

- Change rsThreadIO so that it runs on a local mode only.

- Minor cleanups / documentation to rsg_generator code.

Change-Id: I99adff6f93142d47e0a471ffc80f965eaad6567f
/frameworks/rs/rsThreadIO.cpp
61db21cef81cbc8439b34a8f1d32952339ffc190 22-Aug-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of 81cfa2c5 to lmp-dev-plus-aosp

Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsThreadIO.cpp
e4ed0873cda11a0442176027f9c599d9e41538e1 19-Aug-2014 Tim Murray <timmurray@google.com> Fix IO_INPUT on 64-bit.

bug 16846318

Change-Id: I775ede4f919cc8ac798ec0a1e6a794b36217e693
/frameworks/rs/rsThreadIO.cpp
4edf030cbb7c6ac08dc563335c2af73c20f6e2e5 09-Mar-2012 Alex Sakhartchouk <alexst@google.com> More header untangling.

Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
/frameworks/rs/rsThreadIO.cpp
bda75a977726835d74b2380d7e92360ed2a1ff7a 17-Feb-2012 Jason Sams <rjsams@android.com> Update prototype remote fifo. Tested primary connection
using only fifo data transport.

cleanup cl.

Change-Id: I9b5f5e5a256b7f66b387bd801c1da0e642761200
/frameworks/rs/rsThreadIO.cpp
963a2fb9f03c88633bc67c4a1789429b9a482091 09-Feb-2012 Jason Sams <jsams@google.com> Remove unused param.

Change-Id: Idf26c3bf4eec7ed17dbfb99b40c314bce7996101
/frameworks/rs/rsThreadIO.cpp
5f27d6fb0b0b9184ba9820c629fc1354a635e515 08-Feb-2012 Jason Sams <rjsams@android.com> Implement RS VSync on new vsync infrastructure.

Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1

Replace lockless fifo from server to client with sockets.

Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
/frameworks/rs/rsThreadIO.cpp
36838469a96b984fa27b61288ca1043b664af370 27-Jan-2012 Stephen Hines <srhines@google.com> Don't wait forever if there are no commands to execute.

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
/frameworks/rs/rsThreadIO.cpp
af12ac6a08651464f8d823add667c706f993b587 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/rs/rsThreadIO.cpp
6598201f1c4f409defac9a5af789fb53a7cc00f8 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/rs/rsThreadIO.cpp
2382aba4a55c6ae74789c478eead8fbd96593321 14-Sep-2011 Jason Sams <rjsams@android.com> Add RS watchdog.

Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
/frameworks/rs/rsThreadIO.cpp
e0aab4a8ff1cffd8cfaedc2623db94072549e0e5 13-Aug-2011 Jason Sams <rjsams@android.com> Fix the RS frame timeout.
Previous a slow app would block from receiving new
commands until the timer expired. This change will
expire the timer immediatly.

Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
/frameworks/rs/rsThreadIO.cpp
6b0c00414a532e2ea22f66cf89578cc8c8a45293 14-Jul-2011 Alex Sakhartchouk <alexst@google.com> For the serialization context, no fifo initialization is necessary.

On shutdown it was attempting to free uninitialized memory.

Change-Id: I9141be5a51253f87f21594ae38f7e653f9e69c6c
/frameworks/rs/rsThreadIO.cpp
b81a0eb8180791e4eaab1253b59fa8bd562b046b 03-Jun-2011 Alex Sakhartchouk <alexst@google.com> More work to make libRS buildable on the host.

Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsThreadIO.cpp
1a4efa363916977ef9aeab756725b3bdc880a15b 18-May-2011 Jason Sams <rjsams@android.com> Core to client fifo on sockets.

Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
/frameworks/rs/rsThreadIO.cpp
5fb1aeb6374f814d72117803682bc141cc6b0895 28-Apr-2011 Jason Sams <rjsams@android.com> Start implementing control side forEach.

Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
/frameworks/rs/rsThreadIO.cpp
1dda675ff34a2708b519bea44b33a390712f6a6f 19-Jan-2011 Jason Sams <rjsams@android.com> Fix race condition between GC thread and
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
/frameworks/rs/rsThreadIO.cpp
185b8b01f417488e2fbf6e6c00dfbd3d1d43d98a 16-Jan-2011 Jason Sams <rjsams@android.com> Add some error checking.

Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
/frameworks/rs/rsThreadIO.cpp
afb743aca56c18beb7ab924e75cb6e070ef3e55a 10-Nov-2010 Alex Sakhartchouk <alexst@google.com> Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsThreadIO.cpp
8c401effb0837155fc39ca0364f57a882d127d38 06-Oct-2009 Jason Sams <rjsams@android.com> Implement data push from scripts. Fixes the problem where apps would have 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.
/frameworks/rs/rsThreadIO.cpp
1fddd90849deaae89b546ff492c345d485bbce42 26-Sep-2009 Jason Sams <rjsams@android.com> Reduce debugging spew and add props to selectivly re-enable it.

change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
/frameworks/rs/rsThreadIO.cpp
e514b45de8561fbc6ef6770845102ca10b0a69d7 25-Sep-2009 Jason Sams <rjsams@android.com> Improve renderscript context teardown. Track object in the system and then 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.
/frameworks/rs/rsThreadIO.cpp
76371fff76412fd020e24ddb8bf1ddb5c75f0ed1 24-Sep-2009 Joe Onorato <joeo@android.com> Make the renderscript timing logging available by setting debug.rs.profile=1
/frameworks/rs/rsThreadIO.cpp
8c0ee6567b3c874dd472843eb7918ae68d1b9739 25-Aug-2009 Jason Sams <rjsams@android.com> Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
/frameworks/rs/rsThreadIO.cpp
24371d93cdb6999971c4058f78974da3c3d5fc64 19-Aug-2009 Jason Sams <rjsams@android.com> Improved RS timing code to monitor where we spend CPU time.
/frameworks/rs/rsThreadIO.cpp
fcd3192ebff8ab58d841836b7e94361d0998338c 18-Aug-2009 Jason Sams <rjsams@android.com> Remove global IO context and integrate it into the RS context.
/frameworks/rs/rsThreadIO.cpp
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsThreadIO.cpp
1aa5a4eb81b8b88aeb5d2b6f4c47356fd0a62923 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
/frameworks/rs/rsThreadIO.cpp
732f1c0a29cc468ea271ca3bd654239a0a973fd5 19-Jun-2009 Jason Sams <rjsams@android.com> Replace spins with proper pthread conditions.
/frameworks/rs/rsThreadIO.cpp
a44cb29164726cd9d812117819abdd7b60dfdd93 05-Jun-2009 Jason Sams <rjsams@android.com> Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
/frameworks/rs/rsThreadIO.cpp
326e0ddf89e8df2837752fbfd7a014814b32082c 22-May-2009 Jason Sams <jsams@google.com> Add the Renderscript library. (Not in the build by default yet.)

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
/frameworks/rs/rsThreadIO.cpp