summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Some cleanupAlex Sakhartchouk2010-10-181-1/+1
| | | | Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
* Async type creation.Jason Sams2010-10-141-2/+2
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
* Begin hooking up SurfaceConfig.Jason Sams2010-10-131-84/+152
| | | | Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
* Adding average fps counter.Alex Sakhartchouk2010-10-051-5/+19
| | | | | | Removing rsLight from libRS Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
* Adding text metrics to renderscript.Alex Sakhartchouk2010-10-051-5/+5
| | | | Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
* fixing bugs 3053960, 3044804, 3044798Alex Sakhartchouk2010-10-011-0/+4
| | | | | | shader cleanup and removing unnecessary state setup. Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
* Add object validity checking.Jason Sams2010-09-301-5/+11
| | | | Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
* Fix clear() operation for rsScriptC.Stephen Hines2010-09-291-0/+1
| | | | | | | | | | | - 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
* More robust attribute bindingAlex Sakhartchouk2010-09-291-1/+8
| | | | | | | Adding attribute and uniform debug logging. Checking to see if aniso filtering is available. Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
* Fix safe for mp check in ScriptC.Jason Sams2010-09-281-5/+12
| | | | Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
* Adding support for all allowed textures.Alex Sakhartchouk2010-09-231-5/+0
| | | | | | | Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
* Cleanup GL setup code and remove legacy 1.1 paths.Jason Sams2010-09-161-16/+9
| | | | | | Reset pointers to NULL when allocations are unbound. Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
* Fix partial NP2 support and restrict mipmaps and clampJason Sams2010-09-141-7/+7
| | | | | | | modes on HW that does not support proper NP2 bug 2965170 Change-Id: If9a3ac45264861fc75b9616e98957e12a5464411
* Add matrix component types.Jason Sams2010-08-251-1/+1
| | | | | | Fix potental overflow in script -> java messages. Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
* Fix bug looping non-blocking fifos.Jason Sams2010-08-181-1/+1
| | | | Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
* Remove OOB object destruction.Jason Sams2010-08-171-60/+0
| | | | Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
* Fix behavior where the non-blocking sendToCliend would blockJason Sams2010-08-051-1/+1
| | | | | | when there was enough room for the message but not the message header. Change-Id: I600db04b91e76fa7966c7d8a98e5c56593e1806d
* Fixing fonts to use constant color instead of variable.Alex Sakhartchouk2010-08-051-26/+6
| | | | Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
* Adding more matrix math functions.Alex Sakhartchouk2010-08-051-8/+8
| | | | | | Fixing build. Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
* Added ability to set font color.Alex Sakhartchouk2010-08-041-1/+6
| | | | | | Propagating the name of meshes and allocations from native a3d to java Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
* Adding onscreen frame and script time for debugging.Alex Sakhartchouk2010-08-031-0/+44
| | | | Change-Id: I5780092d14d49dae556b9969b937c7768e705a64
* Cleanup sendToClient and add rsGetDt().Jason Sams2010-07-281-3/+7
| | | | | | Remove legacy implemtation of matrix calls which were moved to llvm bc. Change-Id: I527740590067db3bcb2147233ef41fb057f1d2a8
* Query the CPU count and use the result to determineJason Sams2010-07-261-2/+5
| | | | | | if and how many worker threads we use. Change-Id: I8fc1fb17aff835cfe8ed7c474287bccd532cbb29
* Update imageprocessing to remove generated files.Jason Sams2010-07-201-6/+7
| | | | | | Fix thread launch race condition. Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
* Threading RS ForEach.Jason Sams2010-07-191-2/+65
| | | | Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
* am 177c405a: am c6e1d880: Merge "Introduce official public NativeWindow ↵Dianne Hackborn2010-06-301-2/+2
|\ | | | | | | | | | | | | | | | | type." into gingerbread Merge commit '177c405a242e811b1010bd8382b5807ab8df31a8' * commit '177c405a242e811b1010bd8382b5807ab8df31a8': Introduce official public NativeWindow type.
| * Introduce official public NativeWindow type.Dianne Hackborn2010-06-301-2/+2
| | | | | | | | | | | | | | Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
* | Adding freetype font rendering to renderscript.Alex Sakhartchouk2010-06-241-0/+23
| | | | | | | | Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
* | Remove InvokeData and add ContextFinish to generate a sync point.Jason Sams2010-06-151-0/+3
| | | | | | | | Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
* | Rough implemetation of ForEach.Jason Sams2010-05-281-3/+3
| | | | | | | | | | | | Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
* | Begin naming cleanup for renderscript runtime.Jason Sams2010-05-191-25/+1
| | | | | | | | | | | | Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
* | Change RS to use the passed surface size rather than EGL size.Jason Sams2010-05-141-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Rename ProgramFragmentStore to ProgramStore.Jason Sams2010-05-131-4/+4
| | | | | | | | Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
* | Convert renderscript from using ACC to LLVM for its compiler.Jason Sams2010-05-111-23/+0
| | | | | | | | | | | | | | This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
* | Seperate out Mutex and Signal code into reusable classes.Jason Sams2010-03-261-19/+7
|/ | | | Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
* Improve RS error handling. On errors RS will now store the error and a ↵Jason Sams2010-03-031-2/+40
| | | | 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.
* beging np2 extension check work.Jason Sams2010-02-221-0/+2
|
* real fix for [2440014] launcher2 crashing in loop during bootMathias Agopian2010-02-121-2/+2
| | | | Surface* cannot be casted to void* and then to android_native_window_t*
* Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""Mathias Agopian2010-02-121-3/+3
| | | | This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
* Revert "RenderScript should not depend on libsurfaceflinger_client.so"Jack Palevich2010-02-121-3/+3
| | | | This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
* RenderScript should not depend on libsurfaceflinger_client.soMathias Agopian2010-02-111-3/+3
|
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-0/+1
|
* Preview seperating RenderScript into RenderScript and RenderScriptGLJason Sams2010-02-091-26/+50
|
* More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-2/+2
| | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-041-30/+0
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-9/+8
| | | | | | 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.
* Place shader logging behind prop to declutter logs.Jason Sams2009-12-151-1/+2
|
* Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-151-0/+16
| | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* am b62954b6: am 8f31c230: am 57ce0888: Merge change Id22c0137 into eclairJason Sams2009-12-101-26/+34
|\ | | | | | | | | | | | | Merge commit 'b62954b66542e3e2654d97a81123c51805bceca7' * commit 'b62954b66542e3e2654d97a81123c51805bceca7': Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
| * Throttle low priority RS threads by sleeping once per frame to avoid ↵Jason Sams2009-12-091-26/+34
| | | | | | | | starving other apps.