summaryrefslogtreecommitdiff
path: root/libs/rs/rsScript.cpp
AgeCommit message (Collapse)Author
2012-03-28Moving libRSAlex Sakhartchouk
Change-Id: I1e42204e862585b9c2f7818b615890c60f08faf6
2012-02-22Support running ForEach on non-root functions.Stephen Hines
BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-11-22Fix script init error handling.Jason Sams
Change-Id: I7ceb0af4dfd12db0274985ff658f678d7af829ff
2011-11-10Fix setTimeZone() and use it properly in RSTest/rstime.Stephen Hines
BUG=5470134 The original implementation for rsi_ScriptSetTimeZone() never actually did anything with the bytes received. This change allows it to safely update the timezone. RSTest is also updated to call setTimeZone(), so that users in different timezones can accurately get test results. Change-Id: I6cb1b3a0c3a417749ba39e0fe09cc9c7ab65c2e7
2011-08-31Call .rs.dtor() when tearing down Scripts.Stephen Hines
BUG=5186750 This allows us to properly reference count any globals (static or extern) that need to potentially be cleaned up. Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
2011-06-03More work to make libRS buildable on the host.Alex Sakhartchouk
Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
2011-04-27Start implementing control side forEach.Jason Sams
Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
2011-03-17Start seperating out RS compute implementation. Create halJason Sams
layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
2011-03-01Almost all warnings are now errors in RS build.Stephen Hines
Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
2011-01-27Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams
Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
2010-11-16Fix ref counting for globals when set from java code.Jason Sams
Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-10-21Fix refcounting bugs where the sys refcountJason Sams
could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
2010-10-11Fix support for 64-bit integers.Stephen Hines
Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
2010-10-10Cleanup error message for null binding address.Jason Sams
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
2010-10-08Removing fixed size arrays.Alex Sakhartchouk
Change-Id: I5c65b29a197013de2517cfb6dbe7abb9e24a688b
2010-09-20Add support for Float64 (double) to RenderScript.Stephen Hines
Change-Id: Iad1c4adadf657a46aa38a3fad7813927e643e29d
2010-05-19Begin naming cleanup for renderscript runtime.Jason Sams
Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-17Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-14Change RS to use the passed surface size rather than EGL size.Jason Sams
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
2010-05-11Convert renderscript from using ACC to LLVM for its compiler.Jason Sams
This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-03-03Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams
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.
2009-09-25Improved object lifecycle tracking and fix leaks.Jason Sams
2009-09-25Improve renderscript context teardown. Track object in the system and then ↵Jason Sams
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-24Fix invokables to make sure script pointers are setup before invoking ↵Jason Sams
function calls. Reduce app startup time up to 1s.
2009-09-16Implement renderscript Invokables.Jason Sams
2009-08-18Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams
function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-17Update fountain and add writable flag to script slots.Jason Sams
2009-08-13Implement named slots and convert script.addType to script.setType to remove ↵Jason Sams
ordering restrictions.
2009-08-04Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams
Element and Type to new cached builder for easier app developement.
2009-06-08Move placement of script enviroment data to base.Jason Sams
2009-05-22Add the Renderscript library. (Not in the build by default yet.)Jason Sams
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