summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More work to make libRS buildable on the host.Alex Sakhartchouk2011-06-031-21/+39
| | | | Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
* Move context and device creation out of the spec file.Jason Sams2011-05-181-16/+17
| | | | Change-Id: I79470d4fb9317bcad9d68921ce0c414aa133f3cb
* Preparing libRS for for compilation on host.Alex Sakhartchouk2011-05-171-8/+5
| | | | Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
* Merge "Moves fbo support in renderscript behind the hal"Alex Sakhartchouk2011-05-171-0/+2
|\
| * Moves fbo support in renderscript behind the halAlex Sakhartchouk2011-05-131-0/+2
| | | | | | | | Change-Id: I26a857586f5f0b47df4c1f4589d2023e70481ec7
* | Core to client fifo on sockets.Jason Sams2011-05-171-63/+14
|/ | | | Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
* rsLib cleanupAlex Sakhartchouk2011-05-061-58/+3
| | | | Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
* Fix error checks on compute context creation.Jason Sams2011-05-031-5/+6
| | | | | | Remove GL init for compute scripts. Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
* Merge "Moving renderscript GL code into the HAL This change affects - ↵Alex Sakhartchouk2011-05-021-9/+3
|\ | | | | | | shaders - meshes - fonts - quad rendering"
| * Moving renderscript GL code into the HALAlex Sakhartchouk2011-04-291-9/+3
| | | | | | | | | | | | | | | | | | | | This change affects - shaders - meshes - fonts - quad rendering Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
* | Merge "Pipe rsa function though the RS api table."Jason Sams2011-04-291-17/+12
|\ \
| * | Pipe rsa function though the RS api table.Jason Sams2011-04-281-17/+12
| |/ | | | | | | Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
* | Fix fifo size check code.Jason Sams2011-04-291-1/+1
|/ | | | Change-Id: If4a1874e34409e99c3fe63ff06e2b97e3369049d
* Cleanup rs.spec file and code generator.Jason Sams2011-04-261-3/+9
| | | | Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
* Modifying libRS internal communication to handle network rendering.Alex Sakhartchouk2011-04-251-3/+3
| | | | Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
* Move TLS behind hal.Jason Sams2011-04-211-112/+80
| | | | Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
* Migrate most GL from context to driver.Jason Sams2011-04-061-230/+13
| | | | Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
* Seperate ProgramRaster.Jason Sams2011-04-061-3/+3
| | | | | | Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
* First draft of fbo in renderscript.Alex Sakhartchouk2011-04-011-0/+1
| | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* Fix bug with hal init uninitialized var.Jason Sams2011-03-181-0/+2
| | | | Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603
* Migrate thread launch to driver.Jason Sams2011-03-171-86/+4
| | | | Change-Id: If182c524cceb327547640f22f956856d291d1787
* Start seperating out RS compute implementation. Create halJason Sams2011-03-171-0/+4
| | | | | | layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
* Fixing a small bug in debug outputAlex Sakhartchouk2011-03-171-0/+3
| | | | | | Default font wasn't reset for debug output but used the last font instead. Change-Id: I8fd713336febb8258d364845799ade42633907ab
* Fix for bug 3434228Alex Sakhartchouk2011-03-161-1/+4
| | | | Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
* Fix a race condition during Context init/teardown.Stephen Hines2011-03-081-6/+9
| | | | | | | | | | | This change makes Context initialization wait properly for all threads to be available before leaving initContext(). This prevents a case where ~Context() gets called before all created threads have started/finished their work. This was triggered/discovered by running some very short-lived tests in CTS. BUG=4064203 Change-Id: I1dd6f43fa7942c53881008e857df864e2395202e
* DO NOT MERGE: Almost all warnings are now errors in RS build.Stephen Hines2011-03-031-1/+1
| | | | Change-Id: Ie4952cdf5c75bf1b7a7899a32b3b1f8747686356
* fix bug 3477451Jason Sams2011-02-231-10/+14
| | | | | | Bogus asserts with pure compute scripts. Change-Id: If5928c563e06405f75a11606d9148d64fa10be07
* Correctly free resouces bound to scripts when the scripts are deleted.Jason Sams2011-01-271-1/+1
| | | | | Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
* Fix bug 3385881Jason Sams2011-01-251-0/+2
| | | | | | | | | Launch signals and threads are not always matched in index. Threads grab launch indexes as they start which may not be the order in which they were launched. Change-Id: I1ff42c3df5d7ebb46de6329ebd11ef67a5fc58ca
* Cleanup script init to fix bogus log printing andJason Sams2011-01-231-8/+17
| | | | | | reduce memory churn. Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
* Merge "Remove some old logging code." into honeycombJason Sams2011-01-191-2/+0
|\
| * Remove some old logging code.Jason Sams2011-01-191-2/+0
| | | | | | | | Change-Id: Ide5d91aadbc9f5b475da38762bc350ac237347d1
* | fix [3367893] Rotating device on YouTube's home screen several times kills ↵Mathias Agopian2011-01-191-1/+5
|/ | | | | | | | | | | | | | system_server A typo in RS tear down cause caused eglMakeCurrent to fail. Additionnaly, EGLSurfaces where not destroyed explicitely. Everything worked properly when only one RS context was used, as eglTerminate() would clean-up everything. however in the present case, there seem to be more than one RS context and eglTerminate() is not called. Change-Id: I37a10945b9c0a85c4f7abad1c4f4c24bc0daa0a5
* Re-implement img npot support in HC.Jason Sams2011-01-131-0/+1
| | | | Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
* WAR driver bug where surfaces of size 0 fail.Jason Sams2011-01-121-1/+3
| | | | Change-Id: I72b356c4cfb71f2342479ca21238b763d02e729d
* Split time functions into rs_time.rsh header.Stephen Hines2011-01-091-0/+1
| | | | Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
* Fix cleanup race condition where objects might may notJason Sams2011-01-091-0/+4
| | | | | | be cleaned up correctly. Change-Id: Ia48e06c3d050b6b39b39f8fdc9f0eb89b92fe1bf
* fix bug 3313505Jason Sams2011-01-051-0/+1
| | | | | | | Shader cache cleanup could occur in wrong thread during RS teardown. Change-Id: Iffed41de046147db30885e6815826e3b640020c1
* Fix teardown bug found in books.Jason Sams2010-12-241-16/+31
| | | | Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
* Fix a severe cleanup bug where teardown of the GLJason Sams2010-12-091-5/+4
| | | | | | driver could occur on the wrong thread. Change-Id: Icd56182ccbd1371124a247695bf3ebd3085df450
* More error checksJason Sams2010-11-221-23/+22
| | | | Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
* Fixing the state restore bug.Alex Sakhartchouk2010-11-181-0/+1
| | | | Change-Id: I30446a2d552b98fc69878bc7b4fc1a0fd358fc99
* Create holder inner class for pushing context state.Jason Sams2010-11-171-23/+29
| | | | | | | Fix bug with rsForEach corrupting parent context state. Remove workaround from rsBalls. Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
* Code cleanup to make formatting consistentAlex Sakhartchouk2010-11-101-138/+73
| | | | | | across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
* Handle user message ID 0Jason Sams2010-11-081-21/+44
| | | | | | | Pass RS runtime errors back to java. throw exceptions for runtime errors. Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
* RS Error cleanup.Jason Sams2010-11-031-17/+58
| | | | | | | Thow java exception during init if the GL driver fails rather than native crash. Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
* Balls test app.Jason Sams2010-10-291-1/+1
| | | | Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
* Adding nvidia extension for limited npot support.Alex Sakhartchouk2010-10-271-6/+8
| | | | | | Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
* Some cleanupAlex Sakhartchouk2010-10-181-1/+1
| | | | Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
* Async type creation.Jason Sams2010-10-141-2/+2
| | | | Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2