162 Commits

Author SHA1 Message Date
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
Xia Wang
6b11072884 am 606b16bc: am e546b879: am ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1
* commit '606b16bc160e66709408b3e49e273efcff0a148d':
  Fix a typo in image processing test
2012-02-01 10:59:44 -08:00
Xia Wang
e2ce3b8252 Fix a typo in image processing test
Change-Id: I6c39a144dc7c724188e6ebad76c51c3ac1e818e1
2012-02-01 10:47:18 -08:00
Stephen Hines
071abd1a5c Add test for "public final static"-reflected constant fields.
Change-Id: I00d7ed4e3dd2c3137de27f9e78d49aa0c59d3d6d
2012-01-31 19:33:57 -08:00
Stephen Hines
efd3fc7255 am 2247e3f0: Merge "Test RS struct writing/reading."
* commit '2247e3f0dc00762b44ef6adcbb2a91c8bbc1be58':
  Test RS struct writing/reading.
2012-01-31 17:24:46 -08:00
Stephen Hines
b1ea64edb0 Test RS struct writing/reading.
BUG=5569561

Note that this only tests the issue described in the bug. It does not actually
produce an error on any recent version of RS.

Change-Id: I0194b13cb3f4ff01ce95d966e8e2dd74119a3946
2012-01-31 15:27:08 -08:00
Alex Sakhartchouk
f684c01b7a Optimize camera updates from java. Remove duplicate constants.
Change-Id: I4302abc06b1afbfdbbf2f7749d3caa7294c982d1
2012-01-31 15:22:59 -08:00
Alex Sakhartchouk
452889a296 Better debugging for shader params.
Change-Id: Ib083e456e53226539d16599b4a2b4d89e5082439
2012-01-31 14:48:20 -08:00
Alex Sakhartchouk
e92c78ccd0 Adding a time stamp to transforms to reduce update frequency.
Change-Id: Ief4a9c61886feed03b11c913fbee14613d990dc4
2012-01-31 13:23:13 -08:00
Alex Sakhartchouk
5de922962a Fixing possible pne.
Change-Id: I4a8071374a72c0ca2639dc033d06d17e0a0466f7
2012-01-30 14:05:39 -08:00
Alex Sakhartchouk
e93db17a14 Making the SceneGraph more robust to make sure data is propagated to RS.
Caching RS name allocations.

Change-Id: I5e7a17a9ac76f81548145ae78665da322ec51271
2012-01-30 12:03:06 -08:00
Alex Sakhartchouk
d3474b79ee Merge "Better constant names, removed unused code, general cleanup." into graphics-dev 2012-01-27 15:29:09 -08:00
Alex Sakhartchouk
4bda82de0b Better constant names, removed unused code, general cleanup.
Change-Id: Iebf6d6c930c146e83d6963674d63ee322e831f3e
2012-01-27 15:00:34 -08:00
Alex Sakhartchouk
6c963379cd Merge "Material name cleanup. Minor refactoring." into graphics-dev 2012-01-26 16:31:11 -08:00