summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderNode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Early return when the scale is 0.Teng-Hui Zhu2015-11-041-2/+7
| | | | | | | b/24534579 Change-Id: Ib3581ec99387ca70ca036026f64857a49657d94b (cherry picked from commit 8d0ec389531d071529fb0a800f10733b057205d9)
* Mark isInUse per-windowJohn Reck2015-07-211-5/+6
| | | | | Bug: 22509159 Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
* New setLocalMatrix() operation for HWUITom Hudson2015-07-091-0/+1
| | | | | | | | | Concats any matrix passed through from DisplayListCanvas with the initialTransform of the containing RenderNode. BUG:22189925 Change-Id: I5ea54a6e2a29520c79a8860bde7682694e8595d2
* Fix null derefJohn Reck2015-06-161-2/+6
| | | | | | | | | | Bug: 21857172 willHaveFunctor was assuming that either mStagingDisplayList or mDisplayList would be non-null but this isn't true. Both can be null in some scenarios (notably after a trimMemory) Change-Id: Ia2915b84cfc907ec9c7cbec54ed6dc26283ec998
* Put WebViews with on a HW layer if stencil/shader clipping is neededChris Craik2015-06-121-5/+25
| | | | | bug:17322378 Change-Id: I0de574bf116b30e2ad4194366e19d47d49708902
* Revert to save-layer based alpha if layer would be too largeChris Craik2015-06-121-3/+19
| | | | | bug:21011574 Change-Id: I323f2398188ffc2bbed6a98578d25d7e5f6c337d
* Add projection info to RenderNode dumpsChris Craik2015-06-081-9/+12
| | | | | | | | bug:21502154 Also fixes several issues around DISPLAY_LIST_DEBUG Change-Id: I726f5bc071f8c037ffe1b224175fe5c1e2b1c5bd
* Merge "Use path intersection instead of saveLayer+mesh to mask projected ↵Chris Craik2015-05-281-29/+5
|\ | | | | | | ripples" into mnc-dev
| * Use path intersection instead of saveLayer+mesh to mask projected ripplesChris Craik2015-05-261-29/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:14297149 SaveLayer's performance cost is high, and proportional to the surface being projected onto. Since ripples (even unbounded ones) are now always projected to the arbitrary background content behind them, this cost is especially important to avoid. This removes the last semi-secret, saveLayer from the projected ripple implementation. Also fixes the HW test app to correctly demonstrate this projection masking behavior. Additionaly, alters PathTessellator to gracefully handle counter-clockwise paths, and simplifies the work done by ShadowTessellator to ensure all of its paths are counterclockwise. Change-Id: Ibe9e12812bd10a774e20b1d444a140c368cbba8c
* | Fix assert when dumping view at 0 alphaChris Craik2015-05-271-1/+2
|/ | | | | | bug:21461177 Change-Id: Ib4aba7b9641254012471da44aa804813b9679423
* Add back alpha atrace logChris Craik2015-05-131-0/+7
| | | | | | bug:20922838 Change-Id: I70ccbffdd5f140cd1dd71fbf456fb5b085e74a4a
* Remove concept of layer alpha overrideChris Craik2015-04-281-6/+2
| | | | | bug:19412691 Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
* Promote RenderProperties with an alpha to have a RenderLayerChris Craik2015-04-271-22/+5
| | | | | bug:20254728 Change-Id: I0bd1d440fe46683b291d4c8ab07a630c34b2eadc
* Glop based composeLayerRegion/RectChris Craik2015-03-091-3/+3
| | | | Change-Id: I69440cabca84948e8aaead9479d616ebc2496517
* Fix atrace saveLayer flag loggingChris Craik2015-02-231-3/+4
| | | | Change-Id: I5da85284c15316c9db4cc74011b855ef8c2f7cdd
* GlopBuilder, and test app refactorChris Craik2015-02-041-3/+2
| | | | Change-Id: I2cd299ccf178007fd5f83bab6c3448f03aec7843
* Remove DisplayListLogBufferChris Craik2015-01-211-25/+0
| | | | Change-Id: I001832fc444b6d532f4a382e0a31cc1d8956dbd8
* Update HWUI to store its own SkBitmap objectsDerek Sollenberger2015-01-091-5/+0
| | | | | | | | | | | This enables us to... 1) simplify the lifecycle/ownership between Java and HWUI 2) remove DisplayListRenderer::drawBitmapData and associated logic 3) track pixel lifecycle using standard SkPixelRef refcounting 4) Remove uncessary calls to ref/unref the bitmap's pixels and colorTable Change-Id: I3c95078da20995444f6388a029414280fd654318
* Merge frameworks/base changes from master-skia to master.Mike Reed2015-01-061-1/+1
| | | | | | | | | | | | | Adaptations to changes in Skia upstream since Oct 2014. (https://code.google.com/p/skia/issues/detail?id=2377) cbb922d use new roundOut signature 77082de Call SkColorTable::readColors(). 5456ab1 Handle the result of SkMatrix::asAffine. 25cfc78 Remove dependence on SK_LEGACY_PICTURE_SIZE_API. BUG:18468293 Change-Id: I5a4d274e854298843891410b1ffd5e24f038b88a
* Add overrides and switch to nullptr keyword for all filesChris Craik2015-01-051-20/+20
| | | | | | | 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-231-1/+1
| | | | Change-Id: I347904b25e51fcc7de14b1e72f1acd0f6ba26f3f
* am 3f454e7d: am 63c7b246: Merge "Correct layer size formatting in trace" ↵Chris Craik2014-12-121-2/+2
|\ | | | | | | | | | | | | into lmp-mr1-dev automerge: 00905a9 * commit '3f454e7d1cf7103e312f67f745f01f00fa49df13': Correct layer size formatting in trace
| * am 63c7b246: Merge "Correct layer size formatting in trace" into lmp-mr1-devChris Craik2014-12-121-2/+2
| |\ | | | | | | | | | | | | | | | | | | automerge: 00905a9 * commit '00905a984c07ffc9960ce83548631c59aae37ec6': Correct layer size formatting in trace
| | * Correct layer size formatting in traceChris Craik2014-12-111-2/+2
| | | | | | | | | | | | | | | bug:18722704 Change-Id: Icef9aaa62633b2d86ad250f43d4c8fa5cc0b6842
* | | am a22ab0da: am 9a04480e: am ef124887: Merge "Clip outline to View clip ↵Chris Craik2014-12-021-4/+23
|\ \ \ | |/ / | | | | | | | | | | | | | | | bounds for shadow computation" into lmp-mr1-dev * commit 'a22ab0da6f72b2e52166cc6e11f4c6d44c0fb714': Clip outline to View clip bounds for shadow computation
| * | am 9a04480e: am ef124887: Merge "Clip outline to View clip bounds for shadow ↵Chris Craik2014-12-021-4/+23
| |\ \ | | |/ | | | | | | | | | | | | | | | computation" into lmp-mr1-dev * commit '9a04480e36c42eb63d1d727221ba3ce6a6d533ef': Clip outline to View clip bounds for shadow computation
| | * Clip outline to View clip bounds for shadow computationChris Craik2014-12-011-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | bug:18509823 This allows animations of View clipBounds (and other callers of setClipBounds) to affect shadows, instead of leaving them floating. Change-Id: I249fa4b371a170cb0c54001f5b0e0097e109b8b8
* | | am 1fb141f8: am 9c5b7b09: am ee660651: Merge "Improve DisplayList state ↵Chris Craik2014-11-261-2/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | output" into lmp-mr1-dev * commit '1fb141f83bad3884e2199c7acdc23932afaefe0c': Improve DisplayList state output
| * | am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into ↵Chris Craik2014-11-261-2/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | lmp-mr1-dev * commit '9c5b7b094254cad0a8a90ece5ea650c49694087d': Improve DisplayList state output
| | * Merge "Improve DisplayList state output" into lmp-mr1-devChris Craik2014-11-251-2/+5
| | |\
| | | * Improve DisplayList state outputChris Craik2014-11-211-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17991451 Log hardware layers and shadow casting Change-Id: I2ae40f270d18f5b2a5af985513e0f5e8841216c2
* | | | Revert "resolved conflicts for merge of 220c3f4f to master"Andreas Gampe2014-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverted as hwui doesn't agree. This reverts commit 8a902d9f24e83c87b054adb5836b4a5b8a257be9. Change-Id: I109e7b02bee2921e2155ded6df36f52e6f574b5a
* | | | resolved conflicts for merge of 220c3f4f to masterAndreas Gampe2014-11-211-2/+2
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I37ecce8fddecdff82b0eace16f1ee75152f7171e
| * | | resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aospAndreas Gampe2014-11-211-2/+2
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I3a98f55832ac447b1ed0dd129c7a93d088025943
| | * | | Frameworks/base: Unused parameters in hwuiAndreas Gampe2014-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Clang cutout for unused parameters. Fix warnings. Remove Clang cutout for deprecated Skia function usage. Has been fixed in the L push. Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
* | | | | resolve merge conflicts of f2235b6 to master.Chris Craik2014-11-201-1/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: Ibcef3a37ca0749931d509b53bd52e53a7d30ddbb
| * | | | resolve merge conflicts of 57b641a to lmp-mr1-dev-plus-aosp.Chris Craik2014-11-201-1/+5
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Change-Id: I1be708f5a0cd4d64021a57f1063d54330f1d2d7e
| | * | | Improve logging around performance critical eventsChris Craik2014-11-191-1/+5
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17702227 Add details useful to developers (such as layer size/View name), and switch away from logging implementation names/details, since they are generally not relevant to developers. Change-Id: Iee605d182f241450f7e75a6d0c283d51fa1312f5
| * | | resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aospAndreas Gampe2014-11-101-3/+3
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
| | * Frameworks/base: Wall Werror in libs/hwuiAndreas Gampe2014-11-101-3/+3
| | | | | | | | | | | | | | | | | | Turn on -Wall -Werror in libs/hwui. Fix errors. Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
* | | resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aospAndreas Gampe2014-11-101-3/+3
| | | | | | | | | | | | | | | | | | (cherry picked from commit 1272887050a269d6d506b42099c2857847ad100b) Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
* | | resolved conflicts for merge of be70c771 to masterJohn Reck2014-11-061-3/+7
|\ \ \ | |/ / | | | | | | Change-Id: I469905bef7361c18aab725778694567d1987c06d
| * | Yank ResourceCache out of CachesJohn Reck2014-11-061-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17947547 Pull the ResourceCache (aka, ref-counting side channel) out of Caches so that DisplayListRenderer doesn't use Caches, avoiding the risk of instantiating Caches on the wrong thread or without a GL context Change-Id: I7d63b70b3b0a0163308c5dedd6ef255eadebe8fd
* | | am e05575e9: am a8d83d63: Merge "Layer changes" into lmp-mr1-dev automerge: ↵John Reck2014-10-311-1/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | a51fba0 * commit 'e05575e9c36850d8cfe49396ac9a1372511b12bf': Layer changes
| * | Layer changesJohn Reck2014-10-311-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 41707d01: am ebcfd24b: am 68335df6: Merge "Fix damage bug" into lmp-mr1-devJohn Reck2014-10-231-0/+3
|\ \ \ | |/ / | | | | | | | | | * commit '41707d01e9e950ebd00642ef3564edcff8c539e7': Fix damage bug
| * | Fix damage bugJohn Reck2014-10-221-0/+3
| | | | | | | | | | | | | | | Bug: 18087374 Change-Id: Ie183392122c73f93010fb3f4be071c924b352966
* | | Clean up physical couplingTom Hudson2014-10-151-0/+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
* | Avoid creating Caches instance with gfxinfo dumpChris Craik2014-10-011-4/+7
|/ | | | | bug:17509891 Change-Id: I182851068ba04926d60226b3ace95efea59eac45
* Fix save count offsetting within DisplayList chunksChris Craik2014-09-051-2/+2
| | | | | bug:17388541 Change-Id: I7cb1139b8cd30f72ae7c6de2074c3c5865b8f309