Alex Sakhartchouk
2f6964fc89
Moves fbo support in renderscript behind the hal
...
Change-Id: I26a857586f5f0b47df4c1f4589d2023e70481ec7
2011-05-13 14:53:34 -07:00
Jason Sams
7a22e107d1
Add code for generating fifo command packing.
...
Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
2011-05-06 14:30:52 -07:00
Alex Sakhartchouk
438505431c
Moving samplers behind the hal.
...
Change-Id: I494e5a9d2b599d07b985328b346f1f10ae4972e1
2011-05-05 16:56:27 -07:00
Alex Sakhartchouk
4a36b45c72
Moving renderscript GL code into the HAL
...
This change affects
- shaders
- meshes
- fonts
- quad rendering
Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
2011-04-29 16:49:08 -07:00
Jason Sams
fcf7231249
Create runtime stubs for compute driver.
...
Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
2011-04-20 15:09:01 -07:00
Jason Sams
803626f615
Migrate most GL from context to driver.
...
Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
2011-04-06 17:52:23 -07:00
Jason Sams
331bf9b14b
Seperate ProgramRaster.
...
Cleanup ProgramRaster and ProgramStore creation.
Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
2011-04-06 11:23:54 -07:00
Jason Sams
48f505657a
Seperate GL from RS program store.
...
Change-Id: I0eae9c0699845af8e8611b065e70738cc9f2b15c
2011-04-04 17:09:37 -07:00
Alex Sakhartchouk
8e90f2bc1f
First draft of fbo in renderscript.
...
Updating samples and benchmark
Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
2011-04-01 14:19:01 -07:00
Jason Sams
e4a06c5fc7
Start seperating out RS compute implementation. Create hal
...
layer to seperate from runtime.
Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-17 16:13:03 -07:00
Iliyan Malchev
3070af0882
frameworks/base: remove LOCAL_PRELINK_MODULE
...
Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-03-14 14:25:59 -07:00
Stephen Hines
60f9a621e8
Almost all warnings are now errors in RS build.
...
Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
2011-03-01 22:13:40 -08:00
Alex Sakhartchouk
e600e1b91a
These moved into developmnet samples
...
Change-Id: Id7a502b9f2df2edcda0cf78e582ab6763eb55862
2011-02-23 09:52:11 -08:00
Alex Sakhartchouk
d0f5bd130b
Cleaning up the serialization change.
...
Renaming the define to be more in line with what it does and removing the host stub header file.
Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
2011-01-31 14:53:24 -08:00
Alex Sakhartchouk
a3b5960f6f
Making sure we can build libRS on the host for serialization.
...
Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
2011-01-31 12:38:34 -08:00
Shih-wei Liao
076b770c2a
bcc interface fixed.
...
Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
2011-01-14 06:21:28 -08:00
Shih-wei Liao
3b5379d84b
Retire librslib_rt.
...
Change-Id: I7f23eb35a8eab1728ef59ea20b429887e76d37fd
2011-01-14 05:00:37 -08:00
Shih-wei Liao
307bf62dd5
Avoid converting rslib.bc to things like rslib.h. So we are less error-prone.
...
Change-Id: If9043d8e8b4cbd21393024032da734e58a22e72d
2011-01-14 04:26:30 -08:00
Shih-wei Liao
96100195f0
Fix the build.
...
Change-Id: I36b523d877c5beadf0fce21b9f7534f0ffc23959
2011-01-13 02:20:51 -08:00
Shih-wei Liao
3a3dd2b37c
Fix the build.
...
Change-Id: I20ac8700bcc8ccb7905f82bbfea81d007f67a68e
2011-01-13 02:03:00 -08:00
Shih-wei Liao
067e7b261a
On-device linking.
...
Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
2011-01-12 19:14:27 -08:00
Shih-wei Liao
eeca435dc6
Stale cache management to address a P1 bug # 3296131.
...
Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
2010-12-20 21:02:32 +08:00
Shih-wei Liao
0175e01f54
Enable optimized bitcode that is also jitted faster.
...
Change-Id: I08832cfaf4e8465c16b445eeb1b82f72d874d0ef
2010-10-23 22:12:29 -07:00
Alex Sakhartchouk
76322af2a6
Adding average fps counter.
...
Removing rsLight from libRS
Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
2010-10-05 13:28:09 -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
Alex Sakhartchouk
9b949fce39
Adding freetype font rendering to renderscript.
...
Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
2010-06-24 17:15:34 -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
536923df75
Split ScriptC Lib into CL, GL, and basic.
...
Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
2010-05-18 13:35:45 -07:00
Jason Sams
54db59c359
Rename ProgramFragmentStore to ProgramStore.
...
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -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
c1d726c2d6
Seperate out Mutex and Signal code into reusable classes.
...
Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
2010-03-26 14:20:26 -07:00
Jason Sams
f468700b6d
checkpoint animations
...
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
2010-03-16 12:26:30 -07:00
Jason Sams
5bec3aa2c6
Fix fountain and put the demos back in the optional build.
2010-02-08 16:32:29 -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
Joe Onorato
6656c1be2b
add drawSpriteScreenspaceCropped to renderscript
2010-01-14 16:00:04 -05: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
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
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
Jason Sams
6b9dec00af
Remove depricated triangleMesh.
2009-09-23 18:07:45 -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
Marco Nelissen
3f8f9da85f
Fix the simulator build by removing librs_jni and libRS from it.
...
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
2009-08-12 09:41:07 -07:00
Joe Onorato
daed524c35
The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex
...
conform to that.
2009-08-10 15:01:51 -07:00
Joe Onorato
01e5fbd721
build libRS
2009-08-10 14:06:01 -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
Romain Guy
ecc7ca0372
Add swaying effect to the grass.
2009-08-04 14:41:41 -07:00
Jason Sams
8af858e9b6
Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.
2009-07-23 16:10:46 -07:00
Jason Sams
e29d471e5c
Move the java and jni renderscript files to the proper location.
2009-07-23 15:19:03 -07:00
Jason Sams
c97bb8844f
Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
2009-07-20 14:31:06 -07:00
Jason Sams
7aa4f3a163
More test app work
2009-07-14 13:59:23 -07:00