Jason Sams
2978bfc6ad
beging np2 extension check work.
2010-02-22 15:37:51 -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
a09a6e145b
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
2010-01-06 12:01:51 -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
5dad8b4d1f
Place shader logging behind prop to declutter logs.
2009-12-15 19:10:11 -08:00
Jason Sams
7e5ab3b177
Continue es2 shader dev
...
Conflicts:
graphics/java/android/renderscript/Program.java
graphics/java/android/renderscript/ProgramVertex.java
2009-12-15 13:27:04 -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
3b7d39bb51
Implement RS tracked defered texture and buffer object uploads.
2009-12-14 12:59:49 -08:00
Jason Sams
54c0ec14e0
Beging GL2 user shaders. Switch master to using GL2 by default.
2009-11-30 15:34:03 -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
61f08d6fa7
Improved object lifecycle tracking and fix leaks.
2009-09-25 16:37:33 -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
Romain Guy
2d496bfebc
Fix point sprites.
...
Change-Id: Ic9438daaf25f3969a0dd5b634b7cceccbbbfb27b
2009-09-04 17:55:53 -07:00
Jason Sams
07ae406237
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
2009-08-27 20:23:34 -07:00
Jason Sams
b13ada5071
Add support for selecting the color bit depth and if the application used a depth buffer.
2009-08-25 11:44:30 -07:00
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Jason Sams
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -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
9bee51c42e
Remove useless slot from ProgramVertex. Optimize GL state setup.
2009-08-05 13:57:03 -07:00
Jason Sams
4244afa87e
Add support for multitexture and fix allocation ref counting bug in RS. Add plaque to rollo and leave it disabled due to ugly appearance.
2009-07-02 15:09:27 -07:00
Jason Sams
f29ca50d80
Cleanup logging and fix a startup race condition that manifested on Firestone.
2009-06-23 12:22:47 -07:00
Jason Sams
4b962e57a9
Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
2009-06-22 17:15:15 -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
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
02fb2cb531
Add sampler support
2009-05-28 16:16:46 -07:00
Jason Sams
fe08d99725
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
2009-05-27 14:45:32 -07:00
Jason Sams
d19f10d43a
Add the Renderscript library. (Not in the build by default yet.)
...
This library can be used to create animated 3D User Interfaces.
This library is currently under heavy development, so it's not part of
the build by default.
In order to build this library, you must define
BUILD_RENDERSCRIPT=true
in your build environment.
You will also have to manually edit
build/core/prelink-linux-arm.map
And add libRS and libRS_jni at the end like this (exact address may change.)
libRS.so 0x9A100000
libRS_jni.so 0x9A000000
2009-05-22 17:11:00 -07:00