summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DeferredLayerUpdater.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate requireGlContextJohn Reck2015-05-201-1/+0
| | | | | | Bug: 20297820 Change-Id: I37c63bab6f6c0d2337c8c6002046d2ef17e74097
* Track down unsupported texture targetChris Craik2015-03-101-0/+3
| | | | | | bug:19641517 Change-Id: Idc2e413abef5bb1438ffb3f52efb001504d3e89f
* Glop layer mesh renderingChris Craik2015-02-191-1/+1
| | | | Change-Id: I2d902819d5d77f496b67d4d25a298782903e410d
* Add overrides and switch to nullptr keyword for all filesChris Craik2015-01-051-8/+8
| | | | | | | Adds remaining missing overrides and nullptr usages, missed due to an extreme failure in tool usage. Change-Id: I56abd72975a3999ad13330003c348db40f59aebf
* Cast buffer width and height to intDan Stoza2014-11-211-2/+2
| | | | | | | GraphicBuffer::get{Width,Height} are going to start returning uint32_t values soon, so add the cast now to avoid breaking the build later. Change-Id: Ied33700fdf81e8aecbad95d66583818d15987b93
* Layer changesJohn Reck2014-10-311-20/+1
| | | | | | | | | | | | Bug: 17208461 * Switch Layer to be VirtualLightRefBase instead of Caches' side-channel ref-counting * Include active layers in gfxinfo dump * Run gfxinfo dump on the correct thread * Dump gfxinfo on Layer creation failure Change-Id: I28d195699e2334518e215ab28c7a17355aee9678
* Cleanup DeferredLayerUpdaterJohn Reck2014-10-031-11/+30
| | | | | | | | | | Bug: 17765082 DeferredLayerUpdater had fallen behind RT updates. Re-snap to latest expectations, ensuring to call requireGlContext() prior to detachSurfaceTexture to avoid leaking SurfaceTextures Change-Id: Ic65fb9831e5284f658866da8da9ad5af1d227699
* More cleanupsJohn Reck2014-06-271-0/+8
| | | | Change-Id: Id5967944b949a2aec57e4fe9fdcdc04c11b8c35a
* 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
* Move LayerType to RenderNodeJohn Reck2014-06-121-28/+2
| | | | Change-Id: Icb79a5015cb0362b1f3a66d09007450730135a97
* Even FASTER damage calculations!John Reck2014-06-041-0/+4
| | | | | | | | | | | * 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-5/+12
| | | | | | | | | | | | | | | | 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
* Fix issue with bitmap uploadingJohn Reck2014-04-141-5/+1
| | | | | | Bug: 13912749 Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
* Remove sync flushJohn Reck2014-04-101-0/+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-2/+6
| | | | | | | Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
* Switch DisplayListData to a staging modelJohn Reck2014-04-091-1/+1
| | | | | | Bug: 13912977 Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
* Refcount RenderNodeJohn Reck2014-04-071-2/+2
| | | | Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
* Async drawing!John Reck2014-03-271-3/+1
| | | | Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01
* Move where updateProperties is calledJohn Reck2014-03-241-0/+1
| | | | Change-Id: I27da448996019094c44487ce28c5689d098d6535
* Rename DisplayList->RenderNodeJohn Reck2014-03-121-1/+1
| | | | Change-Id: Id42e23c9a1a6eb6eaeafef707ced7fa6887b03d0
* Fix TextureView texture filtering.Chris Craik2014-02-251-2/+11
| | | | | | | | | | | | | bug:11748993 TextureView should always be drawn with linear filtering if drawing a buffer sized differently from the layer. This fixes a bug where TextureViews that were sized differently from their contents wouldn't be drawn with texture filtering, causing visible scaling artifacts. Change-Id: I8a5d27452fe7269ec53896992f37cff51e3ce15a
* Reapply "Refactor setting an SkPaint onto a hwui Layer."Derek Sollenberger2014-02-201-3/+5
| | | | | | This reverts commit 90d0c75e94a32fb7d993fae69762820aabc2fcbb. Change-Id: Ie807761231edf7c848b019931dccbf466208c0be
* Support HardwareLayers in RenderThreadJohn Reck2014-02-191-22/+0
| | | | | | Also has a few HardwareLayer lifecycle fixes Change-Id: I6308cb05f8f199eed72189ace768013a46815941
* Refcounting is hardJohn Reck2014-02-141-1/+0
| | | | | | Bug: 12994941 Change-Id: I6285ff818fc696dbe504174b98a54cb1d00b445c
* Revert "Refactor setting an SkPaint onto a hwui Layer."Derek Sollenberger2014-02-121-7/+4
| | | | | | This reverts commit e889298cd6ae1fc0d76bc00d7d12586db03eb261. Change-Id: I4b1d609b2d4280595d40cb10d6c18875c22999f8
* Refactor setting an SkPaint onto a hwui Layer.Derek Sollenberger2014-02-121-4/+7
| | | | | | | This CL removes the unecessary JNI call to set the colorFilter on a layer. Change-Id: I9e088f888938d4315745aa618334bfdb9e61343a
* Refactor HardwareLayerJohn Reck2014-02-101-0/+150
Defer all the things! Groundwork to allow hardware layers to work in a renderthread world Change-Id: Ib3aa47525f393083621254a743dbaa6352f933bd