haikuwebkit/LayoutTests/fast/harness
Cameron McCormack 3e8c1056fb Include reasons for compositing in showLayerTree output
https://bugs.webkit.org/show_bug.cgi?id=225640

Reviewed by Simon Fraser.

Source/WebCore:

Since it seems useful to know why a layer is composited.

The logging code was only including one reason, rather than the
whole set of reasons, and that's unchanged (except for the function
name to make that clearer), although we could also just make that
include all of the reasons too.

There were two reason strings missing, which are also added --
OverflowScrollPositioning and WillChange -- which the use of a
switch should help catch in the future.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::logLayerInfo):
(WebCore::compositingReasonToString):
(WebCore::RenderLayerCompositor::logReasonsForCompositing):
(WebCore::operator<<):
* rendering/RenderLayerCompositor.h:
* rendering/RenderTreeAsText.cpp:

LayoutTests:

* fast/harness/render-tree-as-text-options-expected.txt:


Canonical link: https://commits.webkit.org/237616@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-12 06:04:18 +00:00
..
perftests
resources
uiscriptcontroller
fastmallocstatistics-object-expected.txt
fastmallocstatistics-object.html
font-weight-bold-expected.html
font-weight-bold.html
full_results.json
image-diff-template-expected.txt
image-diff-template.html
internals-object-expected.txt
internals-object.html
memoryinfo-object-expected.txt
memoryinfo-object.html
override-zzz-reset-expected.txt
override-zzz-reset.html
page-cache-crash-on-data-urls-expected.txt
page-cache-crash-on-data-urls.html
platform-layer-tree-as-text-expected.txt Add a mechanism to dump the PlatformCALayer subtree of a GraphicsLayer, for testing 2021-04-15 23:32:04 +00:00
platform-layer-tree-as-text.html Add a mechanism to dump the PlatformCALayer subtree of a GraphicsLayer, for testing 2021-04-15 23:32:04 +00:00
render-tree-as-text-options-expected.txt Include reasons for compositing in showLayerTree output 2021-05-12 06:04:18 +00:00
render-tree-as-text-options.html
results-expected.txt
results.html
sample-fail-mismatch-reftest-expected-mismatch.html
sample-fail-mismatch-reftest.html
sample-mismatch-reftest-expected-mismatch.html Add two sample mismatch reftests to make sure that reftests work correctly. 2011-08-17 01:29:17 +00:00
sample-mismatch-reftest.html
show-modal-dialog-expected.txt
show-modal-dialog.html
snapshot-captures-compositing-expected.html [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting 2016-06-24 00:08:00 +00:00
snapshot-captures-compositing.html
stats.json
test-duration-treemap-expected.txt
test-duration-treemap.html
testrunner-object-expected.txt
testrunner-object.html
use-page-cache-expected.txt
use-page-cache.html
user-preferred-language-expected.txt
user-preferred-language.html