307 Commits

Author SHA1 Message Date
Jason Sams
e29f3e74f7 Begin using reflected files.
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-06-08 15:40:48 -07:00
Alex Sakhartchouk
422ce6b4db Removing debug output.
Change-Id: I05bd821607e3312180ed910313c88722a7c13f22
2010-06-04 16:10:12 -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
ab67fb9a80 Disabble vertex logging.
bug 2734616


Change-Id: Ibad63dfbf0f2ea3c7e475c7cf0689fd487d12be4
2010-06-02 12:40:19 -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
c9d0a87d50 types update.
Change-Id: I3bd43e163c919be4c3a38e0dd228cee220c62b76
2010-05-28 19:13:20 -07:00
Jason Sams
3678f1989e Merge "Rough implemetation of ForEach. Remove launchID from root graphics script." 2010-05-28 18:24:49 -07:00
Jason Sams
f17bccc905 Rough implemetation of ForEach.
Remove launchID from root graphics script.

Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-28 18:23:22 -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
Alex Sakhartchouk
aa7d2884cb Removed unnecessary change based on comments.
Now using android utils lib.
collada_to_a3d seems to work with android util libs.
Integrating old changelist
Changing assert to rsAssrt in VertexArray
making context compile.
Change-Id: I33890defa777f09253bfab630d97782359ec49d7

Added serialization code to rsLib
Integrated old changelist
Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311

Added serialization code to rsLib

Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
2010-05-21 14:00:10 -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
536923df75 Split ScriptC Lib into CL, GL, and basic.
Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
2010-05-18 13:35:45 -07:00
Jason Sams
c378dab087 Remove excess logging.
Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
2010-05-17 17:28:12 -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
a250f20b02 Merge "Delete legacy setDefine API." 2010-05-14 16:53:05 -07:00
Jason Sams
ec67275e5f Delete legacy setDefine API.
Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
2010-05-14 16:51:22 -07:00
Jason Sams
c3ae11271d Merge "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." 2010-05-14 16:30:50 -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
Nick Kralevich
71491ab245 Merge "resolved conflicts for merge of cbf26fd3 to master" 2010-05-14 16:11:43 -07:00
Nick Kralevich
963b0cdbaf resolved conflicts for merge of cbf26fd3 to master
Change-Id: I1feb7266c1d5cdebbfb8b8fa0d87d986953a20b6
2010-05-14 15:49:42 -07:00
Jason Sams
f603d21255 Change RS to use the passed surface size rather than EGL size.
Its possible that during a resize the EGL information could be stale so
caching this is bad.  The surface size should always be correct.

Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685

Conflicts:

	libs/rs/rsProgramStore.cpp
	libs/rs/rsProgramStore.h
2010-05-14 15:30:29 -07:00
Jason Sams
54db59c359 Rename ProgramFragmentStore to ProgramStore.
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -07:00
Nick Kralevich
ce2cbe4c96 Get rid of warnings when compiled with -Wformat-security
Change-Id: I63c3bf786bbe7a0276624e71a4ba80c4a9aaa4bb
2010-05-13 14:46:27 -07:00
Jason Sams
0c677318b5 Add missing bindProgramRaster to scriptC_lib.
Change-Id: I06a7075a94ef907478f986b59ded4ff3e2766585
2010-05-12 18:26:52 -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
a70f416c9c Checkin new types for RS.
Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
2010-03-26 15:34:30 -07:00
Jason Sams
c1d726c2d6 Seperate out Mutex and Signal code into reusable classes.
Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
2010-03-26 14:20:26 -07:00
Jason Sams
3cfae1bbf4 Merge "checkpoint animations" 2010-03-26 12:21:14 -07:00
Jason Sams
5335600a29 Change opaque RS typedefs from void * to int. These will likely become int64_t once proper support for >32bits is worked out.
Change-Id: Ic30240fe6c79170a0a88fd51185a1f01bd616c45
2010-03-18 16:29:59 -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
41e6ce1e41 Merge "First cut of basic RS headers for ScriptC. Not nearly complete." 2010-03-16 15:41:08 -07:00
Jason Sams
33bcfa210a First cut of basic RS headers for ScriptC. Not nearly complete.
Change-Id: I15df067936d3c0ff0e0917fd5ca44dc8e1352154
2010-03-16 15:40:18 -07:00
Jason Sams
f468700b6d checkpoint animations
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
2010-03-16 12:26:30 -07:00
Jason Sams
156cce6980 Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received. 2010-03-03 14:14:37 -08:00
Jason Sams
108831a72c Merge "Add support for linking to a skia bitmap rather than always copying the data from the bitmap." 2010-03-01 15:42:47 -08:00
Jason Sams
1549257d12 Merge "Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain." 2010-03-01 15:42:03 -08:00
Jason Sams
053100e6b6 Merge "Begin implementation of generated java files from RS files." 2010-03-01 15:40:37 -08:00
Jason Sams
8a64743f37 Add support for linking to a skia bitmap rather than always copying the data from the bitmap. 2010-03-01 15:31:04 -08:00
Jason Sams
c2908e60c9 Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain. 2010-02-23 17:44:28 -08:00
Jason Sams
7eecbf2085 Begin implementation of generated java files from RS files. 2010-02-23 15:28:52 -08:00
Jason Sams
2978bfc6ad beging np2 extension check work. 2010-02-22 15:37:51 -08:00
Jason Sams
c2cb25d495 Add test pattern icon to Fountain. 2010-02-19 13:26:08 -08:00
Jason Sams
e4c487a752 Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one. 2010-02-17 15:38:10 -08:00
Jason Sams
6f8a3dfa6b Merge "Add comment block matching the type defines added by RS." 2010-02-12 17:26:46 -08:00
Jason Sams
941533186c Add comment block matching the type defines added by RS. 2010-02-12 17:25:47 -08:00