Age | Commit message (Collapse) | Author |
|
Bug: 22693954
This change fixes update_rs_prebuilts.sh to build for arm64 as well. It
also makes some changes to RSTest_CompatLib for working on arm64 (i.e.
removed APIs, etc.). The old version of RSTest_CompatLib is retained as
RSTest_CompatLibLegacy, but it is disabled from building due to errors
with mma and FORCE_BUILD_RS_COMPAT. We also now need to ensure we
properly build all the required libraries (both .so and .a files).
Change-Id: If89b8a542eb0d61db0ba186d4e3221bcc6e5664b
|
|
An upcoming CL fixes a bug where many warning were disabled. This fixes
the warnings (that are turned into errors in most of our builds) before
the CL lands.
Also, adds long & unsigned long testing for a few tests.
Change-Id: Id6826e968db2d06ef9910fe775309d1c3872cdc5
|
|
Change-Id: I8bbf9f339df8a33200b7c021ab0f788bed93ce12
|
|
Change-Id: I271f7c520dc3784c020ff76fbd777ea994ef223f
|
|
Change-Id: I557f69a3bfbde3c3e5ccaceb157482e8ba7c5c2d
|
|
This brings it closer to RSTest_CompatLib.
Change-Id: Ib7e22772d1549ba8ec0ac4df4d04832358863116
|
|
|
|
Change-Id: Ia74dfe42a515f7b4d26c2d989cf0cc3cc1667203
|
|
Change-Id: Ifa00819d09a1cc8229ac5d693d49e3a228cfc2dd
|
|
Missing functions:
rsFrac(float)
rsMatrixLoadRotate(rs_matrix4x4 *, float, float, float, float)
rsMatrixLoadScale(rs_matrix4x4 *, float, float, float)
rsMatrixLoadTranslate(rs_matrix4x4 *, float, float, float)
rsMatrixRotate(rs_matrix4x4 *, float, float, float, float)
rsMatrixScale(rs_matrix4x4 *, float, float, float)
rsMatrixTranslate(rs_matrix4x4 *, float, float, float)
rsMatrixLoadOrtho(rs_matrix4x4 *, float, float, float, float, float, float)
rsMatrixLoadFrustum(rs_matrix4x4 *, float, float, float, float, float, float)
rsMatrixLoadPerspective(rs_matrix4x4 *, float, float, float, float)
rsMatrixInverse(rs_matrix4x4 *)
rsMatrixInverseTranspose(rs_matrix4x4 *)
rsMatrixTranspose(rs_matrix4x4 *)
rsMatrixTranspose(rs_matrix3x3 *)
rsMatrixTranspose(rs_matrix2x2 *)
rsUptimeNanos()
rsGetDt()
Headers tested in this CL:
rs_element.rsh
rs_math.rsh
rs_matrix.rsh
rs_object.rsh
rs_sampler.rsh
rs_time.rsh
Change-Id: I6cb1972a44f66dc7fed8fe3cf0329720d166af81
|
|
Functions using long vector types for rsDebug were being exported with the
wrong signature from libRSSupport.so. Essentially it comes down to the name
mangling rules being different for "long" and "long long" when combined with
the ext_vector_type attribute. We now hard-code the "long" vector types in
our type signatures and then have them be cast properly to the 64-bit types
we were expecting.
Change-Id: I8f3dad73d0f17f22f66703aff56d6f712fa6df1f
|
|
These were missing from the support library.
Change-Id: I53dd062fc0f1d9a6f0ce06d148c4047ebb338b71
|
|
Change-Id: I32e300529ea945b05fe3eafc057c5e86b32332c9
|
|
This change also adds some missing support library functions:
rsAllocationCopy1DRange()
rsAllocationCopy2DRange()
rsAllocationIoSend()
rsAllocationIoReceive()
Change-Id: Ia50773d767f78f3cfa2cfdf0340d8c3d9cdb0991
|
|
We only had the "element" version of rsIsObject() previously. This change also
adds the beginning of a full API test for the script-side of RS (starting with
the RS object-related routines).
Change-Id: If341b352ad671be40b860a502c345a8149bf10f3
|
|
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
|
|
Change-Id: I844c9f5e58f500164fec419569c68c7f854c5571
|