155 Commits

Author SHA1 Message Date
Jason Sams
f110d4b787 Move ImageProcessing and ModelViewer to reflected files.
Implement boolean support.

Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
2010-06-21 17:42:41 -07:00
Jason Sams
3ac8da87bb Remove the obsolete film example.
Change-Id: Ifb6b991276a3a7e95f75d783141b397080631e63
2010-06-21 15:11:15 -07:00
Jason Sams
94d0759987 Fountain example cleanup.
Remove compatability versions of rsg functions that took old 'i' types.

Change-Id: Icea268a37df5e212237299e094ba26c6f76468d7
2010-06-18 15:52:30 -07:00
Jason Sams
96ed4cfa62 Remove InvokeData and add ContextFinish to generate a sync point.
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-15 12:15:57 -07:00
Jason Sams
56985cea77 update image processing.
Change-Id: I5899f88f05b9fb2ac2d7cdcb725b97d3a48d536b
2010-06-14 14:01:33 -07:00
Jason Sams
e29f3e74f7 Begin using reflected files.
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -07:00
Alex Sakhartchouk
aae74ad614 Creating the jni and java layer to integrate a3d
Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
2010-06-04 10:06:50 -07:00
Jason Sams
8cb39de03a Remove RS_KIND from vertex arrays types.
Legacy vertex programs now bind by name just like the user programs.
This removes the need for two different ways of declairing the same
information.

Change-Id: I0178c0962842a1bbffb6726984ae1b8f5bb7529c
2010-06-01 15:47:01 -07:00
Jason Sams
96d3749e4e Fountain update. Update field names to match legacy expectations.
Cleanup java code.

Change-Id: I1ad9ae462e46166a7b6ff2b399417dbfe50a5542
2010-05-28 18:14:41 -07:00
Jason Sams
1001a5b97b Remove noise functions and update images processing to use new rs namespace names.
Change-Id: I2dc9b5ec7877acd630bea1a011ecc4a6d43a31eb
2010-05-20 17:56:05 -07:00
Jason Sams
d79b2e9f8b Begin naming cleanup for renderscript runtime.
Prefix functions with "rs" or "rsg".

Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -07:00
Alex Sakhartchouk
d52498a64f Merge "Added benchmark mode. Added some image processing operations." 2010-05-19 16:44:26 -07:00
Alex Sakhartchouk
814326b3b9 Added benchmark mode.
Added some image processing operations.

Change-Id: Ic7ba45fbf57eff6fc7d20377c148d0ba7ac862f7
2010-05-19 16:28:27 -07:00
Jason Sams
1de0b87168 Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-17 14:55:34 -07:00
Jason Sams
b42315d37a Delete old createFromClass methods.
It no longer makes sense to create type info from Java since this
cannot be exported to scripts.  The new flow is in the opposite direction.

Change-Id: I9b46e3f57abf84c01326bd9b9b834f3ff0f7c504
2010-05-14 16:29:20 -07:00
Jason Sams
4d3399337d Convert renderscript from using ACC to LLVM for its compiler.
This will also require application to be updated to support
the new compiler and data passing models.

Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-05-11 14:03:58 -07:00
Jason Sams
2d71bc7b4c Update Script java classes and llvm samples.
Change-Id: I05c8d63fcca095d4fea6abb1ff5736ab9d78a3e6
2010-03-26 16:08:09 -07:00
Jason Sams
cb88ac9f53 Change global variables from extern to non static. Make script local global vars static.
Change-Id: I73656978e0f0ceeb927afef292fc4ed9755b7214
2010-03-18 15:51:59 -07:00
Jason Sams
4ab7b236ef More rsh headers for renderscript and a llvm compatible test script for fountain.
Change-Id: If5d682e549e6f849ba809619587feb58c1e4ed0a
2010-03-18 14:36:05 -07:00
Jason Sams
c2cb25d495 Add test pattern icon to Fountain. 2010-02-19 13:26:08 -08:00
Jason Sams
941533186c Add comment block matching the type defines added by RS. 2010-02-12 17:25:47 -08:00
Jason Sams
8dd9ca3e97 Change default mode. 2010-02-10 18:09:36 -08:00
Jason Sams
586f3b5d32 Add java benchmark to imageProcessing. 2010-02-10 18:07:37 -08:00
Jason Sams
1d317d1453 Cleanup image processing example script. 2010-02-10 16:58:16 -08:00
Jason Sams
ec2746c33f Fix ImageProcessing example. 2010-02-10 15:03:24 -08:00
Jason Sams
704ff64b09 Preview seperating RenderScript into RenderScript and RenderScriptGL 2010-02-09 16:05:07 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Jason Sams
74e02ef200 Support npot on es 2.0 HW. 2010-01-06 15:10:29 -08:00
Jean-Baptiste Queru
ca328e70ed explicit set an "optional" tag 2010-01-05 11:40:22 -08:00
Jason Sams
718cd1f322 Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Jason Sams
68afd01ec9 Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode. 2009-12-17 16:55:08 -08:00
Jason Sams
0011bcf57f Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info. 2009-12-15 12:58:36 -08:00
Jason Sams
7efde12a03 Fix film 2009-11-25 15:14:50 -08:00
Jason Sams
bb51c40d89 Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly. 2009-11-25 13:22:07 -08:00
Android (Google) Code Review
f5fac58f50 Merge change Id10824da
* changes:
  Fix film init
2009-11-17 18:53:07 -08:00
Jason Sams
d10824dadc Fix film init 2009-11-17 18:51:58 -08:00
Android (Google) Code Review
9390931b6e Merge change I948415fd
* changes:
  Delete the old rollo sample which is obsolete.
2009-11-17 18:51:25 -08:00
Jason Sams
948415fdd9 Delete the old rollo sample which is obsolete. 2009-11-17 18:50:09 -08:00
Jason Sams
eb4b031804 Make default vertex program correctly track surface size. 2009-11-12 16:09:45 -08:00
Jason Sams
3bc47d4381 Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state. 2009-11-12 15:10:47 -08:00
Romain Guy
d7fa122dfe Add new RenderScript sample: ImageProcessing.
Change-Id: I5e482bbc34911c940a3a74258f8f8549b1939bc4
2009-10-09 16:05:25 -07:00
Jason Sams
7f047786d9 Update the SimpleMesh API to support new attribute types. Also spilt add/set commands to avoid permutation explosion. 2009-10-02 18:18:35 -07:00
Joe Onorato
9e384dddb8 Add a test pattern as rollo's icon 2009-10-01 16:48:44 -07:00
Jason Sams
5235cf3f41 Fix but processing raster state pragma.
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
Jason Sams
3c0dfbab80 Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement. 2009-09-27 17:50:38 -07:00
Jason Sams
f075b4e713 Fix fountain crash. 2009-09-25 20:24:54 -07:00
Jason Sams
a57e982785 Fix remaining object leaks. Change FountainView to tear down the rsContext and recreate on rotation to test teardown. 2009-09-25 16:50:36 -07:00
Jason Sams
a9e7a05b84 Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed. 2009-09-25 14:51:22 -07:00
Jason Sams
e60446b9c1 Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s. 2009-09-24 14:55:38 -07:00
Jason Sams
ebfb436a49 Add raster object to control point and line params. Add flag to force SW rendering. 2009-09-23 13:57:02 -07:00