summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.h
Commit message (Collapse)AuthorAgeFilesLines
* Moving libRSAlex Sakhartchouk2012-03-281-162/+0
| | | | Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
* Implement USAGE_IO_INPUTJason Sams2012-03-231-0/+4
| | | | Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
* Beging IO stream out from allocation to surface texture.Jason Sams2012-02-151-0/+6
| | | | Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
* resolved conflicts for merge of cb66aec0 to graphics-devJason Sams2012-02-101-2/+1
|\ | | | | | | Change-Id: Ic8817f702b6993f046c89f2fc598c9fe3bf30fe8
| * Start implementing SurfaceTexture streaming into RS allocations.Jason Sams2012-02-101-0/+3
| | | | | | | | | | | | | | | | Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b Conflicts: libs/rs/rsAllocation.h
* | am 855eadf9: Merge "Fix potential bug with reordered size/offset arguments."Stephen Hines2012-01-301-7/+7
|\ \ | |/ | | | | | | * commit '855eadf942c8ff5c2665d7dc3b6d4b5ba630419a': Fix potential bug with reordered size/offset arguments.
| * Fix potential bug with reordered size/offset arguments.Stephen Hines2012-01-201-7/+7
| | | | | | | | | | | | This change also cleans up a few uint32_t/size_t issues. Change-Id: Iae0fc085c12149129b91fce0ebbc28c8cf358eaf
* | Start implementing SurfaceTexture streaming into RS allocations.Jason Sams2012-01-131-0/+2
| | | | | | | | Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
* | Private API to support MFF transition.Jason Sams2011-11-231-2/+5
|/ | | | Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
* Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-0/+5
| | | | | | | | | | | | | | | | BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
* Remove ObjBaseRef from the hal structAlex Sakhartchouk2011-10-181-2/+7
| | | | Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
* Fix issue with freeing allocation with circular references.Jason Sams2011-08-181-0/+2
| | | | Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
* Migrate perf-critical functions away from librs.Stephen Hines2011-08-081-1/+9
| | | | | | BUG=3497315 Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-9/+0
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Start splitting allocation into hal and core.Jason Sams2011-05-261-64/+11
| | | | Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
* First draft of fbo in renderscript.Alex Sakhartchouk2011-04-011-3/+13
| | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* Start seperating out RS compute implementation. Create halJason Sams2011-03-171-12/+31
| | | | | | layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
* Implement sub updates for mipmap levels and cubmaps.Jason Sams2011-01-131-4/+3
| | | | Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
* Implement more of copy2DRange*Jason Sams2011-01-121-0/+2
| | | | Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
* Move adapter2D to a derived class from Allocation.Jason Sams2010-12-291-6/+5
| | | | Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
* Cleanup and refactoring of an earlier cl.Alex Sakhartchouk2010-12-151-1/+2
| | | | Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
* Add support for non-malloc backed textures.Jason Sams2010-12-131-5/+13
| | | | Change-Id: Iee8e987591caa17b4c8186f8173089925140a568
* More API updates.Jason Sams2010-12-131-5/+7
| | | | Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
* Allocation API update.Jason Sams2010-12-081-2/+6
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* Support for cubemaps.Alex Sakhartchouk2010-11-181-1/+4
| | | | Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-2/+1
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Async type creation.Jason Sams2010-10-141-2/+0
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Implement allocation resizing.Jason Sams2010-10-051-2/+6
| | | | Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-0/+1
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* Adding ability to dirty the allocation and notify shaders using it.Alex Sakhartchouk2010-09-021-1/+1
| | | | Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
* SubElementData data upload functions.Jason Sams2010-08-311-4/+9
| | | | Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
* Refcounting in allocations.Jason Sams2010-08-091-0/+3
| | | | Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
* Add support for non-VBO drawing in Meshes.Jason Sams2010-06-251-0/+3
| | | | Change-Id: Ic4dd88cbe591091ebe740babe30213c15ad60cb3
* Creating the jni and java layer to integrate a3dAlex Sakhartchouk2010-06-041-1/+1
| | | | Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
* Removed unnecessary change based on comments.Alex Sakhartchouk2010-05-211-0/+3
| | | | | | | | | | | | | | | | | 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
* Add support for linking to a skia bitmap rather than always copying the data ↵Jason Sams2010-03-011-1/+11
| | | | from the bitmap.
* Support defered generation of mipmaps. With this change we support mipmap ↵Jason Sams2010-02-231-1/+2
| | | | generation when the texture is uploaded to GL without requiring RS to retain the full chain.
* Implement RS tracked defered texture and buffer object uploads.Jason Sams2009-12-141-2/+9
|
* am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where ↵Jason Sams2009-11-241-1/+1
|\ | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | to occur.
* | resolved conflicts for merge of f6309041 to masterJason Sams2009-11-171-0/+2
|\ \ | |/
| * Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams2009-11-171-0/+2
| |
* | Fix dirty state tracking of allocation attached to ProgramVertex objects ↵Jason Sams2009-10-261-1/+7
|/ | | | when being updated while not attached.
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-1/+1
| | | | 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.
* Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams2009-08-271-4/+4
| | | | which replaces TriangleMesh. Update Film to use new builder.
* Implement basic allocation readback. Add Get height, width to ScriptC_Lib.Jason Sams2009-08-101-0/+2
|
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-3/+6
| | | | object destruction tracking.
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+96
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