• Home
  • History
  • Annotate
  • only in /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/
History log of /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
86557f6a54d33b21a453e4a860cedff1a7692f2a 24-Jun-2014 Stephen Hines <srhines@google.com> Switch rootn(f, 0) tests to expect +inf instead of NaN.

Change-Id: I557f69a3bfbde3c3e5ccaceb157482e8ba7c5c2d
est/math_conformance.rs
64af0822b0b7c71cea3a39c9aad10d1cdbf851ef 13-Jun-2014 Stephen Hines <srhines@google.com> Remove all graphics API usage from RSTest.

This brings it closer to RSTest_CompatLib.

Change-Id: Ib7e22772d1549ba8ec0ac4df4d04832358863116
est/RSTestCore.java
1d6ded25ff757ae43587621f4755f2d135f1d292 03-Jun-2014 Stephen Hines <srhines@google.com> Merge "Updated test files to use the RS_KERNEL macro."
f1d97e536561b4731997c85873dde3b3fb721cb2 23-May-2014 Stephen Hines <srhines@google.com> Update RS sample apps to use the single argument Java constructor.

Change-Id: Ia74dfe42a515f7b4d26c2d989cf0cc3cc1667203
est/UT_bug_char.java
est/UT_int4.java
025b5f82971c431eb22df3c9d0f00b3cbe426bdb 23-May-2014 Chris Wailes <chriswailes@google.com> Updated test files to use the RS_KERNEL macro.

Change-Id: Ifa00819d09a1cc8229ac5d693d49e3a228cfc2dd
est/foreach_bounds.rs
est/kernel.rs
est/kernel_struct.rs
cadee38f6940e5584d3ec3398a21bd2a494361e2 12-Dec-2013 Stephen Hines <srhines@google.com> Add missing functions and tests for support library.

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
est/apitest.rs
a5d9bef6b53ba394087c7c7b9cc60d3aaa7f121b 06-Dec-2013 Stephen Hines <srhines@google.com> Add tests for rsDebug() in support library and fix exported functions.

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
est/apitest.rs
276000a3673e639f9abc41db4709c1b0a96c1bf9 03-Dec-2013 Stephen Hines <srhines@google.com> Add missing rsForEach()/rsSendToClient*() functions and API tests.

These were missing from the support library.

Change-Id: I53dd062fc0f1d9a6f0ce06d148c4047ebb338b71
est/apitest.rs
09eec1194287934cbfd5c150a241e662fc4a47e3 03-Dec-2013 Stephen Hines <srhines@google.com> Add tests for rs_atomic.rsh and rs_cl.rsh.

Change-Id: I32e300529ea945b05fe3eafc057c5e86b32332c9
est/apitest.rs
7a01126d25c081f5b613eea80e5ff7e6c75c940f 27-Nov-2013 Stephen Hines <srhines@google.com> Add tests and missing functions for rs_allocation APIs.

This change also adds some missing support library functions:
rsAllocationCopy1DRange()
rsAllocationCopy2DRange()
rsAllocationIoSend()
rsAllocationIoReceive()

Change-Id: Ia50773d767f78f3cfa2cfdf0340d8c3d9cdb0991
est/UT_apitest.java
est/apitest.rs
f827cadde659212b266b9635128c98515a7dcb01 19-Nov-2013 Stephen Hines <srhines@google.com> Add rsIsObject() to support library implementation.

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
est/RSTestCore.java
est/UT_apitest.java
est/apitest.rs
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
est/RSTest.java
est/RSTestCore.java
est/UT_instance.java
est/instance.rs
572a5031a5d8602db0bec0b253428a034bd4dd59 19-Mar-2013 Jason Sams <jsams@google.com> Move compute tests from frameworks/base to frameworks/rs

Change-Id: I844c9f5e58f500164fec419569c68c7f854c5571
est/RSTest.java
est/RSTestCore.java
est/UT_alloc.java
est/UT_array_alloc.java
est/UT_array_init.java
est/UT_atomic.java
est/UT_bug_char.java
est/UT_clamp.java
est/UT_clamp_relaxed.java
est/UT_constant.java
est/UT_convert.java
est/UT_convert_relaxed.java
est/UT_copy_test.java
est/UT_element.java
est/UT_foreach.java
est/UT_foreach_bounds.java
est/UT_fp_mad.java
est/UT_int4.java
est/UT_kernel.java
est/UT_kernel_struct.java
est/UT_math.java
est/UT_math_agree.java
est/UT_math_conformance.java
est/UT_min.java
est/UT_noroot.java
est/UT_primitives.java
est/UT_refcount.java
est/UT_rsdebug.java
est/UT_rstime.java
est/UT_rstypes.java
est/UT_sampler.java
est/UT_struct.java
est/UT_unsigned.java
est/UT_vector.java
est/UnitTest.java
est/alloc.rs
est/array_alloc.rs
est/array_init.rs
est/atomic.rs
est/bug_char.rs
est/clamp.rs
est/clamp_relaxed.rs
est/constant.rs
est/convert.rs
est/convert_relaxed.rs
est/copy_test.rs
est/element.rs
est/foreach.rs
est/foreach_bounds.rs
est/fp_mad.rs
est/int4.rs
est/kernel.rs
est/kernel_struct.rs
est/math.rs
est/math_agree.rs
est/math_conformance.rs
est/min.rs
est/noroot.rs
est/primitives.rs
est/refcount.rs
est/rsdebug.rs
est/rslist.rs
est/rstime.rs
est/rstypes.rs
est/sampler.rs
est/shared.rsh
est/struct.rs
est/test_root.rs
est/unsigned.rs
est/vector.rs