175 Commits

Author SHA1 Message Date
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
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
Alex Sakhartchouk
c71343acc4 Adding better default behaviour for programmatically created objects.
Change-Id: I24078b27f9ddf7f36855eaf223cd4211f459bc78
2012-02-21 11:32:59 -08:00
Alex Sakhartchouk
071e54d7a3 Making sure stranded objects are not left behind.
Change-Id: If678d9dbf818e256862cfc0949015c2a4172bebd
2012-02-17 16:30:36 -08:00
Stephen Hines
9e52329454 am 96d2abab: Merge "Revert "Revert "Test initialization of constant array exports."""
* commit '96d2ababf5c9a8ccd42d67587a62637a18dc1beb':
  Revert "Revert "Test initialization of constant array exports.""
2012-02-13 18:08:08 -08:00
Stephen Hines
330f676b7e Revert "Revert "Test initialization of constant array exports.""
This reverts commit 3be5c8565154c9a6aa7abf0a0d61eaecf114b450.
2012-02-13 12:00:24 -08:00
Stephen Hines
1bb1178490 am 3be5c856: Revert "Test initialization of constant array exports."
* commit '3be5c8565154c9a6aa7abf0a0d61eaecf114b450':
  Revert "Test initialization of constant array exports."
2012-02-13 12:00:20 -08:00
Stephen Hines
3be5c85651 Revert "Test initialization of constant array exports."
This reverts commit f7c4ce0b6afae9ace59879d625bb9be6bc14899c.
2012-02-13 11:56:29 -08:00
Stephen Hines
f6c233a218 am dfb64e8c: Merge "Test initialization of constant array exports."
* commit 'dfb64e8c805dcb371c747e675bf58b4c9a10e49f':
  Test initialization of constant array exports.
2012-02-13 11:14:58 -08:00
Stephen Hines
f7c4ce0b6a Test initialization of constant array exports.
BUG=5901034

Change-Id: I15e623ec6c615aaf27d57c0261695f1ba77e1275
2012-02-07 20:32:03 -08:00
Alex Sakhartchouk
a9eb319965 Making a graceful fallback for missing textures.
Change-Id: Ib628d8344ab9bdd5f82c61a599c42a4c7ca3052e
2012-02-07 16:25:25 -08:00
Alex Sakhartchouk
e8bb420a68 Streamlining texture creation.
Adding render target textureas.
Adding texture params for shaders.
Making it easier to bind root script.

Change-Id: I96dfc6ffba8bb7391d03a84682c43c82387e0be3
2012-02-06 19:13:47 -08:00
Alex Sakhartchouk
6f31c36a3d Fixes to simplify programmatic creation.
Change-Id: Ief2c794b0c50ce8016737628b9a7348574590039
2012-02-03 15:52:04 -08:00
Alex Sakhartchouk
5c15b765fe Adding float param time stamp. Cleanup, robustness.
Change-Id: I99148cf0566f0825739968bf1c7fbca021ef144e
2012-02-02 15:28:44 -08:00
Alex Sakhartchouk
e31264694e Cleanup.
Change-Id: Iee30f741f99846b3e19346fa1f2fb6ee0c88f4c0
2012-02-01 18:41:35 -08:00
Stephen Hines
a9431e1018 Update RSTest in graphics-dev for latest pass/fail changes.
Change-Id: I93d529006eb21ffa151a0cfb3666f882f42c6b59
2012-02-01 15:50:31 -08:00
Alex Sakhartchouk
a8313025ec Merge "Making sure that parameter updates are properly propagated to RS. Cleanup of param creation code." into graphics-dev 2012-02-01 14:30:36 -08:00
Alex Sakhartchouk
0c9523357f Making sure that parameter updates are properly propagated to RS.
Cleanup of param creation code.

Change-Id: I882b5230783250167f4269964165971a1caf9962
2012-02-01 14:06:27 -08:00
Stephen Hines
2ff0188a99 am c97992b4: Merge "Add test for "public final static"-reflected constant fields."
* commit 'c97992b489161a47f156f03ba605273dfb5e5cc2':
  Add test for "public final static"-reflected constant fields.
2012-02-01 14:04:56 -08:00
Stephen Hines
c97992b489 Merge "Add test for "public final static"-reflected constant fields." 2012-02-01 14:01:35 -08:00
Alex Sakhartchouk
0705fa4848 Merge "Optimize camera updates from java. Remove duplicate constants." into graphics-dev 2012-02-01 11:33:13 -08:00
Xia Wang
3c658de274 am 6b110728: am 606b16bc: am e546b879: am ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1
* commit '6b11072884e5b73794948a2dd03cb9503bdbba74':
  Fix a typo in image processing test
2012-02-01 11:03:00 -08:00