summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-3/+1
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Some cleanupAlex Sakhartchouk2010-10-181-28/+0
| | | | Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
* Async type creation.Jason Sams2010-10-141-7/+3
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Update allocation from bitmap.Alex Sakhartchouk2010-10-111-3/+40
| | | | | | GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
* Implement allocation resizing.Jason Sams2010-10-051-2/+47
| | | | Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
* Adding anisotropic filtering and related samples.Alex Sakhartchouk2010-09-301-1/+0
| | | | Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-4/+1
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* SubElementData data upload functions.Jason Sams2010-08-311-17/+114
| | | | Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
* Fix field packer bug for U32 data.Jason Sams2010-08-121-0/+3
| | | | | | | Fix initial refcounts in allocations. Support null references in allocations. Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
* Adding allocation reference counting to the a3d models.Alex Sakhartchouk2010-08-111-1/+2
| | | | Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
* Refcounting in allocations.Jason Sams2010-08-091-0/+42
| | | | Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
* Work on synchronizing a3d created files and java layer.Alex Sakhartchouk2010-07-121-0/+8
| | | | | | Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
* Fix 32&24 ->16 bit bitmap uploads.Jason Sams2010-06-221-2/+6
| | | | Change-Id: If8c52dd8ff34393c2908516e702a2d5daeb7bbb3
* Creating the jni and java layer to integrate a3dAlex Sakhartchouk2010-06-041-2/+2
| | | | Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-2/+67
| | | | | | | | | | | | | | | | | 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
* checkpoint animationsJason Sams2010-03-161-0/+2
| | | | Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
* Add support for linking to a skia bitmap rather than always copying the data ↵Jason Sams2010-03-011-5/+39
| | | | from the bitmap.
* Support defered generation of mipmaps. With this change we support mipmap ↵Jason Sams2010-02-231-3/+9
| | | | generation when the texture is uploaded to GL without requiring RS to retain the full chain.
* Fix RS mipmap generation for 8 bit alpha textures.Jason Sams2010-01-191-0/+22
|
* Support npot on es 2.0 HW.Jason Sams2010-01-061-2/+3
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-6/+6
| | | | | | 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.
* Implement RS tracked defered texture and buffer object uploads.Jason Sams2009-12-141-9/+57
|
* am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where ↵Jason Sams2009-11-241-2/+11
|\ | | | | | | | | | | | | | | | | 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.
| * Force a crash under conditions where white square bug in all apps is likely ↵Jason Sams2009-11-241-2/+11
| | | | | | | | to occur.
* | am 9f96a37a: am 6a2500a3: am 39dbb099: Merge change I36176536 into eclairJason Sams2009-11-231-2/+1
|\ \ | |/ | | | | | | | | | | Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0' * commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0': Fix ref counting bug that could cause memory leak in allApps.
| * Fix ref counting bug that could cause memory leak in allApps.Jason Sams2009-11-231-2/+1
| |
* | resolved conflicts for merge of f6309041 to masterJason Sams2009-11-171-0/+18
|\ \ | |/
| * Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams2009-11-171-0/+18
| |
* | am 4909b554: am a8f2c2b4: am 902051df: Merge change I0e27b5ca into eclairJason Sams2009-11-051-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '4909b554782c1970bce11fb421b0a06664a25718' * commit '4909b554782c1970bce11fb421b0a06664a25718': Fix texture upload bug for narrow texture of less than 32bpp.
| * Fix texture upload bug for narrow texture of less than 32bpp.Jason Sams2009-11-051-0/+1
| |
* | am 03fa848a: am ebca5eec: am 83665194: Merge change I9d5e03db into eclairJason Sams2009-11-031-0/+11
|\ \ | |/ | | | | | | | | | | 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.
| * Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams2009-11-031-0/+11
| | | | | | | | Move freeing of objects to before context teardown to allow allocations to clean up their data.
* | am 766df995: am d31b0e44: am 3bbb5e9a: Merge change Ib7a6c434 into eclairJason Sams2009-11-021-0/+2
|\ \ | |/ | | | | | | | | | | Merge commit '766df995e30caa054cc25068e55f160c765590eb' * commit '766df995e30caa054cc25068e55f160c765590eb': Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
| * Fix some leaks. This fixes the major malloc memory leak in allApps. Still ↵Jason Sams2009-11-021-0/+2
| | | | | | | | tracking some much more minor issues.
* | am 923f2cf0: am a89a059e: am 04104665: Merge change I911458a0 into eclairMarco Nelissen2009-10-291-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b' * commit '923f2cf0dc15ac2bafa8013b31a722b85a64176b': Fix x offset for boxed textures
| * Fix x offset for boxed texturesMarco Nelissen2009-10-281-1/+1
| |
* | Fix dirty state tracking of allocation attached to ProgramVertex objects ↵Jason Sams2009-10-261-7/+24
|/ | | | when being updated while not attached.
* Improve logging code to dump more detaild rs object info. Fix bug with ↵Jason Sams2009-09-271-0/+1
| | | | predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
* Improved object lifecycle tracking and fix leaks.Jason Sams2009-09-251-0/+2
|
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-6/+6
| | | | 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.
* Removed last bits of predefined element types from native code. Predefined ↵Jason Sams2009-09-241-116/+0
| | | | types are now constructed at the java layer from standard building blocks.
* Remove "predefined" elements from Java layer. Static elements continue to ↵Jason Sams2009-09-041-27/+38
| | | | exist but are no longer treated as a special version of element.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-15/+32
| | | | which replaces TriangleMesh. Update Film to use new builder.
* Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams2009-08-181-4/+0
| | | | function. This was a legacy of the distant past when the classes did not have a common base.
* Implement basic allocation readback. Add Get height, width to ScriptC_Lib.Jason Sams2009-08-101-0/+11
|
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-1/+2
| | | | object destruction tracking.
* Remove useless slot from ProgramVertex. Optimize GL state setup.Jason Sams2009-08-051-1/+3
|
* Filmstrip work and boxed bitmap load bugfixes.Jason Sams2009-07-291-2/+2
|
* Add new icons and implement text. Fix bug with uploading 8888 bitmaps of ↵Jason Sams2009-07-281-11/+19
| | | | non-square size.
* Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the ↵Jason Sams2009-07-281-2/+42
| | | | smallest larger pow texture. The added space is filled black.