Jason Sams
43c31421b4
Remove extra float<>int conversions in ImageProcessing.
...
Remove or shrink test bitmaps for Fountain and ModelViewer.
Change-Id: Ieeb530375aebb6b953aa564788fc5b5ef21a362e
2010-08-16 12:56:08 -07:00
Ying Wang
bc8112fd6d
.rs files are now built by the build system.
...
Change-Id: Iba28bed6cc05883a28a59b8dd0ff12e1bfbe0c04
2010-07-19 16:01:44 -07:00
Shih-wei Liao
a560d7a2fd
Preparing for build system change. Fix the build error in http://b/issue?id=2781522 .
...
Change-Id: I4513504bb05de9bb82cd12d40045a7e4090edb3c
2010-07-15 22:30:48 -07:00
Alex Sakhartchouk
164aaedf7f
Start of mesh API cleanup.
...
Switched all native code to go through Mesh class.
Removed SimpleMesh
Added java Mesh class
Will need to port all existing code to use java Mesh, then remove java SimpleMesh.
Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
2010-07-01 16:14:12 -07:00
Jason Sams
60b0c1dada
Update fountain with multitouch support.
...
Change-Id: I510f3f2d604f4ecacd7e18d8c6eddd827f458c70
2010-07-01 13:02:26 -07:00
Jason Sams
61d10a4e43
Update fountain to use boolean rather than ints for true/false.
...
Change-Id: I5e8334f53239c869caeaff45e611309cea5ba284
2010-06-25 15:09:45 -07:00
Jason Sams
eeeaccc899
Add support for non-VBO drawing in Meshes.
...
Change-Id: Ic4dd88cbe591091ebe740babe30213c15ad60cb3
2010-06-25 12:45:41 -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
e29f3e74f7
Begin using reflected files.
...
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -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
d79b2e9f8b
Begin naming cleanup for renderscript runtime.
...
Prefix functions with "rs" or "rsg".
Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -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
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
5235cf3f41
Fix but processing raster state pragma.
...
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
Jason Sams
f075b4e713
Fix fountain crash.
2009-09-25 20:24:54 -07:00
Jason Sams
988f6ebb44
Minor perf tweak for fountain.
2009-09-14 15:00:05 -07:00
Jason Sams
2525a81522
Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
2009-09-03 15:43:13 -07:00
Jason Sams
44e9983ffc
Update fountain to use structures.
2009-08-31 12:10:24 -07:00
Jason Sams
67c6844ea0
Remove bogus comments and logging.
2009-08-25 17:09:59 -07:00
Jason Sams
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
Jason Sams
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -07:00
Jason Sams
40a29e8e28
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
2009-08-10 14:55:26 -07:00
Jason Sams
1bada8cd6e
Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
2009-08-09 17:05:13 -07:00
Jason Sams
e6c8e9b8c7
Fix fountain and more rollo ui work.
2009-07-17 17:29:09 -07:00
Jason Sams
f8001669ba
Fix 3 bugs in fountain test. Correctly generate the last mip level of a non-square mip chain. Default the background to not blended and disable dither/depth.
2009-06-22 18:13:36 -07:00
Jason Sams
462d11b880
checkpoint filmstrip, implemented TLS.
2009-06-19 16:03:18 -07:00
Jason Sams
9c54bdbf45
Implement default programs and implement defaults and parents for imports.
2009-06-17 16:52:59 -07:00
Jason Sams
1fe9b8c3bd
Split FountainView into View and RS parts. Beging adding ProgramVertex to the java api. It was already implemented in native.
2009-06-11 14:46:10 -07:00
Jason Sams
d5680f9ba9
Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
2009-06-10 18:39:40 -07:00
Jason Sams
3eaa338e11
Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
2009-06-10 15:04:38 -07:00
Jason Sams
da423d8479
checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC.
2009-06-09 12:15:30 -07:00
Jack Palevich
2a741ad51f
Use ANSI style function declaration for RS scripts.
2009-06-04 20:16:39 -07:00
Jason Sams
a09f11d6c6
Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
2009-06-04 17:58:03 -07:00
Jason Sams
33c824d17b
Remove pointer hacks from script and use standard load/store functions.
2009-06-03 18:29:04 -07:00
Jason Sams
ffe9f48890
Improve bitmap support and do conversion in native rather than java code to reduce conversion time.
2009-06-01 17:45:53 -07:00
Jack Palevich
43702d8925
Add support for setting scripts, rather than having a hard-coded script.
...
Move the test script into a resource file.
Add APIs for reading a script from a resource, InputStream, string, or
byte array.
2009-05-28 13:38:16 -07:00
Jason Sams
0ae234c991
Add background bitmap to fountain test app for renderscript.
2009-05-27 17:46:57 -07:00