c78839b5bbcffae7d64a5a1c9aa60c9a4c5d3918 |
|
11-Sep-2013 |
Stephen Hines <srhines@google.com> |
Detect use of RS objects in kernels to disable a ScriptGroup optimization. Bug: 10394865 This change disables a ScriptGroup optimization when we can't guarantee that there is no implicit ordering between two kernels. In this case, it is possible to communicate between kernels using the same bound global RS object (like Allocation). A subsequent kernel in the ScriptGroup could accidentally pick up stale data, leading to incorrect results. Now, we disable this optimization whenever we see binds/sets of variables that are potentiall RS object types for a given Script/kernel. This is overly conservative, but sufficient for now. This change also fixes a small issue with preLaunch/postLaunch missing for the default ScriptGroup execution case. Change-Id: I0d19d200cc8dc397d68008a4df6ea423b1e4d04f
/frameworks/rs/rsScript.cpp
|
9c64239ebbfa4170190ede812e69150035e008e0 |
|
11-Apr-2013 |
Tim Murray <timmurray@google.com> |
Add support for synchronous get(). Change-Id: Ic94f1e36f7cffaaeda11fa9f0bb70e441fe1e535
/frameworks/rs/rsScript.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/rsScript.cpp
|
5dd9d075ee749c1a00f13ff6a19f35ae40fd3eff |
|
02-Apr-2013 |
Stephen Hines <srhines@google.com> |
Make sure that we don't pass bogus RsScriptCall data along to driver. In the case where there is no actual RsScriptCall data, our rs.spec is accidentally passing along a stale pointer (with 0 length). Unfortunately, the RS HAL does not supply the RsScriptCall length along with the data, making it impossible to determine whether or not the sc data is real or bogus. Note that this path only occurs when we are creating packed data in our JNI layer due to having a usrData parameter too. In other cases, we don't end up propagating the bogus pointer(s). Change-Id: Ica66b75abb63bcf33d4d536076cf326b5e4d8338
/frameworks/rs/rsScript.cpp
|
099bc262f862cdeb547cf8a78fe9e0e92560f437 |
|
21-Mar-2013 |
Tim Murray <timmurray@google.com> |
Start making RS 64-bit clean. Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
/frameworks/rs/rsScript.cpp
|
d4ecb17adc9b099351f2ca1779a74f5283f20a3d |
|
07-Feb-2013 |
Tim Murray <timmurray@google.com> |
Add API entry points for clipped kernels and fix Z-dimension clipping. Change-Id: I43074cb8556d9b28d3e549930f5ac68387f8d823
/frameworks/rs/rsScript.cpp
|
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 |
|
17-Sep-2012 |
Jason Sams <jsams@google.com> |
Add backed for script groups. Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/rsScript.cpp
|
61a4bb734b91ced09fbfee4214c6f253cb66e5f0 |
|
26-Jul-2012 |
Jason Sams <jsams@google.com> |
Cleanup pointer access in adapter and font. Change-Id: Ie500574adebb9bdb38c138f78582af2cd7610f76
/frameworks/rs/rsScript.cpp
|
807fdc4b6f3fb893015ee136565d6151bb2332d3 |
|
26-Jul-2012 |
Jason Sams <jsams@google.com> |
Move memory layout to driver. This change moves all allocation data copies to the hal. Also removes stride from the runtime. Follow on changes will remove the malloc pointer from the runtime. Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
/frameworks/rs/rsScript.cpp
|
2980f07d3dbbca727e8efe24ace7e7928a935648 |
|
10-Apr-2012 |
Stephen Hines <srhines@google.com> |
Support additional element/dim information for FieldPacker. BUG=6009244 Change-Id: I3c439559d61b24b26f9a36f2525f0a0e05b00e77
/frameworks/rs/rsScript.cpp
|
4419977d78018a9933c7f455fe001f644f2d638b |
|
22-Feb-2012 |
Stephen Hines <srhines@google.com> |
Support running ForEach on non-root functions. BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
/frameworks/rs/rsScript.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/rsScript.cpp
|
77020c5248ca0921d7d24fb60dec5105ba39026c |
|
22-Nov-2011 |
Jason Sams <rjsams@android.com> |
Fix script init error handling. Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
/frameworks/rs/rsScript.cpp
|
d2432b9691869b5b40a5b49c682c40d917ea9dcb |
|
10-Nov-2011 |
Stephen Hines <srhines@google.com> |
Fix setTimeZone() and use it properly in RSTest/rstime. BUG=5470134 The original implementation for rsi_ScriptSetTimeZone() never actually did anything with the bytes received. This change allows it to safely update the timezone. RSTest is also updated to call setTimeZone(), so that users in different timezones can accurately get test results. Change-Id: I6cb1b3a0c3a417749ba39e0fe09cc9c7ab65c2e7
/frameworks/rs/rsScript.cpp
|
4ee16ffbd9d1d72e1757c9b26715597fdc044117 |
|
01-Sep-2011 |
Stephen Hines <srhines@google.com> |
Call .rs.dtor() when tearing down Scripts. BUG=5186750 This allows us to properly reference count any globals (static or extern) that need to potentially be cleaned up. Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
/frameworks/rs/rsScript.cpp
|
b81a0eb8180791e4eaab1253b59fa8bd562b046b |
|
03-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
More work to make libRS buildable on the host. Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsScript.cpp
|
5fb1aeb6374f814d72117803682bc141cc6b0895 |
|
28-Apr-2011 |
Jason Sams <rjsams@android.com> |
Start implementing control side forEach. Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
/frameworks/rs/rsScript.cpp
|
bad807405b2b9764372af1ad24bcfd4fb1f33d8e |
|
17-Mar-2011 |
Jason Sams <rjsams@android.com> |
Start seperating out RS compute implementation. Create hal layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
/frameworks/rs/rsScript.cpp
|
6a121811e5d2e56e94747b36d15c7613ab2aedd4 |
|
02-Mar-2011 |
Stephen Hines <srhines@google.com> |
Almost all warnings are now errors in RS build. Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
/frameworks/rs/rsScript.cpp
|
2e8665de7c0eb4514c67baf8693d61c892e5303d |
|
27-Jan-2011 |
Jason Sams <rjsams@android.com> |
Correctly free resouces bound to scripts when the scripts are deleted. Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
/frameworks/rs/rsScript.cpp
|
a5eb6e17c08426deeedf989d6be280d89662ee82 |
|
17-Nov-2010 |
Jason Sams <rjsams@android.com> |
Fix ref counting for globals when set from java code. Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
/frameworks/rs/rsScript.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/rsScript.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/rsScript.cpp
|
0977c94a4b83dd8ef6d3808160710ebbaa1b1768 |
|
11-Oct-2010 |
Stephen Hines <srhines@google.com> |
Fix support for 64-bit integers. Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
/frameworks/rs/rsScript.cpp
|
d7e5481b2232b0532d3ab938b472355c86769a76 |
|
11-Oct-2010 |
Jason Sams <rjsams@android.com> |
Cleanup error message for null binding address. Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
/frameworks/rs/rsScript.cpp
|
700ba38f022208686523ab4280c4fc9f102aa273 |
|
09-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Removing fixed size arrays. Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
/frameworks/rs/rsScript.cpp
|
6d0a0740530d57e2a5759df994352600946ff47d |
|
21-Sep-2010 |
Stephen Hines <srhines@google.com> |
Add support for Float64 (double) to RenderScript. Change-Id: Iad1c4adadf657a46aa38a3fad7813927e643e29d
/frameworks/rs/rsScript.cpp
|
22fa371bf64b8aae786acfe5d711af21afb13a93 |
|
20-May-2010 |
Jason Sams <rjsams@android.com> |
Begin naming cleanup for renderscript runtime. Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
/frameworks/rs/rsScript.cpp
|
ce92d4baf7a5bce097228fdd4498601764cd4014 |
|
17-May-2010 |
Jason Sams <rjsams@android.com> |
Remove more pieces of setRoot. Add pointer to allocation lookup for scripts. Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
/frameworks/rs/rsScript.cpp
|
771565f47fc44608444c00aa8fa3bda769ceaece |
|
15-May-2010 |
Jason Sams <rjsams@android.com> |
Change RS to use the passed surface size rather than EGL size. Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h
/frameworks/rs/rsScript.cpp
|
be36bf3a76481737a7fa606a04144ceef80eb4f2 |
|
11-May-2010 |
Jason Sams <rjsams@android.com> |
Convert renderscript from using ACC to LLVM for its compiler. This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
/frameworks/rs/rsScript.cpp
|
a2cf755a28a1e7ffff2955df656d714f40e4d715 |
|
03-Mar-2010 |
Jason Sams <rjsams@android.com> |
Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
/frameworks/rs/rsScript.cpp
|
f2649a961db2995e9e24a6c98f8a419f1496c1b7 |
|
26-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsScript.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/rsScript.cpp
|
ada7f272890d8791bc518c95989ad7d13050834d |
|
24-Sep-2009 |
Jason Sams <rjsams@android.com> |
Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
/frameworks/rs/rsScript.cpp
|
8c6bc6930d4996b897de8e5113da4a4efae2310c |
|
17-Sep-2009 |
Jason Sams <rjsams@android.com> |
Implement renderscript Invokables.
/frameworks/rs/rsScript.cpp
|
707aaf341a4b068e6ccadf923af85acdd85fd775 |
|
18-Aug-2009 |
Jason Sams <rjsams@android.com> |
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
/frameworks/rs/rsScript.cpp
|
90b36a88cf0cc549b296ac15a249ea7786c6de9e |
|
17-Aug-2009 |
Jason Sams <rjsams@android.com> |
Update fountain and add writable flag to script slots.
/frameworks/rs/rsScript.cpp
|
fa51719e6c1bd17b3f347477b4827face9ab647e |
|
13-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
/frameworks/rs/rsScript.cpp
|
d34b725ac1752f5a234c7643a0b65245591ea1cc |
|
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
/frameworks/rs/rsScript.cpp
|
928b734b2fbba0800567c8b7e686bcf5f45483cc |
|
09-Jun-2009 |
Jason Sams <rjsams@android.com> |
Move placement of script enviroment data to base.
/frameworks/rs/rsScript.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/rsScript.cpp
|