Descriptioncc: Add RandomAccessListContainer, which has more restricted API.
This patch adds RandomAccessListContainer, which is similar to
ListContainer with two important differences:
- It supports random access via operator[]
- This is important for DisplayItemList use-case where an access into
an rtree returns indices of elements to be rasterized. With this,
we can access those elements directly.
- It doesn't support middle-of-list operations (inserts/deletes)
- This is done in order to simplify maintaining random access capabilities
BUG=527245
R=weiliangc, danakj
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/b10241fcd596d102733731b3d2db8e9ba875e41c
Cr-Commit-Position: refs/heads/master@{#349564}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : update #Patch Set 6 : #Patch Set 7 : #Patch Set 8 : #
Total comments: 19
Patch Set 9 : rebase #Patch Set 10 : #Patch Set 11 : update #Patch Set 12 : #
Messages
Total messages: 25 (6 generated)
|