summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add support for multitexture and fix allocation ref counting bug in RS. Add ↵Jason Sams2009-07-021-0/+1
| | | | plaque to rollo and leave it disabled due to ugly appearance.
* Cleanup logging and fix a startup race condition that manifested on Firestone.Jason Sams2009-06-231-5/+0
|
* Cleanup includes so Log.h can use the tag. rsUtils.h is the file that ↵Jason Sams2009-06-221-0/+3
| | | | should be included everywhere and contain rs global defines.
* Generalize bitmap support and add remaining GL formats.Jason Sams2009-06-031-21/+77
| | | | Fix bug in command fifo looping case.
* Implement first pass bitmap to allocation support. The Java bindings can ↵Jason Sams2009-05-271-1/+98
| | | | create a 2D allocation by passing in a Bitmap object.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+325
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