commit | 02bba7ceb07e30489ce6da2114242bed5cdc6f49 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Wed Feb 13 16:17:15 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Feb 14 12:32:49 2013 -0500 |
tree | dd1c938bbb7403cc140911b42f2d117a382eeca1 | |
parent | 811ec4ff31f8373335a1208beb2cbafa181282b5 [diff] |
window: move buffer type and transform into struct surface These are surface specifics, since buffers are surface specific. SURFACE_HINT_RESIZE is moved together to the other SURFACE_* flags, so that surface_create_surface() would not need two flags arguments. struct toysurface::prepare vfunc checks for SURFACE_HINT_RESIZE, and egl_window_surface_create() and shm_surface_create() check for the non-HINT flags. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>