DescriptionNew display item caching
The algorithm becomes much simpler after we forced full layer painting
because all objects needing paint will appear in the new paint list.
To handler reordering, we need to lookup the matching display item of
a CachedDisplayItem by client.
If we can't find a matching display item for a CachedDisplayItem, there
must be under-invalidations (crbug.com/450725). We output an error
message, and in debug mode, paint the object red.
BUG=444163
TEST=ViewDisplayListTest.ComplexUpdateSwapOrder
Patch Set 1 #Patch Set 2 : Working patch #
Total comments: 4
Patch Set 3 : Add missed CachedDisplayItem.cpp #Patch Set 4 : Fix release build #Patch Set 5 : #Patch Set 6 : Update comments #
Total comments: 9
Patch Set 7 : Address chrishtr's comments #Patch Set 8 : Update updatePaintList() #Patch Set 9 : New method, supporting partial paint #
Total comments: 2
Messages
Total messages: 36 (9 generated)
|