Jason Sams
5edc608a07
Implement allocation resizing.
...
Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
2010-10-05 13:32:49 -07:00
Alex Sakhartchouk
f5b3510c70
Adding anisotropic filtering and related samples.
...
Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
2010-09-30 11:36:37 -07:00
Jason Sams
d081fffab5
Cleanup GL setup code and remove legacy 1.1 paths.
...
Reset pointers to NULL when allocations are unbound.
Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
2010-09-16 18:18:29 -07:00
Jason Sams
49bdaf0293
SubElementData data upload functions.
...
Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
2010-08-31 15:31:11 -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
80a4c2cd34
Work on synchronizing a3d created files and java layer.
...
Adding culling to ProgramRaster
Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
2010-07-12 15:50:32 -07:00
Jason Sams
0ebd5690b8
Fix 32&24 ->16 bit bitmap uploads.
...
Change-Id: If8c52dd8ff34393c2908516e702a2d5daeb7bbb3
2010-06-22 17:45:34 -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
f468700b6d
checkpoint animations
...
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
2010-03-16 12:26:30 -07: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
e20e3b41db
Fix RS mipmap generation for 8 bit alpha textures.
2010-01-19 17:53:54 -08:00
Jason Sams
74e02ef200
Support npot on es 2.0 HW.
2010-01-06 15:10:29 -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
3b7d39bb51
Implement RS tracked defered texture and buffer object uploads.
2009-12-14 12:59:49 -08:00
Jason Sams
0a2e7a3963
am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.
...
Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'
* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
Force a crash under conditions where white square bug in all apps is likely to occur.
2009-11-24 12:57:57 -08:00
Jason Sams
9dab667e03
Force a crash under conditions where white square bug in all apps is likely to occur.
2009-11-24 12:26:35 -08:00
Jason Sams
79e2646504
am 9f96a37a: am 6a2500a3: am 39dbb099: Merge change I36176536 into eclair
...
Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0'
* commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0':
Fix ref counting bug that could cause memory leak in allApps.
2009-11-23 16:29:46 -08:00
Jason Sams
361765361a
Fix ref counting bug that could cause memory leak in allApps.
2009-11-23 15:28:55 -08:00
Jason Sams
644a0e320d
resolved conflicts for merge of f6309041 to master
2009-11-17 18:07:54 -08:00
Jason Sams
715333b832
Add support for dumping RS objects to aid in debugging of white blocks bug.
2009-11-17 17:26:46 -08:00
Jason Sams
237d247cc4
am 4909b554: am a8f2c2b4: am 902051df: Merge change I0e27b5ca into eclair
...
Merge commit '4909b554782c1970bce11fb421b0a06664a25718'
* commit '4909b554782c1970bce11fb421b0a06664a25718':
Fix texture upload bug for narrow texture of less than 32bpp.
2009-11-05 16:00:56 -08:00
Jason Sams
0e27b5cadb
Fix texture upload bug for narrow texture of less than 32bpp.
2009-11-05 12:44:58 -08:00
Jason Sams
74807763e0
am 03fa848a: am ebca5eec: am 83665194: Merge change I9d5e03db into eclair
...
Merge commit '03fa848afd16ee678e2d04ec824794893f199804'
* commit '03fa848afd16ee678e2d04ec824794893f199804':
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-03 15:26:09 -08:00
Jason Sams
9d5e03db99
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-03 11:25:42 -08:00
Jason Sams
43b5a56644
am 766df995: am d31b0e44: am 3bbb5e9a: Merge change Ib7a6c434 into eclair
...
Merge commit '766df995e30caa054cc25068e55f160c765590eb'
* commit '766df995e30caa054cc25068e55f160c765590eb':
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
2009-11-02 15:22:34 -08:00
Jason Sams
b7a6c4340a
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
2009-11-02 14:25:10 -08:00
Marco Nelissen
a6e385cf20
am 923f2cf0: am a89a059e: am 04104665: Merge change I911458a0 into eclair
...
Merge commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b'
* commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b':
Fix x offset for boxed textures
2009-10-29 14:47:10 -07:00
Marco Nelissen
911458a081
Fix x offset for boxed textures
2009-10-28 15:10:56 -07:00
Jason Sams
83f1c63c56
Fix dirty state tracking of allocation attached to ProgramVertex objects when being updated while not attached.
2009-10-26 15:20:43 -07: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
ea84a7c517
Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
2009-09-04 14:42:41 -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
40a29e8e28
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
2009-08-10 14:55:26 -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
faf1520be7
Filmstrip work and boxed bitmap load bugfixes.
2009-07-29 20:55:44 -07:00
Jason Sams
6f5c61c8df
Add new icons and implement text. Fix bug with uploading 8888 bitmaps of non-square size.
2009-07-28 17:20:11 -07:00
Jason Sams
b0ec1b46d6
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
2009-07-28 12:02:16 -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
e2ae85fc5a
Generalize bitmap support and add remaining GL formats.
...
Fix bug in command fifo looping case.
2009-06-03 16:04:54 -07:00