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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/README.md

Issue 2390443002: Unify GeometryPropertyTreeState and PropertyTreeState (Closed)
Patch Set: rebase x2 Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Platform paint code 1 # Platform paint code
2 2
3 This directory contains the implementation of display lists and display 3 This directory contains the implementation of display lists and display
4 list-based painting, except for code which requires knowledge of `core/` 4 list-based painting, except for code which requires knowledge of `core/`
5 concepts, such as DOM elements and layout objects. 5 concepts, such as DOM elements and layout objects.
6 6
7 This code is owned by the [paint team][paint-team-site]. 7 This code is owned by the [paint team][paint-team-site].
8 8
9 Slimming Paint v2 is currently being implemented. Unlike Slimming Paint v1, SPv2 9 Slimming Paint v2 is currently being implemented. Unlike Slimming Paint v1, SPv2
10 represents its paint artifact not as a flat display list, but as a list of 10 represents its paint artifact not as a flat display list, but as a list of
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 for each paint chunk. In the future, it is expected that we will use heuristics 256 for each paint chunk. In the future, it is expected that we will use heuristics
257 to combine paint chunks into a smaller number of layers. 257 to combine paint chunks into a smaller number of layers.
258 258
259 The owner of the `PaintArtifactCompositor` (e.g. `WebView`) can then attach its 259 The owner of the `PaintArtifactCompositor` (e.g. `WebView`) can then attach its
260 root layer to the overall layer hierarchy to be displayed to the user. 260 root layer to the overall layer hierarchy to be displayed to the user.
261 261
262 ## Geometry routines 262 ## Geometry routines
263 263
264 The [`GeometryMapper`](GeometryMapper.h) is responsible for efficiently computin g 264 The [`GeometryMapper`](GeometryMapper.h) is responsible for efficiently computin g
265 visual and transformed rects of display items in the coordinate space of ancesto r 265 visual and transformed rects of display items in the coordinate space of ancesto r
266 [`GeometryPropertyTreeState`](GeometryPropertyTreeState.h)s. 266 [`PropertyTreeState`](PropertyTreeState.h)s.
267 267
268 The transformed rect of a display item in an ancestor `GeometryPropertyTreeState ` 268 The transformed rect of a display item in an ancestor `PropertyTreeState` is
269 is that rect, multiplied by the transforms between the display item's 269 that rect, multiplied by the transforms between the display item's
270 `GeometryPropertyTreeState` and the ancestors, then flattened into 2D. 270 `PropertyTreeState` and the ancestors, then flattened into 2D.
271 271
272 The visual rect of a display item in an ancestor `GeometryPropertyTreeState` is 272 The visual rect of a display item in an ancestor `PropertyTreeState` is the
273 the intersection of all of the intermediate clips (transformed in to the 273 intersection of all of the intermediate clips (transformed in to the ancestor
274 ancestor state), with the display item's transformed rect. 274 state), with the display item's transformed rect.
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698