summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
AgeCommit message (Collapse)Author
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-14Async type creation.Jason Sams
Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
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-29Fix clear() operation for rsScriptC.Stephen Hines
- This removes a memory leak where some elements were not getting tracked properly (and then triggering an assert when a context is destroyed). - Convert ScriptCState to use a tracked object reference for mScript. - Add a missing clear to FontState. - Clean up synchronization in RSTest so that our graphics context outlives any subtest context. Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
2010-09-28Fix safe for mp check in ScriptC.Jason Sams
Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
2010-09-26Adding timer to display renderscript jit duration.Alex Sakhartchouk
Change-Id: I8ab1dea60a833cd11771cf145cadbc96ac52b934
2010-09-22Better debugging for scripts.Jason Sams
Change-Id: I916cea86dcfdb43a9465708ea4a16f19cbe42370
2010-09-16Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams
Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
2010-09-07Fix header path.Anatol Pomazau
Now libbcc is located under framework/compile Change-Id: I39cd0d27da73ce31e8cb92772bfda3a942ccd27c
2010-08-12Thread launch strategies.Jason Sams
Change-Id: I506df786e815205a8e51906c2b517302c1ef2471
2010-07-20Use bccGetExportVars to get mFieldCount, instead of hardwiring "100" in calloc.Shih-wei Liao
Change-Id: I6023b93865f785779b966acf03bf120078ac3c74
2010-07-20Update imageprocessing to remove generated files.Jason Sams
Fix thread launch race condition. Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
2010-07-19Threading RS ForEach.Jason Sams
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
2010-07-151st cut of ForEach and test.Jason Sams
Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
2010-06-15Remove InvokeData and add ContextFinish to generate a sync point.Jason Sams
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-08Begin using reflected files.Jason Sams
Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
2010-05-28Rough implemetation of ForEach.Jason Sams
Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
2010-05-19Begin naming cleanup for renderscript runtime.Jason Sams
Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-18Split ScriptC Lib into CL, GL, and basic.Jason Sams
Change-Id: Iadab35f2a967a1afd7a2fd13216d0a7acf4b6a50
2010-05-17Remove excess logging.Jason Sams
Change-Id: Ib4af6428c5fd87c3891f41eca6ca43d84f0edc97
2010-05-17Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.Jason Sams
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-14Delete legacy setDefine API.Jason Sams
Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
2010-05-13Rename ProgramFragmentStore to ProgramStore.Jason Sams
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
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.
2010-01-04Add RS support for generic attribs as input to vertex programs.Jason Sams
2009-12-23Element restructuring. Add support for new basic Element types including ↵Jason Sams
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.
2009-12-15Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams
change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
2009-12-09Throttle low priority RS threads by sleeping once per frame to avoid ↵Jason Sams
starving other apps.
2009-11-03Fix RS bugs. We were holding a pointer to the script text from the java vm. ↵Jason Sams
Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-10-06Fix tls crash on startup if more than one RS contexts are created in one ↵Jason Sams
process.
2009-09-28Fix but processing raster state pragma.Jason Sams
rename stateFragmentStore to stateStore
2009-09-25Improved object lifecycle tracking and fix leaks.Jason Sams
2009-09-25Reduce debugging spew and add props to selectivly re-enable it.Jason Sams
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
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-24Minor cleanup of profile and compile logging.Jason Sams
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-09-04Remove "predefined" elements from Java layer. Static elements continue to ↵Jason Sams
exist but are no longer treated as a special version of element.
2009-09-03Improve structure support using symbol lookup of named structures in scripts ↵Jason Sams
to allow them to appear as just pointers to structs.
2009-08-27Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams
which replaces TriangleMesh. Update Film to use new builder.
2009-08-25Remove bogus comments and logging.Jason Sams
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-12Implement reflecting Java objects into the ACC enviroment.Jason Sams
2009-08-09Let java put #defines into renderscriptJoe Onorato
2009-08-09add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillisJoe Onorato
2009-08-04Split ProgramFragment and ProgramStore from RenderScript.java. Update ↵Jason Sams
Element and Type to new cached builder for easier app developement.
2009-07-30First pass at implementing the Grass live wallpaper in RenderScript.Romain Guy
This change also adds second(), minute() and hour() to the RS library.