ector buffer: add COW access mode
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 11 Dec 2015 09:49:16 +0000 (18:49 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 5 Jan 2016 06:43:43 +0000 (15:43 +0900)
commit1f25b523b462309534e2fd8e59ffb62747cc6224
treea7756b0c33e7a2e37c8b8bc7cc86b638d42a8a6f
parent5e075c193c51201071b8efc950b49b45b9caa92c
ector buffer: add COW access mode

In case you map a buffer once for read-only and once for write,
we can generate a temporary copy and return that instead. This
buffer will be copied back to the original surface once the COW
surface is unmapped.
src/lib/ector/ector_generic_buffer.eo
src/lib/ector/software/ector_software_buffer.c