commit | d9aae9c18c418cb1fa5c0e908490eb2041b77bed | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Tue Apr 26 13:46:38 2016 +0300 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Thu Jun 09 11:07:22 2016 +0300 |
tree | 44ec450aef855f09e1e4fb795b5779b84d1ad4f4 | |
parent | 4826f8760532784acff31c557a6789dfb90fe6ac [diff] |
compositor: check viewport source rect validity wp_viewporter spec requires protocol errors when the viewport is outside the buffer area. The viewport is checked in wl_surface.commit handler as the error needs to be delivered as a reply to the commit, not at state apply time later (e.g. with synchronized sub-surfaces, or at render time). Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>