Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: third_party/WebKit/Source/core/paint/README.md

Issue 1791543005: InPrePaint document state and PrePaintTreeWalk class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/README.md
diff --git a/third_party/WebKit/Source/core/paint/README.md b/third_party/WebKit/Source/core/paint/README.md
index 645b76cb2ab3ffb31b823641368cf47b492652d4..cac22f1988df9004014a51d99066a08845a62564 100644
--- a/third_party/WebKit/Source/core/paint/README.md
+++ b/third_party/WebKit/Source/core/paint/README.md
@@ -1,6 +1,11 @@
# `Source/core/paint`
-This directory contains implementation of painters of layout objects.
+This directory contains implementation of painters of layout objects. It covers
+the following document lifecycle states:
+
+* PaintInvalidation (`InPaintInvalidation` and `PaintInvalidationClean`)
+* PrePaint (`InPrePaint` and `PrePaintClean`)
+* Paint (`InPaint` and `PaintClean`)
## Glossaries
@@ -188,6 +193,19 @@ When this happens, we invalidate all `InlineBox`es in the first line.
TODO(wangxianzhu): add details
+## [`PrePaintTreeWalk`](PrePaintTreeWalk.h) (Slimming paint v2 only)
+
+During `InPrePaint` document lifecycle state, this class is called to walk the whole
+layout tree, beginning from the root FrameView, across frame boundaries. We do the
+following during the tree walk:
+
+* Building paint property tree: creates paint property tree nodes for special
+ things in the layout tree, including but not limit to: overflow clip, transform,
+ fixed-pos, animation, mask, filter, etc.
+
+* Paint invalidation: Not implemented yet. TODO(wangxianzhu): add details after
+ it's implemented.
+
## Paint result caching
`PaintController` holds the previous painting result as a cache of display items.
« no previous file with comments | « third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698