Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
rs
/
9700d0a33c36d2dba232f20f852094113f252d5d
/
rsContext.cpp
1c769c3
Introduce official public NativeWindow type.
by Dianne Hackborn
· 14 years ago
a2cf755
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
ef21edc
beging np2 extension check work.
by Jason Sams
· 15 years ago
fa40286
real fix for [2440014] launcher2 crashing in loop during boot
by Mathias Agopian
· 15 years ago
9b97c29
Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""
by Mathias Agopian
· 15 years ago
123d602
Revert "RenderScript should not depend on libsurfaceflinger_client.so"
by Jack Palevich
· 15 years ago
11503b2
RenderScript should not depend on libsurfaceflinger_client.so
by Mathias Agopian
· 15 years ago
d4c25e3
split libsurfaceflinger_client and libcamera_client out of libui
by Mathias Agopian
· 15 years ago
4820e8b
Preview seperating RenderScript into RenderScript and RenderScriptGL
by Jason Sams
· 15 years ago
433eca3
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
by Jason Sams
· 15 years ago
b4d3568
Add RS support for generic attribs as input to vertex programs.
by Jason Sams
· 15 years ago
d01d970
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
cd50653
Place shader logging behind prop to declutter logs.
by Jason Sams
· 15 years ago
4815c0d
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
5613b91
am b62954b6: am 8f31c230: am 57ce0888: Merge change Id22c0137 into eclair
by Jason Sams
· 15 years ago
2dca84d
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
by Jason Sams
· 15 years ago
f2a5d73
Beging GL2 user shaders. Switch master to using GL2 by default.
by Jason Sams
· 15 years ago
c460e55
Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly.
by Jason Sams
· 15 years ago
e6c6078
am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.
by Jason Sams
· 15 years ago
13e2634
Force a crash under conditions where white square bug in all apps is likely to occur.
by Jason Sams
· 15 years ago
3dd429c
resolved conflicts for merge of f6309041 to master
by Jason Sams
· 15 years ago
c21cf40
Add support for dumping RS objects to aid in debugging of white blocks bug.
by Jason Sams
· 15 years ago
94743c9
am 234e509a: am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair
by Jason Sams
· 15 years ago
1583244
Add setPriority to allow wallpapers to run at lower cpu priority than default.
by Jason Sams
· 15 years ago
ba12335
am 8dcb4233: am 4834887e: am 4dd6fee7: Merge change Ieb4b0318 into eclair
by Jason Sams
· 15 years ago
f90517f
am adf38939: am da8bb292: am 59175ac2: Merge change I81b1421a into eclair
by Jason Sams
· 15 years ago
e18844a
Make default vertex program correctly track surface size.
by Jason Sams
· 15 years ago
613cad1
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
by Jason Sams
· 15 years ago
c01af25
am eb7e27e8: am a1c3681f: am decc139b: Merge change I7a824efc into eclair
by Jason Sams
· 15 years ago
168eecf
am 03fa848a: am ebca5eec: am 83665194: Merge change I9d5e03db into eclair
by Jason Sams
· 15 years ago
458f2dc
Support applications changing the surface attached to the RS.
by Jason Sams
· 15 years ago
e402ed3
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
230c94a
am 766df995: am d31b0e44: am 3bbb5e9a: Merge change Ib7a6c434 into eclair
by Jason Sams
· 15 years ago
bf3c14e
Fix some leaks. This fixes the major malloc memory leak in allApps. Still tracking some much more minor issues.
by Jason Sams
· 15 years ago
0ef2746
am 3c249da7: am 21e799ed: am e9e50b57: Merge change I7136220b into eclair
by Jason Sams
· 15 years ago
33b6e3b
Fix egl cleanup code on context teardown.
by Jason Sams
· 15 years ago
5c3e3bc
Fix dirty state tracking of allocation attached to ProgramVertex objects when being updated while not attached.
by Jason Sams
· 15 years ago
c2f9490
Fix bug where dirty messages for allocations attached to programVertex objects could be lost.
by Jason Sams
· 15 years ago
fb03a22
Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
by Jason Sams
· 15 years ago
8cfdd24
Minor bug fixes and add glError check.
by Jason Sams
· 15 years ago
6d751ef
Add egl init start message to help debug driver init hangs.
by Jason Sams
· 15 years ago
9e4e13d
Fix tls crash on startup if more than one RS contexts are created in one process.
by Jason Sams
· 15 years ago
8c401ef
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
by Jason Sams
· 15 years ago
b681c8a
Fix but processing raster state pragma. rename stateFragmentStore to stateStore
by Jason Sams
· 15 years ago
f2649a9
Improved object lifecycle tracking and fix leaks.
by Jason Sams
· 15 years ago
1fddd90
Reduce debugging spew and add props to selectivly re-enable it.
by Jason Sams
· 15 years ago
e514b45
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
86f1b23
Implement pause/resume for the RS thread.
by Jason Sams
· 15 years ago
a891933
Minor cleanup of profile and compile logging.
by Jason Sams
· 15 years ago
ada7f27
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
76371ff
Make the renderscript timing logging available by setting debug.rs.profile=1
by Joe Onorato
· 15 years ago
5fd09d8
Add raster object to control point and line params. Add flag to force SW rendering.
by Jason Sams
· 15 years ago
8c9534b
Update viewport when height or width change.
by Jason Sams
· 15 years ago
a57c0a7
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
1d54f10
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
9397e30
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
by Jason Sams
· 15 years ago
306fb23
Remove bogus comments and logging.
by Jason Sams
· 15 years ago
8c0ee65
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
by Jason Sams
· 15 years ago
afcb25c
Add support for selecting the color bit depth and if the application used a depth buffer.
by Jason Sams
· 15 years ago
24371d9
Improved RS timing code to monitor where we spend CPU time.
by Jason Sams
· 15 years ago
5086938
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
by Jason Sams
· 15 years ago
707aaf3
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
by Jason Sams
· 15 years ago
fcd3192
Remove global IO context and integrate it into the RS context.
by Jason Sams
· 15 years ago
8b2c065
Implement reflecting Java objects into the ACC enviroment.
by Jason Sams
· 15 years ago
57b79ce
Let java put #defines into renderscript
by Joe Onorato
· 15 years ago
cfb1d11
Remove useless slot from ProgramVertex. Optimize GL state setup.
by Jason Sams
· 15 years ago
c9d43db
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
by Jason Sams
· 15 years ago
b80dfa7
More test app work
by Jason Sams
· 15 years ago
6eee87f
merge master in master_gl
by Mathias Agopian
· 15 years ago
992a0b7
Cleanup logging and fix a startup race condition that manifested on Firestone.
by Jason Sams
· 15 years ago
5ae678f
update renderscript to master_gl APIs
by Mathias Agopian
· 15 years ago
1aa5a4e
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
e576910
checkpoint filmstrip, implemented TLS.
by Jason Sams
· 15 years ago
732f1c0
Replace spins with proper pthread conditions.
by Jason Sams
· 15 years ago
8ce125b
Implement default programs and implement defaults and parents for imports.
by Jason Sams
· 15 years ago
56bc1af
Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.
by Jason Sams
· 15 years ago
a4a54e4
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
a0a1b6f
Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
by Jason Sams
· 15 years ago
1030893
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
928b734
Move placement of script enviroment data to base.
by Jason Sams
· 15 years ago
efb8de1
Fix build issue and ref count bug with scripts.
by Jason Sams
· 15 years ago
a44cb29
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
a658e90
Set the RS thread priority.
by Jason Sams
· 15 years ago
6678e9b
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
326e0dd
Add the Renderscript library. (Not in the build by default yet.)
by Jason Sams
· 15 years ago