661a62c34b6b6892346274272a5537e5e68c712c |
|
31-Oct-2013 |
Stephen Hines <srhines@google.com> |
Create a cache directory for our symlinked files if necessary. Bug: 11519886 Change-Id: I93d3c194a15e4842455c31406095e90bced882ee
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
17e3cdc24776d8fdbf1ce16287b9b4dcd516708f |
|
10-Sep-2013 |
Jason Sams <jsams@google.com> |
Fix ScriptGroup performance regression bug 10151545 Change-Id: Ica4a30c6fe8718f7fdbff0b446885d9ac7083769
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
ddceab9a001f07a3395226c5e06e3b420720af0f |
|
07-Aug-2013 |
Jason Sams <jsams@google.com> |
Refactor hal to remove cpuConsumer from drivers This CL should minimize build breaks due to BufferQueue changes in the future. Change-Id: I565a6eae5cc25603741fef32f2cfcb31a32eb757
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
c2c11cc9037d5ddd55282c6dab82db542b398d9e |
|
19-Jul-2013 |
Stephen Hines <srhines@google.com> |
Fix Script instancing issue for support library. Our support library relies on opening shared library versions of Scripts on older devices. This has the unfortunate side effect of sharing global variables across Script instances. In traditional RenderScript, the actual Scripts are always instanced, and thus have distinct storage/values for every global (and static global). This change fixes the instancing issue by keeping track of loaded libraries (via a global set, since dlopen is tracked/shared per-process). If we detect a collision, we create a new randomly named symlink of the library to actually load from. The dlopen() function only looks at the library name passed to it, so this allows us to cheaply create a duplicate instance. Once the symlinked library is actually loaded, we destroy it. A new unit test has also been added to RSTest_CompatLib to verify instance behavior. This is a modified version of the same test we have present in CTS for traditional RenderScript instance verification. Change-Id: I6a0bca2b65d125b54793d98f0f73ae92e0280af7
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
140a7acade66ab5d1f3dc55803a3a65a71f3f86c |
|
11-Jul-2013 |
Stephen Hines <srhines@google.com> |
resolved conflicts for merge of 5376c9bf to master Change-Id: I51507da10f8d7116a2aa29446a00a43d397a37c8
|
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/cpu_ref/rsCpuScript.cpp
|
b58d9adf52f0216c0281c749023bdd5b52236875 |
|
20-Jun-2013 |
Stephen Hines <srhines@google.com> |
Provide path to execute standalone bcc compiler. Bug: 7342767 Change-Id: Ife9d9fee77416832445dcf30f0e3eba3dd173bad
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
47935ac8e3dd619f758abd576605a564e33bb59c |
|
17-Jun-2013 |
Tobias Grosser <grosser@google.com> |
Add the name of the forEach functions to the tracing output Instead of showing up as 'runForEach', kernels are now e.g. printed as 'runForEach_createAntLookup'. The String8 is carefully constructed here, such that we only pay the string processing overhead in case tracing is actually enabled. Change-Id: Id18319e271a02cbe888bcb9fe806794007d00fca
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
ba17ae494add84056bbf3275b68e40e62a643db0 |
|
06-Jun-2013 |
Stephen Hines <srhines@google.com> |
Switch to separate build/load steps for Scripts. Bug: 7342767 Change-Id: I94f81cb4dc917dd2cfc10c7718e9263454571db4
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
b7d9c80c98fc96aa7c638e3124be24f13a6436b2 |
|
30-Apr-2013 |
Stephen Hines <srhines@google.com> |
Provide a mechanism for adjusting RSCompilerDriver after construction. We add a simple callback to the reference implementation of libRSDriver.so, such that additional BCC flags can be toggled/adjusted before doing any actual CPU compilation. Change-Id: Iaf253b7d967d0382937369b1c5dae2d23a99e8be
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
f47e8b4b86bf194e65398032f3f5f47a6da89f3f |
|
18-Apr-2013 |
Stephen Hines <srhines@google.com> |
Mark use of a debug context with the RSCompilerDriver. Bug: 7343201 Change-Id: Idb003a3314247481c38aa70f9991f000135996b3
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
cca3d6ca444bef3b6d75431ec19bd07bfe40a733 |
|
15-Apr-2013 |
Stephen Hines <srhines@google.com> |
Add support for DEBUG context type. Bug: 7343201 This change adds switching for the debug runtime (libclcore_debug.bc) when running under a DEBUG RS context. It also fixes a small naming issue for rsSetElementAt_int(). Change-Id: I8b574c9ce915a440375530325ba7de2b46707cfd
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
886e51b2ef45ce123379c8a11579851c5580d957 |
|
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add support for synchronous get()." into jb-mr2-dev
|
9c64239ebbfa4170190ede812e69150035e008e0 |
|
11-Apr-2013 |
Tim Murray <timmurray@google.com> |
Add support for synchronous get(). Change-Id: Ic94f1e36f7cffaaeda11fa9f0bb70e441fe1e535
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
ef7481e2f0a4ad7b32bb626245e4207cabe171dc |
|
10-Apr-2013 |
Stephen Hines <srhines@google.com> |
Remove invalid logging on missing root.expand() functions. Bug: 8566872 This log message is confusing and unncessary. Due to legacy compatibility, slot 0 is always reserved for root.expand(). We know that root.expand() may not exist for many user scripts, since we have supported proper names for kernels for several releases now. Change-Id: Id869496aa83f98ce64d6bd784314d788e25182e0
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
1d476620399d54774e4fd386c1d23cc583d49522 |
|
30-Mar-2013 |
Stephen Hines <srhines@google.com> |
Add callback to allow replacement of runtime support library. Change-Id: I84ec56dfb29a0158015ebf31b3a73ac5bf34ef98
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
0b575de8ed0b628d84d256f5846500b0385979bd |
|
15-Mar-2013 |
Tim Murray <timmurray@google.com> |
Add x86 server support. Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
110f181b7966212a36ef18016f9b81c7322d0a2f |
|
15-Mar-2013 |
Jason Sams <jsams@google.com> |
Reduce diffs with compat lib. Change-Id: Ibfa2c7c7da56d158f424ac343e364feacd0a21da
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
cadfac411e6690e39de36c4f9e94deb9b7d2d08e |
|
07-Mar-2013 |
Jason Sams <jsams@google.com> |
Sync with compat lib. Change-Id: Id8ace103814cf126f0d157100d1d4a12cc0b8664
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
3a25fdd3786c1a08b783d8a83ef94b756347ff5c |
|
23-Feb-2013 |
Tim Murray <timmurray@google.com> |
Cleanup lots of things related to IO_OUTPUT and error checking. Change-Id: Ic6802dd0ba9d3edc8c53f99002cdd905214a515c
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|
f218bf115af4ae4fd79adbb8842608b308a4cf07 |
|
13-Feb-2013 |
Stephen Hines <srhines@google.com> |
Support LinkRuntimeCallback() with RS compiler. Change-Id: I28ada4e7c462cb9673de6886d934dce855fac339
/frameworks/rs/cpu_ref/rsCpuScript.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/cpu_ref/rsCpuScript.cpp
|
709a0978ae141198018ca9769f8d96292a8928e6 |
|
16-Nov-2012 |
Jason Sams <jsams@google.com> |
Separate CPU driver impl from reference driver. Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/cpu_ref/rsCpuScript.cpp
|