summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread/DrawFrameTask.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups & simplificationsJohn Reck2015-03-111-2/+0
| | | | Change-Id: I5ad5e3b8fe55b1528f2e20c63e5abe51d9e40ff1
* Initial attempt at jank-tracking stat collectionJohn Reck2015-02-201-3/+6
| | | | | | 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-1/+1
| | | | | | | 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/+1
| | | | | | | | | 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
* Fix contants; RT-enable WebView pt2John Reck2014-06-241-1/+1
| | | | | | | | | Bug: 15838537 * Fix kSync_UIRedrawRequired constant value (woops) * Tell CanvasContext that WebView is now rt-safe Change-Id: Idf15cf21115c2ca24b8ccd00025e8502864cd87c
* Even FASTER damage calculations!John Reck2014-06-041-2/+0
| | | | | | | | | | | * 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/+5
| | | | | | | | | | | | | | | | 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/+4
| | | | | | | | Bug: 14596762 * dumpsys gfxinfo implemented * profile GPU visual_bars implemented Change-Id: Icb948a9d5af5989b5615504d0d76ade64b93ef5b
* Bag of scheduling tweaksJohn Reck2014-05-231-1/+2
| | | | | | | | | | | | | 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-1/+8
| | | | Change-Id: Ifaefcf510b2d377663fc86f60608d6ec9be8329a
* TIME LORD!John Reck2014-05-051-3/+5
| | | | | | Bug: 14444180 Change-Id: I68bec3807c4d1c88d5af1aec2fe6907d60b5f2f3
* RenderThread animator supportJohn Reck2014-04-291-3/+0
| | | | Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
* Remove sync flushJohn Reck2014-04-101-9/+1
| | | | | | | | | | | 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-5/+1
| | | | | | | Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
* Switch DisplayListData to a staging modelJohn Reck2014-04-091-14/+0
| | | | | | Bug: 13912977 Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
* Refcount RenderNodeJohn Reck2014-04-071-4/+21
| | | | Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
* Async drawing!John Reck2014-03-271-0/+98
Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01