Alex Sakhartchouk
26ae3904e8
Update allocation from bitmap.
...
GL attribute cleanup in type.
Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
2010-10-11 14:04:09 -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
70d4e50242
Add arrays to elements.
...
Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
2010-09-07 12:06:05 -07:00
Jason Sams
ee73498ddf
Fix field packer bug for U32 data.
...
Fix initial refcounts in allocations.
Support null references in allocations.
Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
2010-08-12 12:47:04 -07:00
Alex Sakhartchouk
2ce0e3ff30
Adding allocation reference counting to the a3d models.
...
Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
2010-08-11 10:30:44 -07:00
Jason Sams
b28ca96fd6
Refcounting in allocations.
...
Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
2010-08-09 18:13:33 -07:00
Alex Sakhartchouk
dfac814c18
Populate java objects with native data from a3d file.
...
Remove legacy constructor from programraster
Make a3d object creation synchronous
Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
2010-07-15 14:02:54 -07:00
Jason Sams
f110d4b787
Move ImageProcessing and ModelViewer to reflected files.
...
Implement boolean support.
Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
2010-06-21 17:42:41 -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
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
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
e17964e150
Add RS support for generic attribs as input to vertex programs.
2010-01-04 16:52:27 -08:00
Jason Sams
7d46f612a2
Disable excessive RS logging.
2009-12-23 14:56:19 -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
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
3c0dfbab80
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
2009-09-27 17:50:38 -07: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
Jason Sams
b6f2b131c4
Removed last bits of predefined element types from native code. Predefined types are now constructed at the java layer from standard building blocks.
2009-09-24 12:33:45 -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
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
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -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
f29ca50d80
Cleanup logging and fix a startup race condition that manifested on Firestone.
2009-06-23 12:22:47 -07:00
Jason Sams
e2ae85fc5a
Generalize bitmap support and add remaining GL formats.
...
Fix bug in command fifo looping case.
2009-06-03 16:04:54 -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