summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delete MAKE_ENUM_FLAGSChris Craik2015-06-031-1/+1
| | | | | | | | bug:21595702 Settle on namespace-enum for consistency. Also removes k prefix. Change-Id: Ib89f94cb9263de40b6e4636577dca4860867d0d8
* Unify DrawProfiler/JankStatsJohn Reck2015-05-121-2/+0
| | | | | | Bug: 20822400 Change-Id: I24345c3120440bfce14e8cbe7e880b39f10b744a
* Cleanups & simplificationsJohn Reck2015-03-111-2/+0
| | | | Change-Id: I5ad5e3b8fe55b1528f2e20c63e5abe51d9e40ff1
* C++11 style fixupsJohn Reck2015-02-201-1/+2
| | | | Change-Id: I356d02338820bfef41a9e278c88dafc17cfe1cf9
* Initial attempt at jank-tracking stat collectionJohn Reck2015-02-201-12/+4
| | | | | | Is a bit naive, perhaps overly aggressive, but sorta works Change-Id: I01a774e00dbe681439c02557d9728ae43c45ce50
* Add overrides and switch to nullptr keyword for all filesChris Craik2015-01-051-2/+2
| | | | | | | Adds remaining missing overrides and nullptr usages, missed due to an extreme failure in tool usage. Change-Id: I56abd72975a3999ad13330003c348db40f59aebf
* Have an actual fallback if the surface is lostJohn Reck2014-11-071-0/+6
| | | | | | | | | Bug: 17516789 This will force a relayout/reinitialize pass if the Surface is lost mid-render instead of crashing on the next frame Change-Id: If08bfa16f740728fa7c05904fa11e26f07b81e2e
* Revert "Dump RenderThread stack on unresponsive"Chris Craik2014-07-251-1/+2
| | | | | | | | | | bug:16563871 bug:16565900 bug:16555847 bug:16551643 This reverts commit ca66e06b9db6e6c921662886e4b7ddd02ac92280. Change-Id: I23e8d4eaf828b1b298126ba5f36e4e8e7451706a
* Dump RenderThread stack on unresponsiveJohn Reck2014-07-231-2/+1
| | | | | | Bug: 16408405 Change-Id: I4ba4836fd1451fb8ba77c34cdb843d3cb4217bb8
* Animator refactoring & fixesJohn Reck2014-06-261-1/+1
| | | | | | | | | | | | Tweaks animators to have less unnecessary refcounting Pull animator management out into seperate class More control to tweak animator lifecycle, such as doing Java-side handling of start delay by attaching but not starting the animator Change-Id: I4ff8207580ca11fb38f45ef0007b406e0097281c
* Merge "No-fail invokeFunctor"John Reck2014-06-231-1/+1
|\
| * No-fail invokeFunctorJohn Reck2014-06-231-1/+1
| | | | | | | | | | | | | | Bug: 15513308 Bug: 15449247 Change-Id: I13a29f9c8d4975cdda6dcb33b6332c2555ff0f7c
* | Enable asynchronous RenderThread for WebViewBo Liu2014-06-231-1/+1
|/ | | | | | BUG: 12179257 Change-Id: Ib7358dc84a0a58020d178d10b324b9631848c06d
* Move LayerType to RenderNodeJohn Reck2014-06-121-3/+0
| | | | Change-Id: Icb79a5015cb0362b1f3a66d09007450730135a97
* Even FASTER damage calculations!John Reck2014-06-041-17/+2
| | | | | | | | | | | * Now with more native! * Less matrix math thanks to bulk-property-update support! * Zero JNI on the View.damageInParent() path! * Fully aware of RT-driven animators! * Likely full of new and exciting bugs! * But it also fixes at least 1 existing invalidate bug! Change-Id: Ie0773f85a60850ff2668370c58defef2e8aa079f
* Re-jigger layersJohn Reck2014-05-301-8/+23
| | | | | | | | | | | | | | | | Bug: 15185239 Bug: 15238382 Make DeferredLayerUpdater ref counted so that HardwareLayer:finalizer() works non-crashily on leaked layers Give DeferredLayerUpdater the ability to have a layer destroyer set so that leaked layers can still be recycled on the RenderThread Order layer updates based off of pushLayerUpdate() calls to fix issue with nested layers Change-Id: I4449cee607f7e5126e02fed7464cf48038e3dfdf
* Enable debug stuffsJohn Reck2014-05-291-1/+8
| | | | | | | | Bug: 14596762 * dumpsys gfxinfo implemented * profile GPU visual_bars implemented Change-Id: Icb948a9d5af5989b5615504d0d76ade64b93ef5b
* Bag of scheduling tweaksJohn Reck2014-05-231-4/+11
| | | | | | | | | | | | | Bug: 15118640 * Prevent over-stuffing the queue by dropping frames * Prevent double-drawing in one pulse by RT by deferring vsync registration until post-draw so that it catches the next vsync pulse instead of the current one * Bias vsync race condition towards the UI thread * Fix queueDelay to actually work Change-Id: Ibf584258bd93ebcbba058bd976dc8b307f1c6155
* Make RenderNodeAnimator and WebView play niceJohn Reck2014-05-051-6/+12
| | | | Change-Id: Ifaefcf510b2d377663fc86f60608d6ec9be8329a
* TIME LORD!John Reck2014-05-051-9/+13
| | | | | | Bug: 14444180 Change-Id: I68bec3807c4d1c88d5af1aec2fe6907d60b5f2f3
* Add CanvasProperty for drawCircleJohn Reck2014-05-021-0/+4
| | | | Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
* RenderThread animator supportJohn Reck2014-04-291-25/+11
| | | | Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
* Fix issue with bitmap uploadingJohn Reck2014-04-141-9/+11
| | | | | | Bug: 13912749 Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
* Remove sync flushJohn Reck2014-04-101-23/+6
| | | | | | | | | | | Bug: 13952590 It was attempting to flush state changes after the canvas was destroyed, which caused layer updates to crash. Due to the removal of SetDisplayListData, the sync mode isn't able to do anything ever, so remove it. Change-Id: I1e18ce288d81fd47cc6e612afda9476f75ecef2e
* Merge hasFunctors & pushStaging into prepareTreeJohn Reck2014-04-091-11/+10
| | | | | | | Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
* Switch DisplayListData to a staging modelJohn Reck2014-04-091-26/+1
| | | | | | Bug: 13912977 Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
* Refcount RenderNodeJohn Reck2014-04-071-13/+51
| | | | Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
* Async drawing!John Reck2014-03-271-0/+143
Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01