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
Mathias Agopian
128ce4b24a
real fix for [2440014] launcher2 crashing in loop during boot
...
Surface* cannot be casted to void* and then to android_native_window_t*
2010-02-12 14:04:35 -08:00
Mathias Agopian
5cbb940cf6
Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
...
This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
2010-02-12 12:00:38 -08:00
Jack Palevich
a0659aa36c
Revert "RenderScript should not depend on libsurfaceflinger_client.so"
...
This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
2010-02-12 18:21:26 +08:00
Mathias Agopian
88b55fb090
RenderScript should not depend on libsurfaceflinger_client.so
2010-02-11 14:57:11 -08:00
Mathias Agopian
000479f9e3
split libsurfaceflinger_client and libcamera_client out of libui
2010-02-11 13:16:22 -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
Jason Sams
5bec3aa2c6
Fix fountain and put the demos back in the optional build.
2010-02-08 16:32:29 -08:00
Jason Sams
5dbfe93b3f
Fix some minor bugs with GL state setup that were exposed by Droids driver.
2010-01-27 14:41:43 -08:00
Jason Sams
a1d302e867
Turn the debugging back on.
2010-01-26 11:34:09 -08:00
Jason Sams
df48b57114
Cleanup seperation of Legacy and user attribs. All user programs now use the new names. Legacy vertex attribs are given default names.
2010-01-25 12:41:19 -08:00
Joe Onorato
af07b591bb
am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair
...
Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be'
* commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be':
add drawSpriteScreenspaceCropped to renderscript
2010-01-20 14:35:52 -08:00
Jason Sams
e20e3b41db
Fix RS mipmap generation for 8 bit alpha textures.
2010-01-19 17:53:54 -08:00