commit | 9629fe32060cda8ebad45f80fb480a26317c67c6 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Mar 26 15:56:39 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Mar 26 19:27:35 2012 -0400 |
tree | 6ec062b8ae6d60a6de4deffdd9de6f047bde4348 | |
parent | 42b4f801164241eb31f9618f35aa0b8614e700c3 [diff] |
Simplify shm buffer handling There was a lot of code here to do a lot of work we didn't need to do. If we damage a surface with a shm buffer attached, all we need to do is to re-upload the damaged region to the texture. As for drm buffers, we don't assume anything changes on attach and only update the regions the client tells us to update in the damage request.