History log of /frameworks/rs/rsObjectBase.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a36c50a6ab87f4c9049318d4c6c8ec7b0a1e6e12 17-Jun-2014 Jason Sams <jsams@google.com> Add 64bit large object support

Add HAL hooks for filling in LO fields.

Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4

Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
/frameworks/rs/rsObjectBase.cpp
89daad6bae798779e57f252e9da4fe4e62337124 29-Jul-2013 Tim Murray <timmurray@google.com> Add basic support for intrinsics. Move sp<> into RScpp.

Change-Id: I74cdee7069a624ded5091d53db3a4b8ce9894033
/frameworks/rs/rsObjectBase.cpp
b0934b67b95cc27e2358c2aa4db5f7c1067c8f9b 04-Jul-2013 Stephen Hines <srhines@google.com> Remove libutils and fix rsDebug for RS support library.

Bug: 9664050

Our bitcode runtime library translates vector rsDebug() calls into passing
their parameters via pointers. The previous version of libRSSupport.so was
being created with non-pointer versions of these routines accidentally.
This change also fixes a missing permission issue for ImageProcessing2, so
that the compatibility library can be verified.

This change also removes the use of libutils by switching the implementation of
String8/Vector in the compatibility library to internal types backed by
libstlport_static.

Change-Id: I20da75e8c19a82a42dc2bceaba1937d21372db84
/frameworks/rs/rsObjectBase.cpp
61c86951f6a1192fafc536aee613beb6f899064b 10-Apr-2013 Stephen Hines <srhines@google.com> Add incUserRef() for ScriptGroup/ScriptKernelID/ScriptFieldID.

Bug: 8530206

This change also fixes a small bug in zeroUserRef(), where we mistakenly
decrement the zeroed out count.

Change-Id: I5097e59faad52291218657c10e99c598a00ad84b
/frameworks/rs/rsObjectBase.cpp
d216dafa216f3329577ab624cdc5a5d1860ec035 03-Apr-2013 Stephen Hines <srhines@google.com> Add DebugHelper to ObjectBase.

This enables us to easily use things like CallStack for our debug runtime.
Without this abstraction, we end up with size/offset mismatches against
libbcc's implementation of set/getElementAt.

Change-Id: I91ae0ef709fa5b8ab7dda905cd07d1c565dd0212
/frameworks/rs/rsObjectBase.cpp
0b575de8ed0b628d84d256f5846500b0385979bd 15-Mar-2013 Tim Murray <timmurray@google.com> Add x86 server support.

Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/rsObjectBase.cpp
110f181b7966212a36ef18016f9b81c7322d0a2f 15-Mar-2013 Jason Sams <jsams@google.com> Reduce diffs with compat lib.

Change-Id: Ibfa2c7c7da56d158f424ac343e364feacd0a21da
/frameworks/rs/rsObjectBase.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/rsObjectBase.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/rsObjectBase.cpp
c7cec1e3577cc77a5a73d5bd5a82733b1b9936a1 19-Aug-2011 Jason Sams <rjsams@android.com> Fix issue with freeing allocation with circular references.

Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
/frameworks/rs/rsObjectBase.cpp
77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 31-Jan-2011 Alex Sakhartchouk <alexst@google.com> Cleaning up the serialization change.
Renaming the define to be more in line with what it does and removing the host stub header file.

Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
/frameworks/rs/rsObjectBase.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/rsObjectBase.cpp
f0c1df480304a72ce41e7d4b088319cbd7f0938a 26-Oct-2010 Jason Sams <rjsams@android.com> Begin adding async allocation creation.

Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8

Implement async bitmap upload and clean up types.

Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
/frameworks/rs/rsObjectBase.cpp
225afd317e101a7be5fe02c0a86361146ea89f05 21-Oct-2010 Jason Sams <rjsams@android.com> Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
/frameworks/rs/rsObjectBase.cpp
7e99f6854f88af7418840cff76aa3f5bfa978d1b 15-Oct-2010 Jason Sams <rjsams@android.com> Fix deadlock on RS teardown.

Change-Id: I34d2702b535e28e9519c7368fd8a942bfe0724bc
/frameworks/rs/rsObjectBase.cpp
2353ae303868d04e3a26002b2f2dc456c15e8170 15-Oct-2010 Jason Sams <rjsams@android.com> Async type creation.

Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
/frameworks/rs/rsObjectBase.cpp
b7229fa06989c37497165ba3b33ba3cf3b864066 12-Oct-2010 Alex Sakhartchouk <alexst@google.com> Fixing refcounting debug statements that've gotten bitrotten.

Change-Id: Ie93bf651b9e469b7b4e9cacd8f79b38d04012892
/frameworks/rs/rsObjectBase.cpp
605048a9f9af925782f6c90bc1cdc5af59e337d8 01-Oct-2010 Jason Sams <rjsams@android.com> Add object validity checking.

Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
/frameworks/rs/rsObjectBase.cpp
01b7d2995f9cbd33a9ccdf861fe959743a4b9954 29-Sep-2010 Stephen Hines <srhines@google.com> Fix clear() operation for rsScriptC.

- 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
/frameworks/rs/rsObjectBase.cpp
fb6b614bcea88a587a7ea4530be45ff0ffa0210e 21-May-2010 Alex Sakhartchouk <alexst@google.com> Removed unnecessary change based on comments.
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
/frameworks/rs/rsObjectBase.cpp
8154954868694e1f233d87d4933a474518b1cb81 18-Feb-2010 Jason Sams <rjsams@android.com> Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one.
/frameworks/rs/rsObjectBase.cpp
25afc007f33952d6ba10297f7bab4053d30e2f72 19-Nov-2009 Jason Sams <rjsams@android.com> Fix extended logging for object dumping.
/frameworks/rs/rsObjectBase.cpp
c21cf40f6ae69091bf24f87b5eeabc95e73dd271 18-Nov-2009 Jason Sams <rjsams@android.com> Add support for dumping RS objects to aid in debugging of white blocks bug.
/frameworks/rs/rsObjectBase.cpp
e402ed33486730f1d06f080cdfc48132bf612b3a 03-Nov-2009 Jason Sams <rjsams@android.com> Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
/frameworks/rs/rsObjectBase.cpp
bf3c14ebf456c745c084605dddeda08afdfc7987 02-Nov-2009 Jason Sams <rjsams@android.com> Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
/frameworks/rs/rsObjectBase.cpp
e12c1c591b4219e80f29c6c0e0c62c9578b75450 28-Sep-2009 Jason Sams <rjsams@android.com> Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
/frameworks/rs/rsObjectBase.cpp
f2649a961db2995e9e24a6c98f8a419f1496c1b7 26-Sep-2009 Jason Sams <rjsams@android.com> Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsObjectBase.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/rsObjectBase.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/rsObjectBase.cpp
9397e30ce5fe3f6af9212a93b490836b04fdfffa 28-Aug-2009 Jason Sams <rjsams@android.com> Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
/frameworks/rs/rsObjectBase.cpp
afcb25c65e8145d15aaf50a0ca38333954a97000 25-Aug-2009 Jason Sams <rjsams@android.com> Add support for selecting the color bit depth and if the application used a depth buffer.
/frameworks/rs/rsObjectBase.cpp
e5ffb879ae535a899a486285a23bea05e912480f 10-Aug-2009 Jason Sams <rjsams@android.com> Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
/frameworks/rs/rsObjectBase.cpp
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsObjectBase.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/rsObjectBase.cpp
a4a54e42fc710a62b47cbcb9d64c34a190429d9e 11-Jun-2009 Jason Sams <rjsams@android.com> Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
/frameworks/rs/rsObjectBase.cpp
a0a1b6fbece2eb8d72d788422ab3e5f58d5a9216 11-Jun-2009 Jason Sams <rjsams@android.com> Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
/frameworks/rs/rsObjectBase.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/rsObjectBase.cpp