Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
aff856d053ba239114e7f16d3cdd240a6d973f2f
/
libs
/
rs
/
rsScriptC.cpp
156cce6
Improve RS error handling. On errors RS will now store the error and a 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.
by Jason Sams
· 15 years ago
e17964e
Add RS support for generic attribs as input to vertex programs.
by Jason Sams
· 15 years ago
718cd1f
Element restructuring. Add support for new basic Element types including 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.
by Jason Sams
· 15 years ago
0011bcf
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
by Jason Sams
· 15 years ago
b9d5c57
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
by Jason Sams
· 15 years ago
9d5e03d
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.
by Jason Sams
· 15 years ago
996db8d
Fix tls crash on startup if more than one RS contexts are created in one process.
by Jason Sams
· 15 years ago
5235cf3
Fix but processing raster state pragma. rename stateFragmentStore to stateStore
by Jason Sams
· 15 years ago
61f08d6
Improved object lifecycle tracking and fix leaks.
by Jason Sams
· 15 years ago
66b2771
Reduce debugging spew and add props to selectivly re-enable it.
by Jason Sams
· 15 years ago
a9e7a05
Improve renderscript context teardown. Track object in the system and then 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.
by Jason Sams
· 15 years ago
d3f2eaf
Minor cleanup of profile and compile logging.
by Jason Sams
· 15 years ago
e60446b
Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
by Jason Sams
· 15 years ago
be2e841
Implement renderscript Invokables.
by Jason Sams
· 15 years ago
ea84a7c
Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
by Jason Sams
· 15 years ago
2525a81
Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
by Jason Sams
· 15 years ago
07ae406
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
by Jason Sams
· 15 years ago
67c6844
Remove bogus comments and logging.
by Jason Sams
· 15 years ago
334ea0c
Update fountain and add writable flag to script slots.
by Jason Sams
· 15 years ago
fbf0b9e
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
by Jason Sams
· 15 years ago
43ee0685
Implement reflecting Java objects into the ACC enviroment.
by Jason Sams
· 15 years ago
d7b3774
Let java put #defines into renderscript
by Joe Onorato
· 15 years ago
3370ec9
add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillis
by Joe Onorato
· 15 years ago
2253417
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
by Jason Sams
· 15 years ago
584a375
First pass at implementing the Grass live wallpaper in RenderScript.
by Romain Guy
· 15 years ago
ee41112
Enable light sources and update film test app.
by Jason Sams
· 15 years ago
c97bb88
Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
by Jason Sams
· 15 years ago
e6c8e9b
Fix fountain and more rollo ui work.
by Jason Sams
· 15 years ago
c1ea948
More usability tweaks including turning the icons right side up.
by Jason Sams
· 15 years ago
764205c
Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled.
by Jason Sams
· 15 years ago
54440a0
Update rollo and renderscript to the new ACC compiler interface.
by Jason Sams
· 15 years ago
c75a257
Update rollo with new interactivity model.
by Jason Sams
· 15 years ago
4244afa
Add support for multitexture and fix allocation ref counting bug in RS. Add plaque to rollo and leave it disabled due to ugly appearance.
by Jason Sams
· 15 years ago
aabd009
Update rollo with icon images.
by Jason Sams
· 15 years ago
fdcc14e
Update rollo and support functions. Includes mockup of some new ui concepts.
by Jason Sams
· 15 years ago
f29ca50
Cleanup logging and fix a startup race condition that manifested on Firestone.
by Jason Sams
· 15 years ago
4b962e5
Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
by Jason Sams
· 15 years ago
af49c74
implement modeview matrix sliding from within scripts.
by Jason Sams
· 15 years ago
462d11b
checkpoint filmstrip, implemented TLS.
by Jason Sams
· 15 years ago
9c54bdb
Implement default programs and implement defaults and parents for imports.
by Jason Sams
· 15 years ago
b37c0a5
Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.
by Jason Sams
· 15 years ago
d5680f9
Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
by Jason Sams
· 15 years ago
3eaa338
Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
by Jason Sams
· 15 years ago
da423d8
checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC.
by Jason Sams
· 15 years ago
3a833d8
Fix build issue and ref count bug with scripts.
by Jason Sams
· 15 years ago
39ddc950
Move call to compiler from jni to core library code.
by Jason Sams
· 15 years ago
a09f11d
Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
by Jason Sams
· 15 years ago
ec5a20b
Delete the acc script when deleting the Renderscript rsScriptC object.
by Jack Palevich
· 15 years ago
fe08d99
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
by Jason Sams
· 15 years ago
55d4522
Fix Fountain test app so that it actually builds.
by Jack Palevich
· 15 years ago
d19f10d
Add the Renderscript library. (Not in the build by default yet.)
by Jason Sams
· 15 years ago