DescriptionAdd helper classes to for managing shared buffers.
First of a series of patches for Motown.
FifoAllocator - does the bookkeeping to implement heap semantics on an
imaginary buffer assuming normal streaming behavior (first allocated,
first released).
MappedSharedBuffer - owns a shared buffer, maps and unmaps it and does
offset/pointer conversions.
SharedMediaBufferAllocator - derived from MappedSharedBuffer, adds
heap semantics using FifoAllocator and thread safety.
BUG=none
R=johngro@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/9553aed2f2d15ac06050a6f1ec70c21670fe073b
Patch Set 1 #Patch Set 2 : fix .gitignore #
Total comments: 26
Patch Set 3 : sync #Patch Set 4 : Misc updates in response to feedback #Patch Set 5 : Added const keyword to const methods. #
Total comments: 2
Patch Set 6 : sync #Patch Set 7 : Removed incorrect DCHECK from FifoAllocator destructor. #Patch Set 8 : sync #Patch Set 9 : sync #
Messages
Total messages: 8 (2 generated)
|