summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderNode.h
Commit message (Collapse)AuthorAgeFilesLines
* am e05575e9: am a8d83d63: Merge "Layer changes" into lmp-mr1-dev automerge: ↵John Reck2014-10-311-1/+1
|\ | | | | | | | | | | | | a51fba0 * commit 'e05575e9c36850d8cfe49396ac9a1372511b12bf': Layer changes
| * Layer changesJohn Reck2014-10-311-1/+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
* | Clean up physical couplingTom Hudson2014-10-151-3/+1
|/ | | | | | | | Narrow the use of #include directives in hwui, replacing with forward declarations where straightforward. Speeds compiles; doesn't do any restructuring of code. Change-Id: Icac2baffb5896f55d8c6718e9bd9d4bfa02d3ca0
* Yet more layer tracking loggingJohn Reck2014-09-041-0/+1
| | | | | | Bug: 17208461 Change-Id: I55e7d0921eb565867e966d68b798b7b92c391b55
* Merge "Update transform isolation to handle command chunks" into lmp-devChris Craik2014-08-281-9/+2
|\
| * Update transform isolation to handle command chunksChris Craik2014-08-271-9/+2
| | | | | | | | | | | | | | | | | | | | bug:15570351 Prevent drawing transformations on a ViewGroup's canvas from directly affecting the transformation of the children through the renderer, since it's already baked into mTransformFromParent at record time. Change-Id: I6310a2260dfe4def0bde1fd2c5b93791a645d586
* | Animator stuffJohn Reck2014-08-271-0/+2
|/ | | | | | Bug: 17228458 Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
* Create z reordering boundaries around dispatchDrawChris Craik2014-08-251-2/+3
| | | | | | | | | | bug:16012254 This means rendernodes with a Z will no longer be drawn at the end of their parent's DisplayList, but at the end of the associated reorder region (DisplayListData::Chunk). Change-Id: Ia033fee9d9a4db567b2a8d5e90fc57a4d0a64544
* Define shadow casting behavior within layersChris Craik2014-08-151-2/+2
| | | | | | | | | | | | bug:15860114 Savelayers and HW layers both now support shadow casting. For save layers, the light source should always be correct, for HW layers, the light source position is set when the layer is created, and updated when it is resized. Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
* Fix damage for layers for projection receiversJohn Reck2014-08-081-1/+2
| | | | | | Bug: 16880228 Change-Id: I59ab760a21f49cc2cac0d8936b173cff292e6114
* Fix root RenderNode damage calculationJohn Reck2014-07-161-3/+1
| | | | | | Bug: 15888445 Change-Id: I281ec9271c9889673dcdfcb6d31e341a7b47b7de
* Fix layers lifecycle issuesJohn Reck2014-07-081-0/+14
| | | | | | | | | Bug: 16118540 Fix an issue where we could have a reference to a Layer after the GL context was destroyed Change-Id: I7bfd909d735ca6b942ebe188fc10099422eb6d95
* Animator refactoring & fixesJohn Reck2014-06-261-24/+4
| | | | | | | | | | | | 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
* No-fail invokeFunctorJohn Reck2014-06-231-1/+0
| | | | | | | Bug: 15513308 Bug: 15449247 Change-Id: I13a29f9c8d4975cdda6dcb33b6332c2555ff0f7c
* Update 'DisplayList' vs 'RenderNode' naming in several placesChris Craik2014-06-231-11/+11
| | | | Change-Id: I635c6627d098b661fb9b0ba1bd42fa6d7277d287
* Merge "Wrap ViewGroup content in save/restore to protect composited children"Chris Craik2014-06-201-5/+10
|\
| * Wrap ViewGroup content in save/restore to protect composited childrenChris Craik2014-06-201-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:15570351 Pos Z composited children are drawn before the primary restore for a RenderNode. This means that without an additional save/restore (which wraps the content) they aren't protected from transformations/clips that happen within the ViewGroup's DisplayList. Also changes RenderNode to use OpenGLRenderer tag for displaylist dumping consistency, and simplifies the entry points into RenderNode drawing, since the distinction between tree root vs tree internal is no longer important. Change-Id: I2621eba0592c74d71f85a91a4ab3d0da2d7468d3
* | Re-enable ViewPropAnimRTJohn Reck2014-06-201-0/+2
|/ | | | Change-Id: I2f30547c4e2212747c479760dff4f3f901d1eaf3
* Move LayerType to RenderNodeJohn Reck2014-06-121-1/+9
| | | | Change-Id: Icb79a5015cb0362b1f3a66d09007450730135a97
* Fix DA bugsJohn Reck2014-06-121-0/+5
| | | | | | | | | | * Now aware of transform of DrawDisplayListOp * Supports projection Bug: 15539677 Bug: 15506680 Change-Id: Ic16f482cd48c3add12e49eca529281be12b93491
* Even FASTER damage calculations!John Reck2014-06-041-1/+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
* Enable debug stuffsJohn Reck2014-05-291-0/+1
| | | | | | | | Bug: 14596762 * dumpsys gfxinfo implemented * profile GPU visual_bars implemented Change-Id: Icb948a9d5af5989b5615504d0d76ade64b93ef5b
* Animator start value...John Reck2014-05-151-2/+26
| | | | Change-Id: Ifd35ed95a28c625086d7fa97764fe63ab4a997f1
* Refactor VirtualLightRefBase & JNIJohn Reck2014-05-091-1/+0
| | | | Change-Id: I8e244e7109e59d5be96871b23bb9b1201c7f9eaa
* Add CanvasProperty for drawCircleJohn Reck2014-05-021-4/+8
| | | | Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
* RenderThread animator supportJohn Reck2014-04-291-13/+23
| | | | Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
* Clip TouchFeedbackDrawable effect to receiver OutlineChris Craik2014-04-231-0/+1
| | | | | | | | Projected RenderNodes are now wrapped with a ClipRect or masked SaveLayer, so that they are clipped to the outline of the projection receiver surface. Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e
* Fix issue with bitmap uploadingJohn Reck2014-04-141-0/+6
| | | | | | Bug: 13912749 Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
* Remove use-after-free signal in RenderNodeChris Craik2014-04-111-1/+0
| | | | | | | | | bug:9321162 mDestroyed is no longer useful, as RenderNode is ref counted (not to mention having its lifecycle significantly redesigned). Change-Id: I429b9dd7740362c85d6416fbae567f0d47098e4e
* Merge hasFunctors & pushStaging into prepareTreeJohn Reck2014-04-091-5/+9
| | | | | | | Bug: 13902607 Fixes synchronous mode for WebView in HardwareLayers Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
* Merge "Switch DisplayListData to a staging model"John Reck2014-04-091-2/+6
|\
| * Switch DisplayListData to a staging modelJohn Reck2014-04-091-2/+6
| | | | | | | | | | | | Bug: 13912977 Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
* | When recording a child node into a parent, read staging projection propertyChris Craik2014-04-081-4/+4
|/ | | | | | | | bug:13770920 The other properties should not be read from the UI thread. Change-Id: I61d13774553d46a8963623727d8e8eeeb3385cc9
* Refcount RenderNodeJohn Reck2014-04-071-2/+2
| | | | Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
* Support shadows on the root RenderNodeChris Craik2014-03-281-6/+17
| | | | | | | | | | | | bug:13211941 Cleans up some of the RenderNode method naming Also removes unnecessary clip/save/restores, clipping shadows predictably, as drawn by the parent, before drawing (and clipping, etc.) the shadow casting child. Change-Id: I795115e1fb869bbbdd7be43e279b97490fecc7e0
* Async drawing!John Reck2014-03-271-0/+3
| | | | Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01
* Move where updateProperties is calledJohn Reck2014-03-241-1/+1
| | | | Change-Id: I27da448996019094c44487ce28c5689d098d6535
* Add stagingPropertiesJohn Reck2014-03-241-3/+15
| | | | Change-Id: Ic7de551f8843fd70a77f738e33028e25c020bb3c
* Move RenderNode to own fileJohn Reck2014-03-191-0/+200
Change-Id: I9380d161fd3ddd7b569c262dd8e7aa0c96151b1e