0

Fix grammatical error in how_cc_works.md file

Changes the line 'There's two types of damage...' to 'There are two
types of damage' because the former is grammatically incorrect.

Bug: 363034680
Change-Id: I679e7e12c5239363b473439dff36e880dfee6b8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878664
Reviewed-by: Sam Fortiner <samfort@microsoft.com>
Commit-Queue: John An <johna@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1360067}
This commit is contained in:
John An
2024-09-25 18:46:24 +00:00
committed by Chromium LUCI CQ
parent 5faaf44481
commit b962fbefa1

@ -376,7 +376,7 @@ Chrome has different notions of invalidation throughout the system.
Finally, damage is another word for “draw invalidation”.
Its the part of the screen that needs to be redrawn.
Theres two types of damage: invalidation damage and expose damage.
There are two types of damage: invalidation damage and expose damage.
Invalidation damage is due to raster invalidation, where a part of a texture has changed and the screen needs to be updated.
Expose damage is when a layer goes away, gets added for the first time, or gets reordered.
Theres no raster invalidation in these cases, but the screen still needs to be updated.