commit | 6bd6294f4aab4148472386cd31fe30afc3c77338 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Thu Jun 20 20:38:23 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Jun 21 23:22:30 2013 -0400 |
tree | a394b08fd39986b160965f7161b47971fab5fd0e | |
parent | 8a4a9eb2e4c6c6c0ba98e2d3afdb796f8745eaa5 [diff] |
Add a weston_buffer structure to replace wl_buffer This commit adds a weston_buffer structure to replace wl_buffer. This way we can hold onto buffers by just their resource. In order to do this, the every renderer.attach function has to fill in the weston_buffer.width and weston_buffer.height fields. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>