summaryrefslogtreecommitdiff
path: root/java/tests/RSTest_CompatLib/src/com
AgeCommit message (Collapse)Author
2015-07-27Prepare for arm64 prebuilts of RS support library.Stephen Hines
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
2015-05-20Fix warnings in RenderScript sources.Jean-Luc Brouillet
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
2015-03-06Add tests for autopadding & unpadding during copyTo & copyFrom.Miao Wang
Change-Id: I8bbf9f339df8a33200b7c021ab0f788bed93ce12
2015-02-25Add tests for Allocation.copy1DRangeTo, copy2DRangeTo.Miao Wang
Change-Id: I271f7c520dc3784c020ff76fbd777ea994ef223f
2014-06-24Switch rootn(f, 0) tests to expect +inf instead of NaN.Stephen Hines
Change-Id: I557f69a3bfbde3c3e5ccaceb157482e8ba7c5c2d
2014-06-13Remove all graphics API usage from RSTest.Stephen Hines
This brings it closer to RSTest_CompatLib. Change-Id: Ib7e22772d1549ba8ec0ac4df4d04832358863116
2014-06-02Merge "Updated test files to use the RS_KERNEL macro."Stephen Hines
2014-05-23Update RS sample apps to use the single argument Java constructor.Stephen Hines
Change-Id: Ia74dfe42a515f7b4d26c2d989cf0cc3cc1667203
2014-05-22Updated test files to use the RS_KERNEL macro.Chris Wailes
Change-Id: Ifa00819d09a1cc8229ac5d693d49e3a228cfc2dd
2013-12-12Add missing functions and tests for support library.Stephen Hines
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
2013-12-05Add tests for rsDebug() in support library and fix exported functions.Stephen Hines
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
2013-12-03Add missing rsForEach()/rsSendToClient*() functions and API tests.Stephen Hines
These were missing from the support library. Change-Id: I53dd062fc0f1d9a6f0ce06d148c4047ebb338b71
2013-12-03Add tests for rs_atomic.rsh and rs_cl.rsh.Stephen Hines
Change-Id: I32e300529ea945b05fe3eafc057c5e86b32332c9
2013-11-27Add tests and missing functions for rs_allocation APIs.Stephen Hines
This change also adds some missing support library functions: rsAllocationCopy1DRange() rsAllocationCopy2DRange() rsAllocationIoSend() rsAllocationIoReceive() Change-Id: Ia50773d767f78f3cfa2cfdf0340d8c3d9cdb0991
2013-11-27Add rsIsObject() to support library implementation.Stephen Hines
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
2013-07-19Fix Script instancing issue for support library.Stephen Hines
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
2013-03-19Move compute tests from frameworks/base to frameworks/rsJason Sams
Change-Id: I844c9f5e58f500164fec419569c68c7f854c5571