summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread
Commit message (Collapse)AuthorAgeFilesLines
* Mark isInUse per-windowJohn Reck2015-07-212-8/+9
| | | | | Bug: 22509159 Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
* Don't crash on makeCurrent failJohn Reck2015-07-163-5/+15
| | | | | | | | | Bug: 22444755 WindowManager may decide to yank the surface at any point, so attempt to kinda handle this Change-Id: Id2f665d2f0f93bccd4ec977fbf52dca4dc1ec891
* Adjust for pipeline stallsJohn Reck2015-07-064-4/+7
| | | | | | | | | | | Bug: 20853441 Calculating duration that crosses the UI-RT sync point will now subtract out the time spent waiting in queue under the assumption that this time will be accounted for in the previous frame's metrics Change-Id: Ia8213f4410638840613f5ae439e98dfb77532a6a
* Delete MAKE_ENUM_FLAGSChris Craik2015-06-032-9/+9
| | | | | | | | bug:21595702 Settle on namespace-enum for consistency. Also removes k prefix. Change-Id: Ib89f94cb9263de40b6e4636577dca4860867d0d8
* Fix warningJohn Reck2015-06-031-1/+1
| | | | | Bug: 21608208 Change-Id: I1d1cf1fbc8c0a4561bf76e307c56be580fb4baef
* Merge "Handle shader matrix correctly when ignoring canvas transform" into ↵Chris Craik2015-06-031-6/+7
|\ | | | | | | mnc-dev
| * Handle shader matrix correctly when ignoring canvas transformChris Craik2015-06-021-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | bug:20063841 Restores old SkShader matrix behavior from before the Glop refactor. Many drawing operations draw without sending the canvas transform to the GL shader. In such cases, we need to adapt the matrix sent to the SkShader logic to invert the canvas transform that's built into the mesh. Change-Id: I42b6f59df36ce46436322b95bf9ad2140795ee58
* | Merge "More colors, now with material colors" into mnc-devJohn Reck2015-06-021-1/+9
|\ \
| * | More colors, now with material colorsJohn Reck2015-06-021-1/+9
| |/ | | | | | | | | Bug: 18052916 Change-Id: I66c2573d796338ee7b7d0ddf240b90cc78a71ce5
* | FrameInfo header fixesJohn Reck2015-06-021-1/+5
|/ | | | | | | | | Bug: 21560187 Log column names as part of output in case of other such issues Change-Id: I16157ed968307e761d416ca54bd7af5453fe67bf
* Enable swapBuffersWithDamage by defaultJohn Reck2015-05-271-6/+1
| | | | | | Bug: 20761426 Change-Id: I520e60ca4f182dea590bc86eebd522e1db7a018a
* Eliminate requireGlContextJohn Reck2015-05-204-54/+11
| | | | | | Bug: 20297820 Change-Id: I37c63bab6f6c0d2337c8c6002046d2ef17e74097
* Adjust light source for window positionAlan Viverette2015-05-144-10/+27
| | | | | Bug: 16523629 Change-Id: I2f3fed1edcac0a3cfd5034aded45e08ececfebaf
* Unify DrawProfiler/JankStatsJohn Reck2015-05-123-13/+7
| | | | | | Bug: 20822400 Change-Id: I24345c3120440bfce14e8cbe7e880b39f10b744a
* Merge "Fix kSkippedFrame setting" into mnc-devJohn Reck2015-05-081-2/+5
|\
| * Fix kSkippedFrame settingJohn Reck2015-05-081-2/+5
| | | | | | | | | | | | | | | | It was only set previously if RenderThread dropped the frame, but not if the UI thread frame was dropped. Unify the two paths Change-Id: If2574edde3cb0949deed4e47f3daaddb890a1b28
* | Add eglSwapBuffersWithDamageKHR supportJohn Reck2015-05-084-32/+52
|/ | | | | | | BUG: 20761426 Disabled temporarily Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
* Fix clang warnings on unused variable, mismatched tag, print format.Chih-Hung Hsieh2015-05-071-1/+0
| | | | | BUG: 20890093 Change-Id: I91588f481d80b69823bc9d104b8bd09167ee5373
* Merge "Cleanup properties" into mnc-devChris Craik2015-05-053-5/+20
|\
| * Cleanup propertiesChris Craik2015-05-053-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9
* | Dump profile info after running testJohn Reck2015-05-052-1/+17
|/ | | | | | | | | | Bug: 20824843 Not really a proper "benchmark mode" but it turns out we already have reasonably good profile data, so tweak the test app to spit it out after a run. Change-Id: Iaee9c0d61b5508daf282fe5f95d0b37ee419a8f1
* Fix setName use-after-freeJohn Reck2015-05-041-1/+1
| | | | | Bug: 20764439 Change-Id: I7a0f85bb82629b1302db02015fa493dc09eb31f7
* Merge "A bunch more cleanups" into mnc-devJohn Reck2015-05-012-3/+3
|\
| * A bunch more cleanupsJohn Reck2015-04-302-3/+3
| | | | | | | | | | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* | Skip frames with no damageJohn Reck2015-04-281-3/+26
|/ | | | | Bug: 20464038 Change-Id: Iae3aa9baf1d03c3aa443a39373e2bbd4a3910fad
* Revert "A bunch more cleanups"John Reck2015-04-172-3/+3
| | | | | | This reverts commit c294d128d03bc9a9982b273a82516c04583438cc. Change-Id: Id1ebb236950f7c36c6d86e1dd95566d3a200748d
* A bunch more cleanupsJohn Reck2015-04-142-3/+3
| | | | | | | | Switch a few places to using android::canvas instead of SkCanvas as well which eliminated some JNI Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
* Merge "Add GraphicsStatsService"John Reck2015-03-304-12/+23
|\
| * Add GraphicsStatsServiceJohn Reck2015-03-274-12/+23
| | | | | | | | | | | | | | | | | | | | | | More S's for More Speed Split JankTracker's backing data from the class to allow for data relocation to/from ashmem regions Pack the jank tracking data to fit in 256 bytes Change-Id: Ife86a64b71a328fbd0c8075fe6a0404e081f725b
* | resolved conflicts for merge of 4142f026 to masterJohn Reck2015-03-241-0/+1
|\ \ | |/ |/| | | Change-Id: Iabe3aa0ac6911a26d2ba7219f18332897276ed6f
| * Don't create unnecessary RenderThread's instance when executing 'dumpsys ↵youngmin0822.lee2015-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gfxinfo' To obtain the gfxinfo for each process, the static method of RenderProxy is used, which is named outputLogBuffer(). In there, 1. RenderTask is created for getting DisplayList Commands in RenderNode. 2. staticPostAndWait() is called 3. RenderThread's instance is created by 'RenderThread::getInstance()' in staticPostAndWait() In case of the service, they don't use HW Acceleration, so don't need RenderThread. But, by the process of No.3, RenderThread is created for all process. As we know, RenderThread never be destroyed while the process is alive. This patch checks RenderThread instance before the creation of RenderTask. And, there is no one, just return to prevent the unnecessay creation of it. Change-Id: I4fe29d83c9ced3e8b67177c0874c5d8ee62e1870
* | Cleanups & simplificationsJohn Reck2015-03-118-28/+35
| | | | | | | | Change-Id: I5ad5e3b8fe55b1528f2e20c63e5abe51d9e40ff1
* | C++11 style fixupsJohn Reck2015-02-203-4/+6
| | | | | | | | Change-Id: I356d02338820bfef41a9e278c88dafc17cfe1cf9
* | Initial attempt at jank-tracking stat collectionJohn Reck2015-02-2010-54/+133
| | | | | | | | | | | | Is a bit naive, perhaps overly aggressive, but sorta works Change-Id: I01a774e00dbe681439c02557d9728ae43c45ce50
* | Merge "Add a WAIT_FOR_GPU_COMPLETION option"John Reck2015-01-302-0/+20
|\ \
| * | Add a WAIT_FOR_GPU_COMPLETION optionJohn Reck2015-01-302-0/+20
| | | | | | | | | | | | Change-Id: I18d526120651676109200bfd5da87cafcd7e3d13
* | | Refactor blending and texture gl stateChris Craik2015-01-301-3/+0
|/ / | | | | | | Change-Id: Ia6b3c8b2afd3dfcee7f3ce401d846b789612054a
* | Move more GL state management to RenderState and its directoryChris Craik2015-01-281-1/+1
| | | | | | | | Change-Id: Ic68584e1c08dc64be2ad43450cb6caa1de834fdc
* | Move scissor state to RenderStateChris Craik2015-01-273-14/+14
| | | | | | | | Change-Id: I1227a3886fb24e4d9fad79fca469794f06cfb15e
* | am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-271-5/+1
|\ \ | |/ | | | | | | | | | | automerge: 3a10a67 * commit '3a10a672f05735be46256617b8a61cdb1e589008': kill HAVE_PTHREADS.
| * am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."Yabin Cui2015-01-271-5/+1
| |\ | | | | | | | | | | | | * commit 'f70492898b3efa3c5f480f195062fa6f293bc764': kill HAVE_PTHREADS.
| | * kill HAVE_PTHREADS.Yabin Cui2015-01-261-5/+1
| | | | | | | | | | | | | | | Bug: 19083585 Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
* | | Remove DisplayListLogBufferChris Craik2015-01-212-5/+13
| | | | | | | | | | | | Change-Id: I001832fc444b6d532f4a382e0a31cc1d8956dbd8
* | | am cefeb34e: am 2c9f86aa: am 53af1cd3: Merge "Vsyncs are hard" into lmp-mr1-devJohn Reck2015-01-151-0/+8
|\ \ \ | |/ / | | | | | | | | | * commit 'cefeb34e4866209e2ccf4c520919fe31a3f1aeb5': Vsyncs are hard
| * | am 2c9f86aa: am 53af1cd3: Merge "Vsyncs are hard" into lmp-mr1-devJohn Reck2015-01-151-0/+8
| |\ \ | | | | | | | | | | | | | | | | * commit '2c9f86aa21b8d7ea6a77eaca9a49ccdb31245129': Vsyncs are hard
| | * | Vsyncs are hardJohn Reck2015-01-141-0/+8
| | | | | | | | | | | | | | | | | | | | Bug: 18866485 Change-Id: I7d304df0f20a3296956cb6887a72adba9243f117
* | | | Add overrides and switch to nullptr keyword for all filesChris Craik2015-01-059-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds remaining missing overrides and nullptr usages, missed due to an extreme failure in tool usage. Change-Id: I56abd72975a3999ad13330003c348db40f59aebf
* | | | Cleanup various clang warnings, use unique_ptrs in several placesChris Craik2014-12-232-3/+2
| | | | | | | | | | | | | | | | Change-Id: I347904b25e51fcc7de14b1e72f1acd0f6ba26f3f
* | | | CleanupChris Craik2014-12-221-7/+0
| | | | | | | | | | | | | | | | Change-Id: I91ffb9c66697741116fdeaa31abdf6cfd79155df
* | | | am 165fb8f5: am f89dac47: Merge "Tweak RT-animator scheduling" into lmp-mr1-devJohn Reck2014-12-194-15/+22
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | automerge: ed3c296 * commit 'ed3c2962be1e2966c3b46f20e81d2902a8302d8b': Tweak RT-animator scheduling