diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-10-06 21:17:40 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-10-06 21:17:40 -0400 |
commit | 3d5bae0700e4467000948133f89ce48cc295b4ff (patch) | |
tree | b9040bd0aff228eb91f315de9390e4b3956d5c01 /TODO | |
parent | 98ffc93b95c2b43d03735cfccf52fac203c26ac3 (diff) |
Add a shm buffer sharing mechanism
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -17,13 +17,15 @@ Core wayland protocol buffer = drm.create_buffer(); /* buffer with stuff in it */ - cache.upload(buffer, x, y, width, height, int key) + cache.upload(buffer, x, y, width, height, int hash) drm.buffer: id, name, stride etc /* event to announce cache buffer */ - cache.image: key, buffer, x, y, stride /* event to announce + cache.image: hash, buffer, x, y, stride /* event to announce * location in cache */ + cache.reject: hash /* no upload for you! */ + cache.retire: buffer /* cache has stopped using buffer, please * reupload whatever you had in that buffer */ |