summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.cpp
AgeCommit message (Collapse)Author
2015-08-17Merge "Cleanup unused param in RenderNode::computeOrdering"Derek Sollenberger
2015-08-14Cleanup unused param in RenderNode::computeOrderingDerek Sollenberger
Change-Id: I4012ac7fce446770c5619dc149f6d62741237fc2
2015-08-13Merge "Support new EGL extensions"John Reck
2015-08-12Support new EGL extensionsJohn Reck
Bug: 21753739 Includes a revert of 13d1b4ab10fbee5e81a2ba1ac59cfae1e51d3ef0 as that only supported EGL_EXT_buffer_age Change-Id: Ia86a47d19e3355c067934d7764c330b640c6958d
2015-08-12Fix bug in calculating perspective damageJohn Reck
Change-Id: Iacab98cf3525f891012087acf85e4205b5e8f0d0
2015-07-30Replace most usages of utils/Vector.hJohn Reck
Change-Id: I540d1b3523244d6c71fc52d6fb30555271c25644
2015-07-21am a2fd3234: am 3bfe4b47: am 1cd5afc1: am 9317d0b9: am 1fddd3ef: Merge "Mark ↵John Reck
isInUse per-window" into mnc-dev * commit 'a2fd32348b06b22963fcc7c33179fddbd2394dbf': Mark isInUse per-window
2015-07-21Mark isInUse per-windowJohn Reck
Bug: 22509159 Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
2015-07-14Clean up unncessary definesChris Craik
LOG_TAG and TRACE_TAG are already defined in the makefile Change-Id: I9e53e3dacbe018441edd74cb7c8c90846defee74
2015-07-10am a5e2946f: am b9d7bba5: am 434b577f: am 8ac76504: am 9613e9b7: Merge "New ↵Tom Hudson
setLocalMatrix() operation for HWUI" into mnc-dev * commit 'a5e2946f5ab7618997fb317ad9f5f56c160ebee5': New setLocalMatrix() operation for HWUI
2015-07-09New setLocalMatrix() operation for HWUITom Hudson
Concats any matrix passed through from DisplayListCanvas with the initialTransform of the containing RenderNode. BUG:22189925 Change-Id: I5ea54a6e2a29520c79a8860bde7682694e8595d2
2015-06-24Switch framework to new Skia enumsTom Hudson
Allow Skia to finish deprecating old path operation enumerations. Change-Id: I61e4489e639043acb78d47994ab62a31f18bd878
2015-06-16Fix null derefJohn Reck
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
2015-06-12Put WebViews with on a HW layer if stencil/shader clipping is neededChris Craik
bug:17322378 Change-Id: I0de574bf116b30e2ad4194366e19d47d49708902
2015-06-12Revert to save-layer based alpha if layer would be too largeChris Craik
bug:21011574 Change-Id: I323f2398188ffc2bbed6a98578d25d7e5f6c337d
2015-06-08Add projection info to RenderNode dumpsChris Craik
bug:21502154 Also fixes several issues around DISPLAY_LIST_DEBUG Change-Id: I726f5bc071f8c037ffe1b224175fe5c1e2b1c5bd
2015-05-28Merge "Use path intersection instead of saveLayer+mesh to mask projected ↵Chris Craik
ripples" into mnc-dev
2015-05-27Fix assert when dumping view at 0 alphaChris Craik
bug:21461177 Change-Id: Ib4aba7b9641254012471da44aa804813b9679423
2015-05-26Use path intersection instead of saveLayer+mesh to mask projected ripplesChris Craik
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
2015-05-13Add back alpha atrace logChris Craik
bug:20922838 Change-Id: I70ccbffdd5f140cd1dd71fbf456fb5b085e74a4a
2015-04-28Remove concept of layer alpha overrideChris Craik
bug:19412691 Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
2015-04-27Promote RenderProperties with an alpha to have a RenderLayerChris Craik
bug:20254728 Change-Id: I0bd1d440fe46683b291d4c8ab07a630c34b2eadc
2015-03-09Glop based composeLayerRegion/RectChris Craik
Change-Id: I69440cabca84948e8aaead9479d616ebc2496517
2015-02-23Fix atrace saveLayer flag loggingChris Craik
Change-Id: I5da85284c15316c9db4cc74011b855ef8c2f7cdd
2015-02-04GlopBuilder, and test app refactorChris Craik
Change-Id: I2cd299ccf178007fd5f83bab6c3448f03aec7843
2015-01-21Remove DisplayListLogBufferChris Craik
Change-Id: I001832fc444b6d532f4a382e0a31cc1d8956dbd8
2015-01-09Update HWUI to store its own SkBitmap objectsDerek Sollenberger
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
2015-01-06Merge frameworks/base changes from master-skia to master.Mike Reed
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
2015-01-05Add overrides and switch to nullptr keyword for all filesChris Craik
Adds remaining missing overrides and nullptr usages, missed due to an extreme failure in tool usage. Change-Id: I56abd72975a3999ad13330003c348db40f59aebf
2014-12-23Cleanup various clang warnings, use unique_ptrs in several placesChris Craik
Change-Id: I347904b25e51fcc7de14b1e72f1acd0f6ba26f3f
2014-12-12am 3f454e7d: am 63c7b246: Merge "Correct layer size formatting in trace" ↵Chris Craik
into lmp-mr1-dev automerge: 00905a9 * commit '3f454e7d1cf7103e312f67f745f01f00fa49df13': Correct layer size formatting in trace
2014-12-12am 63c7b246: Merge "Correct layer size formatting in trace" into lmp-mr1-devChris Craik
automerge: 00905a9 * commit '00905a984c07ffc9960ce83548631c59aae37ec6': Correct layer size formatting in trace
2014-12-11Correct layer size formatting in traceChris Craik
bug:18722704 Change-Id: Icef9aaa62633b2d86ad250f43d4c8fa5cc0b6842
2014-12-02am a22ab0da: am 9a04480e: am ef124887: Merge "Clip outline to View clip ↵Chris Craik
bounds for shadow computation" into lmp-mr1-dev * commit 'a22ab0da6f72b2e52166cc6e11f4c6d44c0fb714': Clip outline to View clip bounds for shadow computation
2014-12-02am 9a04480e: am ef124887: Merge "Clip outline to View clip bounds for shadow ↵Chris Craik
computation" into lmp-mr1-dev * commit '9a04480e36c42eb63d1d727221ba3ce6a6d533ef': Clip outline to View clip bounds for shadow computation
2014-12-01Clip outline to View clip bounds for shadow computationChris Craik
bug:18509823 This allows animations of View clipBounds (and other callers of setClipBounds) to affect shadows, instead of leaving them floating. Change-Id: I249fa4b371a170cb0c54001f5b0e0097e109b8b8
2014-11-26am 1fb141f8: am 9c5b7b09: am ee660651: Merge "Improve DisplayList state ↵Chris Craik
output" into lmp-mr1-dev * commit '1fb141f83bad3884e2199c7acdc23932afaefe0c': Improve DisplayList state output
2014-11-26am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into ↵Chris Craik
lmp-mr1-dev * commit '9c5b7b094254cad0a8a90ece5ea650c49694087d': Improve DisplayList state output
2014-11-25Merge "Improve DisplayList state output" into lmp-mr1-devChris Craik
2014-11-22Revert "resolved conflicts for merge of 220c3f4f to master"Andreas Gampe
Reverted as hwui doesn't agree. This reverts commit 8a902d9f24e83c87b054adb5836b4a5b8a257be9. Change-Id: I109e7b02bee2921e2155ded6df36f52e6f574b5a
2014-11-21Improve DisplayList state outputChris Craik
bug:17991451 Log hardware layers and shadow casting Change-Id: I2ae40f270d18f5b2a5af985513e0f5e8841216c2
2014-11-21resolved conflicts for merge of 220c3f4f to masterAndreas Gampe
Change-Id: I37ecce8fddecdff82b0eace16f1ee75152f7171e
2014-11-21resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aospAndreas Gampe
Change-Id: I3a98f55832ac447b1ed0dd129c7a93d088025943
2014-11-21Frameworks/base: Unused parameters in hwuiAndreas Gampe
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
2014-11-20resolve merge conflicts of f2235b6 to master.Chris Craik
Change-Id: Ibcef3a37ca0749931d509b53bd52e53a7d30ddbb
2014-11-20resolve merge conflicts of 57b641a to lmp-mr1-dev-plus-aosp.Chris Craik
Change-Id: I1be708f5a0cd4d64021a57f1063d54330f1d2d7e
2014-11-19Improve logging around performance critical eventsChris Craik
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
2014-11-10resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aospAndreas Gampe
(cherry picked from commit 1272887050a269d6d506b42099c2857847ad100b) Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
2014-11-10resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aospAndreas Gampe
Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
2014-11-10Frameworks/base: Wall Werror in libs/hwuiAndreas Gampe
Turn on -Wall -Werror in libs/hwui. Fix errors. Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd