summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScript.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix ref counting for globals when set from java code.Jason Sams2010-11-161-0/+22
| | | | Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-32/+17
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Fix refcounting bugs where the sys refcountJason Sams2010-10-211-2/+0
| | | | | | | | | | could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
* Fix support for 64-bit integers.Stephen Hines2010-10-111-0/+6
| | | | Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
* Cleanup error message for null binding address.Jason Sams2010-10-101-1/+3
| | | | | | | | | | | Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
* Removing fixed size arrays.Alex Sakhartchouk2010-10-081-10/+28
| | | | Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
* Add support for Float64 (double) to RenderScript.Stephen Hines2010-09-201-0/+6
| | | | Change-Id: Iad1c4adadf657a46aa38a3fad7813927e643e29d
* Begin naming cleanup for renderscript runtime.Jason Sams2010-05-191-85/+3
| | | | | | Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
* Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams2010-05-171-11/+0
| | | | Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
* Change RS to use the passed surface size rather than EGL size.Jason Sams2010-05-141-1/+1
| | | | | | | | | | | | Its possible that during a resize the EGL information could be stale so caching this is bad. The surface size should always be correct. Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685 Conflicts: libs/rs/rsProgramStore.cpp libs/rs/rsProgramStore.h
* Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-13/+103
| | | | | | | This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
* Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-031-0/+4
| | | | message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
* 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-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.
* Fix invokables to make sure script pointers are setup before invoking ↵Jason Sams2009-09-241-0/+1
| | | | function calls. Reduce app startup time up to 1s.
* Implement renderscript Invokables.Jason Sams2009-09-161-1/+16
|
* Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams2009-08-181-6/+0
| | | | function. This was a legacy of the distant past when the classes did not have a common base.
* Update fountain and add writable flag to script slots.Jason Sams2009-08-171-1/+2
|
* Implement named slots and convert script.addType to script.setType to remove ↵Jason Sams2009-08-131-0/+19
| | | | ordering restrictions.
* Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams2009-08-041-0/+26
| | | | Element and Type to new cached builder for easier app developement.
* Move placement of script enviroment data to base.Jason Sams2009-06-081-5/+6
|
* Add the Renderscript library. (Not in the build by default yet.)Jason Sams2009-05-221-0/+54
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