From c30a6232df03e1efbd9f3b226777b07e087a1122 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 12 Oct 2020 14:27:29 +0200 Subject: BASELINE: Update Chromium to 85.0.4183.140 Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen --- chromium/docs/how_cc_works.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chromium/docs/how_cc_works.md') diff --git a/chromium/docs/how_cc_works.md b/chromium/docs/how_cc_works.md index 2b1f897ce58..fa3b84eb1cf 100644 --- a/chromium/docs/how_cc_works.md +++ b/chromium/docs/how_cc_works.md @@ -131,13 +131,13 @@ There are a number of heuristics to determine when and how to change rasterizati These aren’t perfect, but change them at your own peril. πŸ‰πŸ‰πŸ‰ -### PictureImageLayer +#### Directly composited images -A subclass of PictureLayer. -This is a special case for composited images in Blink. -If an image gets a composited layer but has no borders or padding (i.e. the painted content is exactly equal to the image) then some work can be saved here. -It "rasters" the image at fixed scales such that scaling this image is performant. -This is really a savings for software raster and in a gpu raster world such layers should never be created. +A specialized raster mode of PictureLayerImpl. +If a PictureLayer's DisplayItemList consists of a single drawImageRect DrawOp, we use different logic to determine what the raster scale of the image should end up being. +The layer is rastered at fixed scales such that scaling this image is performant. +The default raster scale is chosen such that the image will raster at its intrinsic side, then that scale is adjusted, based on how close it is to the ideal scale. +See PictureLayerImpl::ShouldAdjustRasterScale and RecalculateRasterScales for more details. ### TextureLayer -- cgit v1.2.1