| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: http://b/29358536
When we switched to standalone bcc, we accidentally removed the setters
for this name field. It is simplest to just use the slot number for
fixing this today, and revisit how to populate a proper name later on,
since it would technically require vendor driver updates.
(cherry picked from commit d969fdc55bc82d48242be3c6193a6548137e9579)
Change-Id: I38a67a10d960d8fd2dddd03dc5155e3781f390d8
|
| |
|
|
|
| |
Bug: 27298560
Change-Id: I8c3d568e98aaf0b7d86881c985d13ed5b8e95338
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch derives the optimization level of the slang bitcode
and passes that to bcc. This patch replaces the old method, where
a flag was passed to the RenderScript context and the context
would set the optimization level accordingly.
Change-Id: Ie64a2d0125ca30da4ae7522961dca144d0457f03
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Requires coordinated change in frameworks/base.
Requires coordinated change in frameworks/compile/libbcc in order
for RsTest to run.
At present, general reduction kernels are run single-threaded.
Also: Remove dead struct field MTLaunchStructForEach::sig.
Bug: 23535724
Change-Id: Ice17ccf20a902f8a106eaa62ec071d46e3c0ad8c
|
| |/
|
|
|
|
|
|
| |
The original implementation was using pointers for bitcode lifetime
issues, but we can now use a regular local (non-pointer) variable
instead.
Change-Id: I5b36f813476a5d433d9926dfb91570b8ede15644
|
| |
|
|
|
|
|
|
|
|
| |
reference implementation.
Bug: 22631253
For now, this just runs a serial reduction on one thread.
Change-Id: I34c96d24bb6f44274de72bb53160abcf79d143b0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 19734267
Bug 19866850
Prior fix handled only rsForEach calls from a script. It is not
sufficient, as launch options in support library also will also use old
structures. Apps compiled for support library still run in native mode
when available, thus necessitating this fix.
This fix copies and extends the input in ScriptC::runForEach instead of
rsrForEach.
Change-Id: I3bb2527eadcbcdb85a76a1f5568269bbfdee972b
|
| |
|
|
|
|
|
|
|
| |
When structures are enlarged in RS we need to use the script
API number to properly handle the older cases.
Bug: 19734267
Change-Id: I0ffd3dc4cea1640f2b14c588df3a93eee749e74e
|
| |
|
|
|
|
|
|
| |
Prevent launching additional commands if the process is dying
This increases the chance the developer will get the error message
before we segfault somewhere.
Change-Id: I575906b22364c0d03859140570ca29bf8f336c01
|
| |
|
|
|
|
|
|
|
|
| |
b/19148482
This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371.
I also made some changes to Make it work with HEAD.
Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
|
| |
|
|
| |
Change-Id: I300bc9cf9f06c315c053cb302fdf33a9ca899972
|
| |
|
|
| |
Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
|
| |
|
|
| |
Change-Id: I5b2b6d3e38afd0b040f0a584613745206bf01ba0
|
| |
|
|
| |
Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch simplifies the RenderScript driver and CPU reference implementation
by removing the distinction between sing- and multi-input kernels in many
places. The distinction is maintained in some places due to the need to
maintain backwards compatibility. This permits the deletion of some functions
and struct members that are no longer needed. Several related functions were
also cleaned up.
Change-Id: Id70a223ea5e3aa2b0b935b2b7f9af933339ae8a4
|
| |
|
|
|
|
| |
This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6.
Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch simplifies the RenderScript driver and CPU reference implementation
by removing the distinction between sing- and multi-input kernels in many
places. The distinction is maintained in some places due to the need to
maintain backwards compatibility. This permits the deletion of some functions
and struct members that are no longer needed. Several related functions were
also cleaned up.
Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch modifies Frameworks/RS in the following ways:
* Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to
accommodate a pointer to an array of input allocations and a pointer to an
array of stride sizes for each of these allocatoins.
* Adds a new code path for Java code to pass multiple allocations to a RS
kernel.
* Packs base pointers and step values for multi-input kernels into the new
RsForEachStubParamStruct members.
Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
|
| |
|
|
| |
Change-Id: Ieb6627adcd1d097fe709559e182efcfc6841d13e
|
| |
|
|
|
|
|
|
| |
Change-Id: I1cb561c6325d80c764d386f7b76e6a416261cd8f
modified: rsContext.h
modified: rsScriptC.cpp
modified: rsScriptC.h
|
| |
|
|
|
|
| |
bug 13280327
Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
|
| |
|
|
| |
Change-Id: Ia35ca58807a78ea01c4da6c44b4d5e29e65e0cfd
|
| |\
| |
| |
| | |
Change-Id: I51507da10f8d7116a2aa29446a00a43d397a37c8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
| |
Change-Id: I524a857390e0bbc49273989caf56f03b51de65cf
|
| |
|
|
| |
Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
|
| |
|
|
| |
Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
|
| |
|
|
| |
Change-Id: I0dc6adc4e02c7427a4234c549d3555a501fe5f90
|
| |
|
|
|
| |
Bug: 7077014
Change-Id: Iab94a265193d4ff749573520939c974a982ac7c1
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
BUG=6000538
Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
|
| |
|
|
|
|
|
|
|
|
| |
BUG=5955072
We used to call delete, which did not update the Context's view of the world,
leading to potential segfaults on Context teardown. This change also enables
exceptions to be thrown when runtime errors are encountered.
Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
|
| |
|
|
|
|
|
| |
This really shouldn't have been here to begin with, since the wrapper version
should be meaningless to libRS.
Change-Id: I329446ed96d1a70197247735e267b8539a8c83a2
|
| |
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
BUG=5425905
Change-Id: I75676060703df6d9043b287fea900c4379455ee2
|
| |/
|
|
| |
Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
|
| |
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
|
| |
|
|
|
|
| |
BUG=5186750
Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
|
| |
|
|
|
|
| |
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
|
| |
|
|
| |
Change-Id: I0f2992d5f4128422d07f897b335c219cc7f1d02c
|
| |
|
|
| |
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
|
| |
|
|
| |
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
|
| |
|
|
| |
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
|
| |
|
|
| |
Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
|
| |
|
|
| |
Change-Id: If182c524cceb327547640f22f956856d291d1787
|
| |
|
|
|
|
| |
layer to seperate from runtime.
Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
|
| |
|
|
|
|
| |
When we want to use it on the host, we shouldn't need to go hunting for every external dependency
Change-Id: I885262acdcdf5ede4a9392235f35d5e2f7038e8b
|