Jason Sams
bf6ef8d78f
API review cleanup.
...
Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
2010-12-06 17:46:20 -08:00
Alex Sakhartchouk
67f2e442a3
Support for cubemaps.
...
Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
2010-11-18 15:27:28 -08:00
Jason Sams
06d69de788
Continue error check improvements and write some docs.
...
Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
2010-11-09 17:11:40 -08:00
Alex Sakhartchouk
d2091639be
changing vec4 to vec2 for perf reasons.
...
Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
2010-10-06 11:15:01 -07:00
Alex Sakhartchouk
b89aaacb2c
Adding support for all allowed textures.
...
Cleaning up unused code
Adding error messages
Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
2010-09-23 16:16:33 -07:00
Alex Sakhartchouk
c984dd73c6
Shader changes to allow for more flexible constant binding.
...
Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
2010-09-14 09:50:43 -07:00
Jason Sams
442a647424
Support constant and varying colors in ProgramFragment.
...
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
2010-08-05 10:00:21 -07:00
Jim Shuma
288c8711a6
Making Program*.Builder classes' setters return 'this'
...
This is for better correspondence with the Builder pattern.
See also: Effective Java, 2nd edition.
Change-Id: Iecccd42be49dea2ed8e4b8cc38ce96379cf3c11c
2010-07-15 13:42:02 -07: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
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
c7b74e3412
am 54f5ca41: am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclair
...
Merge commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c'
* commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c':
Add Java exceptions to catch RS calls with no context or no surface.
2009-12-07 18:35:48 -08:00
Jason Sams
771bebb940
Add Java exceptions to catch RS calls with no context or no surface.
2009-12-07 12:40:12 -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
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
110195fe9f
Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc into the ProgramVertex class.
2009-08-04 19:00:00 -07:00
Jason Sams
0835d42be9
Seperate Light and Sampler from RenderScript.java
2009-08-04 17:58:23 -07:00
Jason Sams
22534176fb
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
2009-08-04 17:05:43 -07:00