• Home
  • History
  • Annotate
  • only in /frameworks/rs/java/tests/RsTest/src/com/
History log of /frameworks/rs/java/tests/RsTest/src/com/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
966f28aea042b69caa614182c8f1f30f8d709a7c 12-Aug-2015 Stephen Hines <srhines@google.com> Fix build break due to ctxt->context rename.

Bug: 21647353

Change-Id: I8ae79f32878f2a9c522f19b7f5d9ed47d58165ab
ndroid/rs/test/ctxt_default.rs
ndroid/rs/test/kernel2d.rs
ndroid/rs/test/kernel2d_oldstyle.rs
ndroid/rs/test/kernel3d.rs
a999049af32c9f2e2989685a86843eaeff312f0b 19-Jun-2015 Yang Ni <yangni@google.com> Check for kernel chaining in ScriptGroup

b/21958851

bcc expects kernels chained up via input and output.
Check this in the runtime before passing ScriptGroup to bcc for
compiler fusion.

Change-Id: I6004d577410ea1684f5043babadc1e1b885c4f6a
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_script_group2_nochain.java
ndroid/rs/test/increment2.rs
2089cddba3e6e6bb7643ed670ee038dce0b8db6e 19-May-2015 Jean-Luc Brouillet <jeanluc@google.com> Fix warnings in RenderScript sources.

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
ndroid/rs/test/element.rs
ndroid/rs/test/fp_mad.rs
ndroid/rs/test/math.rs
ndroid/rs/test/math_agree.rs
ndroid/rs/test/rstypes.rs
ndroid/rs/test/shared.rsh
bef00fb73762f13d6e3074effe9f6f30c03eeeb0 18-Apr-2015 Yang Ni <yangni@google.com> Updated script group tests

Change-Id: I362910c115e9d0173dc515674e08bf4878232879
ndroid/rs/test/UT_script_group2_gatherscatter.java
ndroid/rs/test/UT_script_group2_pointwise.java
541f4be51271292b9e8c4c4bedf099386b349c16 14-Apr-2015 Yang Ni <yangni@google.com> Merge "Use new API methods in Script Group test"
69b65033152250cb7ad27f452fa7de41114c9f18 07-Apr-2015 Yang Ni <yangni@google.com> Updated tests of ScriptGroup2 to include a name

For each script group created.

Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
ndroid/rs/test/UT_script_group2_gatherscatter.java
ndroid/rs/test/UT_script_group2_pointwise.java
8e607f39757174d088cbc9703ef051b378c6018f 04-Feb-2015 Yang Ni <yangni@google.com> Use new API methods in Script Group test

Used the simplified vararg API to add kernel/invokes.

Change-Id: I175e9cd8861053bd3c54edcf4cb33e932966838c
ndroid/rs/test/UT_script_group2_gatherscatter.java
ndroid/rs/test/UT_script_group2_pointwise.java
6ba05171a84a7444df01b9f81a7233b17e1f120a 04-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Add rsDebug(msg, float2-4)

Change-Id: I6e0594d1fa5ed9ae27140334b6dce058aeb38f4e
ndroid/rs/test/rsdebug.rs
6cad69d1319000314b23f32f03c38f57b8564906 26-Mar-2015 David Gross <dgross@google.com> Add 3d iteration test.

Bug: 18964628
Change-Id: Ia08a8e44cae49a89a82a1ea0b9ef0e7fdf386696
ndroid/rs/test/RSTestCore.java
7fa7a5b18fe3f693ab1ca43de70937440759bdbd 12-Mar-2015 Yang Ni <yangni@google.com> Added tests for ScriptGroup2 API to RsTest

Change-Id: Ib04499904b741b8054841b693e1c02c02a558cde
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_script_group2_gatherscatter.java
ndroid/rs/test/UT_script_group2_pointwise.java
ndroid/rs/test/addup.rs
ndroid/rs/test/double.rs
ndroid/rs/test/increment.rs
6a3c8f33e4a334ad6a14e5b0a4d469286a6d3282 17-Mar-2015 David Gross <dgross@google.com> Add remaining new kernel invocation context query APIs rsGet*().

Bug: 18964628
Change-Id: I067eb3a7672d79f308d4c0919a7aa6cddccd0bd6
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_ctxt_default.java
ndroid/rs/test/ctxt_default.rs
dced5c96bc53c45a1aac782ea9bd738b0d50fd09 12-Mar-2015 David Gross <dgross@google.com> Add new APIs rsGetDim[XYZ]() and add RSTest test cases to exercise them.

Test UT_kernel3d does not pass reliably, so it is disabled for now.

Tests will not compile without related
platform/frameworks/compile/libbcc and
platform/frameworks/compile/slang changes.

Bug: 18964628

Change-Id: I39660400953306ceb47c8b5e9665e8f0084775dd
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_kernel2d.java
ndroid/rs/test/UT_kernel2d_oldstyle.java
ndroid/rs/test/UT_kernel3d.java
ndroid/rs/test/kernel2d.rs
ndroid/rs/test/kernel2d_oldstyle.rs
ndroid/rs/test/kernel3d.rs
ndroid/rs/test/shared.rsh
3d3d734cd20689547a58a5369230ac5135f38953 15-Jul-2014 Chris Wailes <chriswailes@google.com> Added a test for struct output with multi-in.

Change-Id: I6e0f514bfe7975e63ce1051256fab1b341b6c1c6
ndroid/rs/test/UT_foreach_multi.java
ndroid/rs/test/foreach_multi.rs
db69bf0117c44d8996a3d179cc3b7a98bf8726ea 08-Jul-2014 Stephen Hines <srhines@google.com> Merge "Adds support for multi-input kernels to Frameworks/RS."
4b3c34e6833e39bc89c2128002806b654b8e623d 11-Jun-2014 Chris Wailes <chriswailes@google.com> Adds support for multi-input kernels to Frameworks/RS.

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
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_foreach_multi.java
ndroid/rs/test/foreach_multi.rs
ddafe09cf41b94a747ce3c9e05d4a9acc2313653 08-Jul-2014 Tim Murray <timmurray@google.com> Fix build break from unnecessary assert.

Change-Id: I9844246546da49929f9c35c67588422d8cd626c7
ndroid/rs/test/UT_element.java
86557f6a54d33b21a453e4a860cedff1a7692f2a 24-Jun-2014 Stephen Hines <srhines@google.com> Switch rootn(f, 0) tests to expect +inf instead of NaN.

Change-Id: I557f69a3bfbde3c3e5ccaceb157482e8ba7c5c2d
ndroid/rs/test/math_conformance.rs
99bfdec2b1676239ae66d308dd6624983aae2d56 24-Jun-2014 Stephen Hines <srhines@google.com> Only 1D Allocations can be bound in API 20+, so fix the test.

Change-Id: I79696e3534a3b18f843b801ab5b8e0ac30aed9d8
ndroid/rs/test/UT_alloc.java
ndroid/rs/test/alloc.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
ndroid/rs/test/RSTest.java
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/RSTestView.java
ndroid/rs/test/UT_mesh.java
ndroid/rs/test/UT_program_raster.java
ndroid/rs/test/UT_program_store.java
ndroid/rs/test/UT_sampler.java
ndroid/rs/test/UnitTest.java
ndroid/rs/test/mesh.rs
ndroid/rs/test/program_raster.rs
ndroid/rs/test/program_store.rs
ndroid/rs/test/rslist.rs
ndroid/rs/test/rstypes.rs
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
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_bug_char.java
ndroid/rs/test/UT_int4.java
025b5f82971c431eb22df3c9d0f00b3cbe426bdb 23-May-2014 Chris Wailes <chriswailes@google.com> Updated test files to use the RS_KERNEL macro.

Change-Id: Ifa00819d09a1cc8229ac5d693d49e3a228cfc2dd
ndroid/rs/test/foreach_bounds.rs
ndroid/rs/test/kernel.rs
ndroid/rs/test/kernel_struct.rs
0ec1635641a2075c9d2349219632650401f88881 23-Jan-2014 Jean-Luc Brouillet <jeanluc@google.com> Implement version of step() that takes a scalar edge and a vector for the other argument.

Tests to be done in another CL.

Bug: 12112379

Change-Id: I28a865a9a8f272e9ac4808dacd1ad35a16731a0b
ndroid/rs/test/math.rs
da9f173879716082b590606389ae42c7ed15c947 20-Mar-2013 Stephen Hines <srhines@google.com> Add test to check that we don't exceed our kernel dimensions.

We write a pattern into an Allocation and then verify using a kernel that
each cell contains that pattern. If we don't see the pattern, we know that
we have definitely stepped outside of our range (most likely due to stride).

Change-Id: I4f285b2a0299f5fa8ee10853fb0d8b812fdadf51
(cherry picked from commit 8ab2ef851e70f3c77b4aa4ef151d4a7823062b15)
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_check_dims.java
ndroid/rs/test/check_dims.rs
d84ad3f1a23f69c09ca98505522c05880c937bbf 20-Mar-2013 Stephen Hines <srhines@google.com> Test that static global writes get propagated from kernel -> invokable.

Change-Id: I0fdf5b9407ef127afc0df993bb7b8eb388abbaec
ndroid/rs/test/RSTestCore.java
ndroid/rs/test/UT_static_globals.java
ndroid/rs/test/static_globals.rs
572a5031a5d8602db0bec0b253428a034bd4dd59 19-Mar-2013 Jason Sams <jsams@google.com> Move compute tests from frameworks/base to frameworks/rs

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