Stephen Hines
a80ea657f3
Merge "Add vignette filter to Image Processing test"
2012-07-27 10:20:27 -07:00
Rajeev Sharma
a2ed8f8050
Add vignette filter to Image Processing test
...
Add a vignette filter, mostly based on the GLSL version in
android.filterpacks.imageproc.VignetteFilter but with more input options.
Change-Id: I6f38a0ca09d35566104ec8e8523548399b8704a0
2012-07-26 21:46:10 -07:00
Rajeev Sharma
9dda365d8d
Add missed line in fisheye.rsh
...
Typo fix. Previously unnoticed as filter was only tested with default image.
Change-Id: I482036cdf78ef660845eca82fb62cf697f5a8eff
2012-07-26 20:35:44 -07:00
Rajeev Sharma
a8477e39a9
Add fisheye filter to Image Processing benchmark
...
Add a fisheye filter, mostly based on the GLSL version in
android.filterpacks.imageproc.FisheyeFilter but with the configurable center
functionality from the JNI version in the original PhotoEditor.
Change-Id: I091cba747299809095f6586e16a9221cdc2b2e7d
2012-07-26 17:58:08 -07:00
Rajeev Sharma
a807a50cf2
Add unsigned tests to math agreement test
...
All operations on unsigned tests were previously commented out due to
bug 6764163. Signed char vectors remain commented out due to bug
6865598, but unsigned char vectors appear to be working properly.
Change-Id: I723c43fe69a78c8f8e03ed1e4db95f73966fcaad
2012-07-25 15:47:25 -07:00
Stephen Hines
85dae98ca1
Test for unsigned RS setters.
...
BUG=6764163
This verifies that we don't trample memory with our unsigned set_*()
operations. Previous versions of llvm-rs-cc generated code that could
accidentally overwrite neighboring locations (due to setVar() being
called on the larger Dalvik types for unsigned globals).
Change-Id: I014496122a05cf425efa160978d0738a5233742e
2012-07-25 11:45:28 -07:00
Stephen Hines
b10f455e44
Merge "Updated math_agree test"
2012-07-20 15:52:42 -07:00
Rajeev Sharma
5666d8f4fb
Updated math_agree test
...
Tests for min, max, fmin, and fmax. Currently has tests for chars and longs as well as all unsigned types disabled due to outstanding Renderscript/LLVM bugs. Will enable those tests cases once bugs are fixed.
Change-Id: I80474f7b68a7916c2172056421db7d170d00f1cb
2012-07-20 15:47:20 -07:00
Jason Sams
4a45de8c5f
Add film grain test.
...
Change-Id: Ic7c7d7f66fbcf9a9e7a031a4c34f9a1372f0a7b7
2012-07-20 15:40:45 -07:00
Jason Sams
52541816fb
Refactor ImageProcessing benchmark and stabilize results.
...
Change-Id: I3d43bf855515a3ab707089e97cc310b561683f5f
2012-07-19 16:31:47 -07:00
Jason Sams
702fb2c502
Cleanup filter preview test.
...
Change-Id: I626a1261affb86499ec398678523b0fe9e5fe679
2012-07-10 14:18:45 -07:00
Jason Sams
ba929942f1
Merge "Filter performance tests."
2012-07-02 18:16:43 -07:00
Stephen Hines
10efb53234
Switch to "tests" instead of "optional" for build.
...
Change-Id: Iaea3819c18be34b5c3864015316b67397c928f2d
2012-07-02 16:40:48 -07:00
Jason Sams
0cb555ffcc
Filter performance tests.
...
Change-Id: Ic1c898ac41372da7b0a25ebb4c83b075c7467e35
2012-06-13 14:40:03 -07:00
Rajeev Sharma
325ca45471
Add math agreement test. float_distance and float_almost_agree added to header
...
Change-Id: Ieee5e4894cb62db384588547d8762e57f3839bf4
2012-05-29 16:36:16 -07:00
Stephen Hines
9fc54f3d85
Revert "Large matrix test"
...
This reverts commit 4af866511bad19f2fec1aee6d10d58242ae40087
2012-05-23 16:02:17 -07:00
Jason Sams
4af866511b
Large matrix test
...
Change-Id: Icd0f4314f83e7d23964cb583be4ce88b162d3d97
Fix LargeMatrix test.
2012-05-22 18:50:09 -07:00
Jason Sams
519b492a4d
am df06d51f: am 4ee6a63d: Merge "Move gfx samples to test directory for compatibility testing." into jb-dev
...
* commit 'df06d51ffa38c86ea138d24c0129763878553c71':
Move gfx samples to test directory for compatibility testing.
2012-05-17 15:33:32 -07:00
Jason Sams
e5f2f66f8c
Move gfx samples to test directory for compatibility testing.
...
Change-Id: Iede1c0a14abf9aa3f31ab219fba3bf3a15ef8c90
2012-05-16 15:43:25 -07:00
Stephen Hines
030ab67e7b
am 69b2bda2: am a7ea0d39: Merge "Add unit tests for convert (with relaxed precision)." into jb-dev
...
* commit '69b2bda2e967a2f53e689c9622c748c0a810fb46':
Add unit tests for convert (with relaxed precision).
2012-05-15 15:17:53 -07:00
Stephen Hines
0ccbd524e6
Test float vector versions of rsDebug().
...
Change-Id: I74cf2e23cd323d25af6e46587da8d442fdd058c8
2012-05-14 18:06:03 -07:00
Stephen Hines
724de98edb
Add unit tests for convert (with relaxed precision).
...
BUG=6127576
Change-Id: Ia5b4efa99de4f6df644779eeee6763eb31be4d90
2012-05-14 15:05:58 -07:00
Stephen Hines
a25b2e80c7
Test clamp (full and relaxed precision).
...
BUG=6127576
Change-Id: I9501be7db42daa11dcc71bd619a993c80ef097de
2012-05-10 15:25:11 -07:00
Stephen Hines
adeb809201
Start passing element/dim information along with FieldPacker.
...
BUG=6009244
Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
2012-05-01 00:29:52 -07:00
Stephen Hines
9b9e74eea1
Move mesh to end of test list until we fix LLVM.
...
Change-Id: I8f06e80d7cea4b51e47625186e45ad44adb45b6b
2012-05-01 00:29:52 -07:00
Alex Sakhartchouk
64275552a6
Fixing test affected by API renaming.
...
Change-Id: Ib42e1958b385069461ca9fec1ccd9f578c5d47d3
2012-04-16 11:21:02 -07:00
Alex Sakhartchouk
0e2c70112b
Merge "Unhiding J API's for Renderscript."
2012-04-12 16:06:02 -07:00
Alex Sakhartchouk
918e840628
Unhiding J API's for Renderscript.
...
Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
2012-04-11 14:04:23 -07:00
Stephen Hines
72afa117b7
Add tests for rootn() to math_conformance.
...
BUG=6319010
Change-Id: I3fa7d688e6f3b66f51a1c25a2c2104b659691c8b
2012-04-10 20:15:47 -07:00
Jason Sams
c5f519c5ec
Rename ioReceive and ioSend
...
First checkin of Allocation IO test
Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
2012-03-29 17:58:15 -07:00
Jason Sams
75ec67848c
Add fp_relaxed pragma to image processing test.
...
BUG=4540719
Change-Id: I147587b50106208a2280712ae69ca2bc111a2b77
2012-03-28 17:58:52 -07:00
Alex Sakhartchouk
043f5ced1b
More rearrangement and renaming.
...
Change-Id: Ia922c5bff1734a29b786ba95065f81c8dedf90cd
2012-03-22 10:50:55 -07:00
Alex Sakhartchouk
73797e97a8
Changing rsg to rs where functions don't rely on graphics.
...
Change-Id: I92a93d7a520b4a5416be88c7c05c2f8d3cc89243
2012-03-21 10:21:08 -07:00
Alex Sakhartchouk
44e3fe99c5
Using the rs API instead.
...
Change-Id: I819c37f8c05ec887500db38a4e18390a1c5ea137
2012-03-12 13:52:33 -07:00
Alex Sakhartchouk
c709216310
Merge "Support for more vector types."
2012-03-09 08:44:02 -08:00
Alex Sakhartchouk
c53254ec92
Merge "Enable AA in scenegraph. Minor shader work in sample."
2012-03-08 14:25:56 -08:00
Stephen Hines
ebc34f820c
Merge "Check in older versions of RS tests."
2012-03-08 11:41:34 -08:00
Stephen Hines
41f1e5edee
Check in older versions of RS tests.
...
This change adds a v11 version of Fountain, as well as v11 and v14 versions of
RSTest. All tests currently build and pass on the required platforms.
This also fixes an initialization bug for RSTest running on older devices.
If we don't directly initialize "each" component of the vector types, it can
result in uninitialized memory (or zero) being used for divisors (particularly
with the char vector types). This triggers SIGFPE with the latest pending
Clang/LLVM rebase.
Change-Id: I92a70c2aeed4e20f110b1cb24ee926fc27be9dbb
2012-03-07 17:47:53 -08:00
Alex Sakhartchouk
29e239203d
Support for more vector types.
...
Change-Id: I06d6e8814e75c0dcd726a3c95de82fd6f6267c4d
2012-03-07 15:59:24 -08:00
Alex Sakhartchouk
e51ae26282
Adding more modes to the sampler test app.
...
Fixing pixel placement.
Change-Id: I355cc611ebe0bfb15af96cc498604d9b9fa1a9d3
2012-03-06 16:43:28 -08:00
Alex Sakhartchouk
43ca3cfa87
First draft of the sample function implementation.
...
Change-Id: I51bb999419b5b424a8549461a6d91f48f3fc9298
2012-03-05 18:03:32 -08:00
Alex Sakhartchouk
b23b58ad34
Enable AA in scenegraph. Minor shader work in sample.
...
Change-Id: Ifa81d2b19901002f901f25ac9dce5a4ca09fa363
2012-02-29 09:06:10 -08:00
Stephen Hines
47e432e37c
Add test for signed/unsigned char bug (conversion).
...
BUG=6080056
Change-Id: I7980ff3e4a23ff8ba007ff0372ec855b7272630d
2012-02-27 18:06:51 -08:00
Alex Sakhartchouk
5d3bc7d3e4
Merge "Adding a few more howto elements to scenegraph example."
2012-02-23 16:57:00 -08:00
Alex Sakhartchouk
3c8eed3bdc
Adding a few more howto elements to scenegraph example.
...
Change-Id: I29f025ce6ecf3a8090a8365991de40af72b4e78f
2012-02-23 10:12:45 -08:00
Stephen Hines
a16c98c155
Merge "Support running ForEach on non-root functions."
2012-02-23 09:58:56 -08:00
Stephen Hines
473a2048d3
Support running ForEach on non-root functions.
...
BUG=6000538
Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-02-22 15:24:29 -08:00
Alex Sakhartchouk
d2dc983896
Simplifying programmatic creation.
...
Change-Id: I792f96b5ed47d3c78976d57259074c9ae402575b
2012-02-22 11:59:12 -08:00
Alex Sakhartchouk
9cc290038c
Properly pipe texture names through.
...
Change-Id: I3e44c2757acee90539869c32771626cd0f770a25
2012-02-22 09:06:03 -08:00
Alex Sakhartchouk
57fc7109e4
Adding a very simple all-code scenegraph example.
...
Change-Id: I776f8d8d0d3873c84141637d3479501ea92bac12
2012-02-21 16:26:38 -08:00