History log of /frameworks/base/libs/hwui/RenderNode.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
12412ce87025d41e3cd3ac3f93f8638c6dae1b32 02-Oct-2015 Teng-Hui Zhu <ztenghui@google.com> Early return when the scale is 0.

b/24534579

Change-Id: Ib3581ec99387ca70ca036026f64857a49657d94b
(cherry picked from commit 8d0ec389531d071529fb0a800f10733b057205d9)
/frameworks/base/libs/hwui/RenderNode.cpp
00e79c9947b741194ff6c0d08ede9b3befbf9c9d 21-Jul-2015 John Reck <jreck@google.com> Mark isInUse per-window

Bug: 22509159
Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
/frameworks/base/libs/hwui/RenderNode.cpp
ac7b6d33d23cb0baaf61c723346198d41f012035 30-Jun-2015 Tom Hudson <tomhudson@google.com> New setLocalMatrix() operation for HWUI

Concats any matrix passed through from DisplayListCanvas with the
initialTransform of the containing RenderNode.

BUG:22189925

Change-Id: I5ea54a6e2a29520c79a8860bde7682694e8595d2
/frameworks/base/libs/hwui/RenderNode.cpp
3f725f0a5abd23833176bdc26fda964e923e75de 16-Jun-2015 John Reck <jreck@google.com> Fix null deref

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
/frameworks/base/libs/hwui/RenderNode.cpp
a766cb2bce5db9108c0266fbebea6aa18d5713ff 09-Jun-2015 Chris Craik <ccraik@google.com> Put WebViews with on a HW layer if stencil/shader clipping is needed

bug:17322378
Change-Id: I0de574bf116b30e2ad4194366e19d47d49708902
/frameworks/base/libs/hwui/RenderNode.cpp
4e9d9b2a590105035c29f12ecf0689333e6b55e7 12-Jun-2015 Chris Craik <ccraik@google.com> Revert to save-layer based alpha if layer would be too large

bug:21011574
Change-Id: I323f2398188ffc2bbed6a98578d25d7e5f6c337d
/frameworks/base/libs/hwui/RenderNode.cpp
bf72eb80d9e00fe2fa360dff0ef581ea27c8e965 08-Jun-2015 Chris Craik <ccraik@google.com> Add projection info to RenderNode dumps

bug:21502154

Also fixes several issues around DISPLAY_LIST_DEBUG

Change-Id: I726f5bc071f8c037ffe1b224175fe5c1e2b1c5bd
/frameworks/base/libs/hwui/RenderNode.cpp
1cd7e4c3d0216cfb9a8a685ca8cf6f0d740a9dff 29-May-2015 Chris Craik <ccraik@google.com> Merge "Use path intersection instead of saveLayer+mesh to mask projected ripples" into mnc-dev
43a1d31a2837406a437937b340db85c1a05ed1ed 27-May-2015 Chris Craik <ccraik@google.com> Fix assert when dumping view at 0 alpha

bug:21461177

Change-Id: Ib4aba7b9641254012471da44aa804813b9679423
/frameworks/base/libs/hwui/RenderNode.cpp
fca52b7583d1e5f5ff8ed06554875d2a30ef56fa 28-Apr-2015 Chris Craik <ccraik@google.com> Use path intersection instead of saveLayer+mesh to mask projected ripples

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
/frameworks/base/libs/hwui/RenderNode.cpp
1a0808e64c170fa7b620b858fa5875f6f08a2b54 14-May-2015 Chris Craik <ccraik@google.com> Add back alpha atrace log

bug:20922838

Change-Id: I70ccbffdd5f140cd1dd71fbf456fb5b085e74a4a
/frameworks/base/libs/hwui/RenderNode.cpp
8df5ffa9ae0667d9e0241adf4675753156fcef84 29-Apr-2015 Chris Craik <ccraik@google.com> Remove concept of layer alpha override

bug:19412691
Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
/frameworks/base/libs/hwui/RenderNode.cpp
856f0cc3e382206e67c1a62fe878627d7dd9ada5 22-Apr-2015 Chris Craik <ccraik@google.com> Promote RenderProperties with an alpha to have a RenderLayer

bug:20254728
Change-Id: I0bd1d440fe46683b291d4c8ab07a630c34b2eadc
/frameworks/base/libs/hwui/RenderNode.cpp
182952f5eeefc2a21d76d4664ada0e2d78c1105c 09-Mar-2015 Chris Craik <ccraik@google.com> Glop based composeLayerRegion/Rect

Change-Id: I69440cabca84948e8aaead9479d616ebc2496517
/frameworks/base/libs/hwui/RenderNode.cpp
a7e5367b5c9d180ccc010cf5cc45e25c021f2ee6 18-Feb-2015 Chris Craik <ccraik@google.com> Fix atrace saveLayer flag logging

Change-Id: I5da85284c15316c9db4cc74011b855ef8c2f7cdd
/frameworks/base/libs/hwui/RenderNode.cpp
031888744e24b5c7243ac99ec98b78aff5db1c78 03-Feb-2015 Chris Craik <ccraik@google.com> GlopBuilder, and test app refactor

Change-Id: I2cd299ccf178007fd5f83bab6c3448f03aec7843
/frameworks/base/libs/hwui/RenderNode.cpp
2ae07339824efc50468f971ff8920ff0b894cad4 21-Jan-2015 Chris Craik <ccraik@google.com> Remove DisplayListLogBuffer

Change-Id: I001832fc444b6d532f4a382e0a31cc1d8956dbd8
/frameworks/base/libs/hwui/RenderNode.cpp
3d4eed7f1aa99401dabe2e45b82f98fb4fc2d754 04-Dec-2014 Derek Sollenberger <djsollen@google.com> Update HWUI to store its own SkBitmap objects

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
/frameworks/base/libs/hwui/RenderNode.cpp
71487eb0ceb2b7dea02649e78d99bb5952f5eaef 19-Nov-2014 Mike Reed <reed@google.com> Merge frameworks/base changes from master-skia to master.

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
/frameworks/base/libs/hwui/RenderNode.cpp
d41c4d8c732095ae99c955b6b82f7306633004b1 06-Jan-2015 Chris Craik <ccraik@google.com> Add overrides and switch to nullptr keyword for all files

Adds remaining missing overrides and nullptr usages, missed due to
an extreme failure in tool usage.

Change-Id: I56abd72975a3999ad13330003c348db40f59aebf
/frameworks/base/libs/hwui/RenderNode.cpp
51d6a3db97bdd5315f1a17a4b447d10a92217b98 23-Dec-2014 Chris Craik <ccraik@google.com> Cleanup various clang warnings, use unique_ptrs in several places

Change-Id: I347904b25e51fcc7de14b1e72f1acd0f6ba26f3f
/frameworks/base/libs/hwui/RenderNode.cpp
a1c3fdfbc7a8f271f916b89e721e4d371f1dfe8f 12-Dec-2014 Chris Craik <ccraik@google.com> am 3f454e7d: am 63c7b246: Merge "Correct layer size formatting in trace" into lmp-mr1-dev automerge: 00905a9

* commit '3f454e7d1cf7103e312f67f745f01f00fa49df13':
Correct layer size formatting in trace
3f454e7d1cf7103e312f67f745f01f00fa49df13 12-Dec-2014 Chris Craik <ccraik@google.com> am 63c7b246: Merge "Correct layer size formatting in trace" into lmp-mr1-dev
automerge: 00905a9

* commit '00905a984c07ffc9960ce83548631c59aae37ec6':
Correct layer size formatting in trace
c2379070a46f208bce490b938e0673ba00373e2e 11-Dec-2014 Chris Craik <ccraik@google.com> Correct layer size formatting in trace

bug:18722704
Change-Id: Icef9aaa62633b2d86ad250f43d4c8fa5cc0b6842
/frameworks/base/libs/hwui/RenderNode.cpp
e749bd2c72d14519f6ac24d5efc399b0dafc507d 02-Dec-2014 Chris Craik <ccraik@google.com> am a22ab0da: am 9a04480e: am ef124887: Merge "Clip outline to View clip bounds for shadow computation" into lmp-mr1-dev

* commit 'a22ab0da6f72b2e52166cc6e11f4c6d44c0fb714':
Clip outline to View clip bounds for shadow computation
a22ab0da6f72b2e52166cc6e11f4c6d44c0fb714 02-Dec-2014 Chris Craik <ccraik@google.com> am 9a04480e: am ef124887: Merge "Clip outline to View clip bounds for shadow computation" into lmp-mr1-dev

* commit '9a04480e36c42eb63d1d727221ba3ce6a6d533ef':
Clip outline to View clip bounds for shadow computation
faa79ff9d964de940660d2226d5b06ded9294597 01-Dec-2014 Chris Craik <ccraik@google.com> Clip outline to View clip bounds for shadow computation

bug:18509823

This allows animations of View clipBounds (and other callers of
setClipBounds) to affect shadows, instead of leaving them floating.

Change-Id: I249fa4b371a170cb0c54001f5b0e0097e109b8b8
/frameworks/base/libs/hwui/RenderNode.cpp
3c96a2b8fe4b52a8617e84c8aced43326d964f55 26-Nov-2014 Chris Craik <ccraik@google.com> am 1fb141f8: am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into lmp-mr1-dev

* commit '1fb141f83bad3884e2199c7acdc23932afaefe0c':
Improve DisplayList state output
1fb141f83bad3884e2199c7acdc23932afaefe0c 26-Nov-2014 Chris Craik <ccraik@google.com> am 9c5b7b09: am ee660651: Merge "Improve DisplayList state output" into lmp-mr1-dev

* commit '9c5b7b094254cad0a8a90ece5ea650c49694087d':
Improve DisplayList state output
ee6606519d22805c1caf23a3c75cde9fc97b34eb 25-Nov-2014 Chris Craik <ccraik@google.com> Merge "Improve DisplayList state output" into lmp-mr1-dev
64bb413a664001c95c8439cf097dc3033f4ed733 22-Nov-2014 Andreas Gampe <agampe@google.com> Revert "resolved conflicts for merge of 220c3f4f to master"

Reverted as hwui doesn't agree.

This reverts commit 8a902d9f24e83c87b054adb5836b4a5b8a257be9.

Change-Id: I109e7b02bee2921e2155ded6df36f52e6f574b5a
/frameworks/base/libs/hwui/RenderNode.cpp
b5a5435a77bae40b55053ccde93b1ed45d0e8329 21-Nov-2014 Chris Craik <ccraik@google.com> Improve DisplayList state output

bug:17991451

Log hardware layers and shadow casting

Change-Id: I2ae40f270d18f5b2a5af985513e0f5e8841216c2
/frameworks/base/libs/hwui/RenderNode.cpp
8a902d9f24e83c87b054adb5836b4a5b8a257be9 22-Nov-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 220c3f4f to master

Change-Id: I37ecce8fddecdff82b0eace16f1ee75152f7171e
2ab8298dc37851aab4623ba3f98d71055d653a73 21-Nov-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 99377df1 to lmp-mr1-dev-plus-aosp

Change-Id: I3a98f55832ac447b1ed0dd129c7a93d088025943
42ddc18d108f789705ad4eb697ce9599ad322507 21-Nov-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Unused parameters in hwui

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
/frameworks/base/libs/hwui/RenderNode.cpp
06e7fe5a70409d2050b2b3e1286500f5223099da 21-Nov-2014 Chris Craik <ccraik@google.com> resolve merge conflicts of f2235b6 to master.

Change-Id: Ibcef3a37ca0749931d509b53bd52e53a7d30ddbb
f2235b6a48db2e16b52711570bf2a0d0cb0b0d90 21-Nov-2014 Chris Craik <ccraik@google.com> resolve merge conflicts of 57b641a to lmp-mr1-dev-plus-aosp.

Change-Id: I1be708f5a0cd4d64021a57f1063d54330f1d2d7e
70850ea258cbf91477efa57a1f1a23cc0044cc93 18-Nov-2014 Chris Craik <ccraik@google.com> Improve logging around performance critical events

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
/frameworks/base/libs/hwui/RenderNode.cpp
edaecc1db0584fa017822dfc2da0c968b53967e6 11-Nov-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aosp

(cherry picked from commit 1272887050a269d6d506b42099c2857847ad100b)

Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
/frameworks/base/libs/hwui/RenderNode.cpp
1272887050a269d6d506b42099c2857847ad100b 11-Nov-2014 Andreas Gampe <agampe@google.com> resolved conflicts for merge of 1d03b816 to lmp-mr1-dev-plus-aosp

Change-Id: Ib673768fe5fc03615626ef4b10590e5317f22172
1e19674107e1aa2224c2b8c7d12bfa057efe80ea 11-Nov-2014 Andreas Gampe <agampe@google.com> Frameworks/base: Wall Werror in libs/hwui

Turn on -Wall -Werror in libs/hwui. Fix errors.

Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
/frameworks/base/libs/hwui/RenderNode.cpp
088c514cb13f3b8f8683588c2f398f18df1547c9 06-Nov-2014 John Reck <jreck@google.com> resolved conflicts for merge of be70c771 to master

Change-Id: I469905bef7361c18aab725778694567d1987c06d
a35778c799e8073a42b9e22191bde9d838327ab7 06-Nov-2014 John Reck <jreck@google.com> Yank ResourceCache out of Caches

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
/frameworks/base/libs/hwui/RenderNode.cpp
9481684560b2815d2706512086bb36467ef6acc0 01-Nov-2014 John Reck <jreck@google.com> am e05575e9: am a8d83d63: Merge "Layer changes" into lmp-mr1-dev automerge: a51fba0

* commit 'e05575e9c36850d8cfe49396ac9a1372511b12bf':
Layer changes
0e89e2b7bcb2c035e8cee77f93120e7c5617f8d2 31-Oct-2014 John Reck <jreck@google.com> Layer changes

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
/frameworks/base/libs/hwui/RenderNode.cpp
945701126bedff0786f540c41c63c9af37fbbe73 23-Oct-2014 John Reck <jreck@google.com> am 41707d01: am ebcfd24b: am 68335df6: Merge "Fix damage bug" into lmp-mr1-dev

* commit '41707d01e9e950ebd00642ef3564edcff8c539e7':
Fix damage bug
5c9d717d3e7064db76d2a01223af51379dadf2c3 22-Oct-2014 John Reck <jreck@google.com> Fix damage bug

Bug: 18087374
Change-Id: Ie183392122c73f93010fb3f4be071c924b352966
/frameworks/base/libs/hwui/RenderNode.cpp
2dc236b2bae13b9a0ed9b3f7320502aecd7983b3 15-Oct-2014 Tom Hudson <tomhudson@google.com> Clean up physical coupling

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
/frameworks/base/libs/hwui/RenderNode.cpp
059476a24502500bbc277b86f9a4f7e840d1b5f5 30-Sep-2014 Chris Craik <ccraik@google.com> Avoid creating Caches instance with gfxinfo dump

bug:17509891
Change-Id: I182851068ba04926d60226b3ace95efea59eac45
/frameworks/base/libs/hwui/RenderNode.cpp
c166b6c4fc3e1158ca08cfed24639409161055cf 06-Sep-2014 Chris Craik <ccraik@google.com> Fix save count offsetting within DisplayList chunks

bug:17388541
Change-Id: I7cb1139b8cd30f72ae7c6de2074c3c5865b8f309
/frameworks/base/libs/hwui/RenderNode.cpp
6dad93eff6cb62aded9d07bc3381cf1cbea468b9 05-Sep-2014 John Reck <jreck@google.com> Merge "Yet more layer tracking logging" into lmp-dev
443a714fa7c0dd07fee3527cc5bc3d3ca1fb7d44 05-Sep-2014 John Reck <jreck@google.com> Yet more layer tracking logging

Bug: 17208461

Change-Id: I55e7d0921eb565867e966d68b798b7b92c391b55
/frameworks/base/libs/hwui/RenderNode.cpp
2d3f9033f8803d471720be60228d9894dd385488 04-Sep-2014 Chris Craik <ccraik@google.com> Merge "Prioritize reveal clipping over Outline clipping" into lmp-dev
e83cbd451868a734bfac07ccd680d5617080b579 04-Sep-2014 Chris Craik <ccraik@google.com> Prioritize reveal clipping over Outline clipping

bug:15780987
bug:17350602

Also update docs around clipping nesting behavior,
and some Z ordering behavior.

Change-Id: Iaa204350a0adfdcbd8c4b821fb4a9c0ae22f2613
/frameworks/base/libs/hwui/RenderNode.cpp
80068b735eb4ef26f0d9dbcb0fbc5e4982c5c215 29-Aug-2014 John Reck <jreck@google.com> Merge "Track buildLayer calls, destroy if unused" into lmp-dev
998a6d81896df8b662cc10ddeb35087b78b38d72 29-Aug-2014 John Reck <jreck@google.com> Track buildLayer calls, destroy if unused

Bug: 17208461

Change-Id: Ibdb104a493285d77a6891c5e74e38a52c7014da9
/frameworks/base/libs/hwui/RenderNode.cpp
bf939b2671ba0618e0cdca3e6c75d59f35a83bba 28-Aug-2014 Chris Craik <ccraik@google.com> Merge "Update transform isolation to handle command chunks" into lmp-dev
119907cd2575c56b1ebf66348b52e67aaf6a88d8 14-Aug-2014 John Reck <jreck@google.com> Animator stuff

Bug: 17228458

Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
/frameworks/base/libs/hwui/RenderNode.cpp
c3e75f9d54b3629b3fd27afafa2e07bd07dad9b3 28-Aug-2014 Chris Craik <ccraik@google.com> Update transform isolation to handle command chunks

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
/frameworks/base/libs/hwui/RenderNode.cpp
8afd0f245cc0c4a0366f39f41b5f78e47ee83be3 22-Aug-2014 Chris Craik <ccraik@google.com> Create z reordering boundaries around dispatchDraw

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
/frameworks/base/libs/hwui/RenderNode.cpp
7d3734491516fdda47059f2a36c1de9fa39dd8a9 21-Aug-2014 John Reck <jreck@google.com> Merge "Don't run animators in buildLayer" into lmp-dev
9eb9f6f8cbbbd87d45da8071aa54cb066a797723 21-Aug-2014 John Reck <jreck@google.com> Don't run animators in buildLayer

Bug: 17172689

Change-Id: Ib47d589c002543327fa336718440f9f8c95524e0
/frameworks/base/libs/hwui/RenderNode.cpp
c71bfcaa182e3d4fd9874362d3b4781fda934a21 21-Aug-2014 Chris Craik <ccraik@google.com> Fix layer shadow transform crash

bug:17180252

Change-Id: Ia648b8c98a217a3a4973917bf255d1397802cbbe
/frameworks/base/libs/hwui/RenderNode.cpp
69e5adffb19135d51bde8e458f4907d7265f3e23 14-Aug-2014 Chris Craik <ccraik@google.com> Define shadow casting behavior within layers

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
/frameworks/base/libs/hwui/RenderNode.cpp
b3cca876c2e11b865cb4f83abe2c48a60b95af5b 09-Aug-2014 Chris Craik <ccraik@google.com> Fix ripples projecting to scrolled view

bug:16873774

1) Fix projectionReceiveIndex, which could in some cases point at
translate/restore ops.

2) Use background translateX / translateY for projected RenderNodes.
This makes them match background position, and thus properly account
for scroll.

Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22
/frameworks/base/libs/hwui/RenderNode.cpp
a7c2ea20c43ab797bef5801530687e22e83def8f 08-Aug-2014 John Reck <jreck@google.com> Fix damage for layers for projection receivers

Bug: 16880228

Change-Id: I59ab760a21f49cc2cac0d8936b173cff292e6114
/frameworks/base/libs/hwui/RenderNode.cpp
7466986d2055eb8711f36a85ac539b1572ffe805 08-Aug-2014 Chris Craik <ccraik@google.com> Fix leak of SkPathRefs

bug:15939479

SkPath objects owned by DisplayListOps weren't being torn down, and
thus weren't releasing their SkPathRef innards.

Change-Id: I2581e124600a93a399ef3251f456c02ab52839a8
/frameworks/base/libs/hwui/RenderNode.cpp
dc0349bebafb486b044655f3c146450b527a5123 07-Aug-2014 John Reck <jreck@google.com> Add missing null check

Bug: 16352267

Change-Id: Ib60baa6d22ec02ba623a297660e2e3ecc7557d0f
/frameworks/base/libs/hwui/RenderNode.cpp
c79eabcd3c6306bb2ec75f9584b79e661f265127 05-Aug-2014 John Reck <jreck@google.com> roundOut layer damage

Bug: 16734708

Change-Id: I8815b7cf5f74be6deda98aaaf7cde85509def373
/frameworks/base/libs/hwui/RenderNode.cpp
77b5cad3efedd20f2b7cc14d87ccce1b0261960a 31-Jul-2014 Chris Craik <ccraik@google.com> Add outline alpha

bug:16140822
bug:16566746

This allows background drawables to alter the opacity of a shadow
being cast with their own alpha values.

Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
/frameworks/base/libs/hwui/RenderNode.cpp
af4d04cab6d48ae0d6a5e79bd30f679af87abaad 29-Jul-2014 Chris Craik <ccraik@google.com> Use RoundRect clipping for circle reveal animation

bug:16630975

Also, remove inverse clipping feature from reveal animator.

Change-Id: I770a4eb48cd123b0ca0f39d16a0f3eefd1be3653
/frameworks/base/libs/hwui/RenderNode.cpp
590b8d3601a518f6c3e00a28e88add36142bde22 28-Jul-2014 Bo Liu <boliu@google.com> Merge "Add kModeSync" into lmp-dev
09d5cddf67b676018700bcc10a72242641cd7eec 24-Jul-2014 John Reck <jreck@google.com> Add kModeSync

Bug: 16526750

Change-Id: I4c087160e80432739321172fd57880846c8de6e0
/frameworks/base/libs/hwui/RenderNode.cpp
a753f4c6cb8558795e673df1896532cd148781e2 24-Jul-2014 Chris Craik <ccraik@google.com> Move ClipBounds to native

bug:15698973

Also simplifies RenderNode LTRB properties

Change-Id: I09263a697b71d325a46b57cd5250a2b165f251c8
/frameworks/base/libs/hwui/RenderNode.cpp
1aa5d2d7068147ff781cfe911a93f01593a68c79 24-Jul-2014 John Reck <jreck@google.com> Fix ALL compile warnings

All warnings/errors fixed for GCC & Clang

Change-Id: I2ece3a136a5ae97a9acc3069537ed986238b5fd3
/frameworks/base/libs/hwui/RenderNode.cpp
0645128b80621edee70f8cab4afb208fe0c26bec 21-Jul-2014 Chris Craik <ccraik@google.com> Make setter methods on Outline call setEmpty() based on params

bug:16142564

Additionally, better define behavior around null outline providers:

A view with an empty outline, and setClipToOutline=true will not be
rendered, though one with a null outline provider
(and thus no outline) will be.

Change-Id: Ic9549841b107b2eb51b417c66058a0cd69dd89eb
/frameworks/base/libs/hwui/RenderNode.cpp
dcba6725e8b9d3eba9ad7a01258d6aa974feafba 08-Jul-2014 John Reck <jreck@google.com> Fix layers lifecycle issues

Bug: 16118540

Fix an issue where we could have a reference to a Layer after
the GL context was destroyed

Change-Id: I7bfd909d735ca6b942ebe188fc10099422eb6d95
/frameworks/base/libs/hwui/RenderNode.cpp
83601538918620e63f5a765d3eaab3a63494b454 08-Jul-2014 John Reck <jreck@google.com> Revert "Fix destroyHardwareResources"

This reverts commit bac48c4d0c6f71f67074a430cd365ea2e15924b8.

Change-Id: Iba8b729d5e91ca31976fc2bdf9c1dd5fdb19de9a
/frameworks/base/libs/hwui/RenderNode.cpp
ec0c92548071801c81e02ca72b9864739e1c080c 08-Jul-2014 John Reck <jreck@google.com> Fix destroyHardwareResources

The UI thread needs to know whether or not the display list is
valid, so bring back View.destroyHardwareResources and instead
have the native side assert that View did the right thing

Change-Id: I4f8dee6e9c13ec7ab520becdc5cfe20e92a76f8f
/frameworks/base/libs/hwui/RenderNode.cpp
f47a594f5250b1914c36423ee6b371f0b8db09d0 01-Jul-2014 John Reck <jreck@google.com> Fix onTrimMemory for HardwareRenderer

Also fixes detachFunctor possibly drawing after return

Bug: 15189843
Bug: 15990672

Change-Id: I64c48cb674c461a8eeaba407b697e09f72c98ce3
/frameworks/base/libs/hwui/RenderNode.cpp
68bfe0a37a0dcef52abd81688d8520c5d16e1a85 25-Jun-2014 John Reck <jreck@google.com> Animator refactoring & fixes

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
/frameworks/base/libs/hwui/RenderNode.cpp
3b20251a355c88193c439f928a84ae69483fb488 23-Jun-2014 John Reck <jreck@google.com> No-fail invokeFunctor

Bug: 15513308
Bug: 15449247

Change-Id: I13a29f9c8d4975cdda6dcb33b6332c2555ff0f7c
/frameworks/base/libs/hwui/RenderNode.cpp
a7090e0cfd7c719a6d4c03aae34f5db98754cbdd 21-Jun-2014 Chris Craik <ccraik@google.com> Update 'DisplayList' vs 'RenderNode' naming in several places

Change-Id: I635c6627d098b661fb9b0ba1bd42fa6d7277d287
/frameworks/base/libs/hwui/RenderNode.cpp
3281442aa75872b8947f0b0a5203257c6849129d 21-Jun-2014 Chris Craik <ccraik@google.com> Merge "Wrap ViewGroup content in save/restore to protect composited children"
80d4902196899d1325cd9f52c06ae0174cf9bd4c 21-Jun-2014 Chris Craik <ccraik@google.com> Wrap ViewGroup content in save/restore to protect composited children

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
/frameworks/base/libs/hwui/RenderNode.cpp
c25e506f7fc08790c0532f927f31310a2ca778b7 18-Jun-2014 John Reck <jreck@google.com> Throw ISE on too-big-views-with-layers

Bug: 12971954

Change-Id: I3ef995e91f236014b0a72a90846ef19ce6dc42b1
/frameworks/base/libs/hwui/RenderNode.cpp
ce9f308063cc2bc7851f3f58c881da8a7271eecc 18-Jun-2014 John Reck <jreck@google.com> Fix dirty calculation for layer updates

Bug: 15682142

Defer early return of alpha <= 0 for damage accumulation until
popTransform() so that layer updates will be performed regardless
of alpha

Change-Id: Ifb94dd3ed2d96d610e6f2f3071933903016273a5
/frameworks/base/libs/hwui/RenderNode.cpp
293e868bfc1b07aad2cb2ebeee5b07424852c510 17-Jun-2014 John Reck <jreck@google.com> Handle Z in DA

Bug: 15671775

Change-Id: I33c7a70e78ef523ffd03165fb6c39d8e04d04f1f
/frameworks/base/libs/hwui/RenderNode.cpp
25fbb3fa1138675379102a44405852555cefccbd 12-Jun-2014 John Reck <jreck@google.com> Move LayerType to RenderNode

Change-Id: Icb79a5015cb0362b1f3a66d09007450730135a97
/frameworks/base/libs/hwui/RenderNode.cpp
a447d29c65fb811cd184775a3476101a1cede929 12-Jun-2014 John Reck <jreck@google.com> Fix DA bugs

* Now aware of transform of DrawDisplayListOp
* Supports projection

Bug: 15539677
Bug: 15506680

Change-Id: Ic16f482cd48c3add12e49eca529281be12b93491
/frameworks/base/libs/hwui/RenderNode.cpp
e4267ea4f20740c37c01bfb6aefcf61fddc4566a 04-Jun-2014 John Reck <jreck@google.com> Even FASTER damage calculations!

* 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
/frameworks/base/libs/hwui/RenderNode.cpp
b2367cbf396f564cb6c66c0aaa51710ffa7bc052 30-May-2014 Derek Sollenberger <djsollen@google.com> Merge "Update HWUI matrix API"
fe5e7b7346a54537b980796ceeca66bfdbd05561 24-May-2014 John Reck <jreck@google.com> Enable debug stuffs

Bug: 14596762
* dumpsys gfxinfo implemented
* profile GPU visual_bars implemented

Change-Id: Icb948a9d5af5989b5615504d0d76ade64b93ef5b
/frameworks/base/libs/hwui/RenderNode.cpp
139088228faa7f3c446af7387e017933998a5570 10-Dec-2013 Derek Sollenberger <djsollen@google.com> Update HWUI matrix API

1. more closely mirror Skia API by using const ref instead of ptrs
2. store SkMatrix in the drawOp instead of the linear allocation heap

Change-Id: I4b9f6f76b9f7d19325e29303d27b793679fd4823
/frameworks/base/libs/hwui/RenderNode.cpp
61317325b7b4b4ffafd9400ab5966e8d7c67df2e 21-May-2014 Chris Craik <ccraik@google.com> Disable shadow drawing for empty/null outlines

Change-Id: I60d0f326cfab97d88c49d17cf32e619b5e60b94a
/frameworks/base/libs/hwui/RenderNode.cpp
c9ee304c91b5572f0c1cd95e9bd1e4a84e28587d 16-May-2014 Chris Craik <ccraik@google.com> Merge "Round rect outline clipping"
deeda3d337aed1eee218b89a7aba5992ced371f0 06-May-2014 Chris Craik <ccraik@google.com> Round rect outline clipping

Change-Id: Iee9cf4f719f6f1917507b69189ad114fa365917b
/frameworks/base/libs/hwui/RenderNode.cpp
ff941dcd815021bb20d6504eb486acb1e50592c3 15-May-2014 John Reck <jreck@google.com> Animator start value...

Change-Id: Ifd35ed95a28c625086d7fa97764fe63ab4a997f1
/frameworks/base/libs/hwui/RenderNode.cpp
2bcad176757386d906157bb898167fbcebe9f55e 15-May-2014 Chris Craik <ccraik@google.com> Remove Path based outline clipping

Change-Id: Ic5ccd98a7517b46e768e53d6b0c8fdcda305fb2c
/frameworks/base/libs/hwui/RenderNode.cpp
f9be77940e365036fecd8cc0e491e8545c34e79b 03-May-2014 John Reck <jreck@google.com> Make RenderNodeAnimator and WebView play nice

Change-Id: Ifaefcf510b2d377663fc86f60608d6ec9be8329a
/frameworks/base/libs/hwui/RenderNode.cpp
52244fff29042926e21fa897ef5ab11148e35299 02-May-2014 John Reck <jreck@google.com> Add CanvasProperty for drawCircle

Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
/frameworks/base/libs/hwui/RenderNode.cpp
52622668f91c69ec718b356d2e0f8555fc88435f 30-Apr-2014 John Reck <jreck@google.com> Use resize, not reserve

Reserve ensures the underlying buffer is the correct size, but
iterating across it is not necessarily valid. Use resize() instead
to ensure that the iterator access is valid

Change-Id: I35ff5f4416bb94cf4ce2c6acf72ffd17ab3e523a
/frameworks/base/libs/hwui/RenderNode.cpp
e45b1fd03b524d2b57cc6c222d89076a31a08bea 15-Apr-2014 John Reck <jreck@google.com> RenderThread animator support

Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084
/frameworks/base/libs/hwui/RenderNode.cpp
cc39e16cb98855f35079941b5e7e6eac2b7bc388 26-Apr-2014 Chris Craik <ccraik@google.com> Add elevation, Z properties to View

Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
/frameworks/base/libs/hwui/RenderNode.cpp
717f39c7d98c7e4b08f7bb88102c720cb8990004 24-Apr-2014 Chris Craik <ccraik@google.com> Merge "Clip TouchFeedbackDrawable effect to receiver Outline"
3f085429fd47ebd32ac2463b3eae2a5a6c17be25 16-Apr-2014 Chris Craik <ccraik@google.com> Clip TouchFeedbackDrawable effect to receiver Outline

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
/frameworks/base/libs/hwui/RenderNode.cpp
e0bb87d4bdbd3b08ab6a8569c8e564ed59b8a5a7 23-Apr-2014 Chris Craik <ccraik@google.com> Fix translationZ matrix computation

bug:14259972

Ensure that translationZ is applied for true3dTransform property
transformations, even if the node doesn't have any other
transformation properties set.

Additionally, use fuzzy compare for translationZ, similar to
rotationX/Y, since they're expenive to leave set in rounding error
cases.

Change-Id: Idafa4423cc7751a8f433237b1f576aa7abb74f6e
/frameworks/base/libs/hwui/RenderNode.cpp
860d155f866cc15a725e7ce03763280987f24901 12-Apr-2014 John Reck <jreck@google.com> Fix issue with bitmap uploading

Bug: 13912749

Change-Id: Ic23fa1d280118dc93dc2716a4a24cc0bbbdca595
/frameworks/base/libs/hwui/RenderNode.cpp
286ffe4b28d2c004ce98f7ddb3a5f34441ab0d80 12-Apr-2014 Chris Craik <ccraik@google.com> Merge "Remove use-after-free signal in RenderNode"
143912fef8eff58146705849a0ba441ab6163409 11-Apr-2014 Chris Craik <ccraik@google.com> Remove use-after-free signal in RenderNode

bug:9321162

mDestroyed is no longer useful, as RenderNode is ref counted (not to
mention having its lifecycle significantly redesigned).

Change-Id: I429b9dd7740362c85d6416fbae567f0d47098e4e
/frameworks/base/libs/hwui/RenderNode.cpp
f7483e3af0513a1baa8341d403df2e0c0896a9ff 11-Apr-2014 John Reck <jreck@google.com> Simplify matrix calculations

Bug: 13913604

Change-Id: I2c0f85a34e1e520050a5a6131306d6b7c352d827
/frameworks/base/libs/hwui/RenderNode.cpp
f4198b713e43c0c0f9adac74203cf24c2a49b802 10-Apr-2014 John Reck <jreck@google.com> Merge hasFunctors & pushStaging into prepareTree

Bug: 13902607
Fixes synchronous mode for WebView in HardwareLayers

Change-Id: I90de1e26dcfd9b75cc2f03bac72705fc23237b68
/frameworks/base/libs/hwui/RenderNode.cpp
8de65a8e05285df52a1e6f0c1d5616dd233298a7 10-Apr-2014 John Reck <jreck@google.com> Switch DisplayListData to a staging model

Bug: 13912977

Change-Id: I5b2f664e797be22a58300964f57ceb4fab60528c
/frameworks/base/libs/hwui/RenderNode.cpp
087bc0c14bdccf7c258dce0cdef46a69a839b427 05-Apr-2014 John Reck <jreck@google.com> Refcount RenderNode

Change-Id: I7a86db8acc2b78ef33d987a43a119f5933d7d752
/frameworks/base/libs/hwui/RenderNode.cpp
49e6c73913e9bee58ea5e3984be151ee8e033163 31-Mar-2014 Chris Craik <ccraik@google.com> Move most TransformationInfo properties to RenderNode

This change dedupes the various properties that were represented both
in TransformationInfo, and RenderProperties on the native side.

RenderNode (and its associated properties) are now permanently
attached to a View in SW or HW. The native copy of these properties
are their sole representation.

Alpha to come in a later CL.

Also fixed issue with copying RenderNode's transform, and added
support of deleting RenderNodes in software rendering.

Change-Id: Ideb6e7f32b780e87aa1c32637c368356b3eee3a1
/frameworks/base/libs/hwui/RenderNode.cpp
b265e2ca50b6ceb2fd2987ef1f7d063b1bde19ae 27-Mar-2014 Chris Craik <ccraik@google.com> Support shadows on the root RenderNode

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
/frameworks/base/libs/hwui/RenderNode.cpp
08c96b5515f061f61e13b348f6022ce7c586e4c4 28-Mar-2014 Chris Craik <ccraik@google.com> Merge "Disable shadow overdraw avoidance in the inverse clip case"
024433f89684e1f9cb7b15ade7c480c9346fbe4d 26-Mar-2014 Chris Craik <ccraik@google.com> Disable shadow overdraw avoidance in the inverse clip case

The caster is effectivly transparent, so skip the optimization just as
is done for alpha < 1.0

Change-Id: I3d294222adf0137e20c1fb5808313d487e92e0a8
/frameworks/base/libs/hwui/RenderNode.cpp
07b6c552e6243c4f69a9c07ed9a08df78ff6d25e 27-Mar-2014 John Reck <jreck@google.com> Merge "Async drawing!"
668f0e38ef0277d55d3118af37e17b8c435df85c 26-Mar-2014 John Reck <jreck@google.com> Async drawing!

Change-Id: I7e728356f58af88174328a8c0b90d27b128bfe01
/frameworks/base/libs/hwui/RenderNode.cpp
8c271ca63b62061fd22cfee78fd6a574b44476fd 25-Mar-2014 Chris Craik <ccraik@google.com> Add private circular reveal API on View/RenderNode

Change-Id: I139c8e12b354083149a665f6768f3f6931a8dd15
/frameworks/base/libs/hwui/RenderNode.cpp
5bf11bb98f5dbe278c257355d24c181237abd68c 25-Mar-2014 John Reck <jreck@google.com> Add missing null check

Bug: 13635394
mDisplayListData can be null, make sure
to check for that before trying to walk through the
children list in updateProperties

Change-Id: I8d97b1656c1acf47b7c5df8a8771b0f30907261d
/frameworks/base/libs/hwui/RenderNode.cpp
d0a0b2a3140bfb1819a116413ce9d81886697a07 21-Mar-2014 John Reck <jreck@google.com> Add stagingProperties

Change-Id: Ic7de551f8843fd70a77f738e33028e25c020bb3c
/frameworks/base/libs/hwui/RenderNode.cpp
b49f446c98096c4790a11d9b5bc83a4e585278c9 20-Mar-2014 Chris Craik <ccraik@google.com> Rework Outline API, remove isolatedZVolume remnants

Change-Id: I30c2fe832dcb98fa6329b1a595b3d3aafbdcad6b
/frameworks/base/libs/hwui/RenderNode.cpp
113e0824d6bddf4376240681f9cf6a2deded9498 18-Mar-2014 John Reck <jreck@google.com> Move RenderNode to own file

Change-Id: I9380d161fd3ddd7b569c262dd8e7aa0c96151b1e
/frameworks/base/libs/hwui/RenderNode.cpp