memory: check semantics of nested mappings
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jan 2012 12:10:18 +0000 (13:10 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jan 2012 12:10:18 +0000 (13:10 +0100)
commit80f4716a615cd64e2bdf21143aa39ebe96601fb9
treea3c048a6ea6e4ad9a8c65d15be44ce16dc1b6895
parent0f6ca2afe4bbfb99094c5f58894ea368c2c52dff
memory: check semantics of nested mappings

Count how many mappings are currently active and also with what access pattern.
Update the design doc with restrictions on the access patterns for nested
mappings.
Check if nested mappings obey the access mode restrictions of the design doc.
Add various unit tests to check the desired behaviour.
docs/design/part-memory.txt
gst/gstmemory.c
gst/gstmemory.h
tests/check/gst/gstmemory.c