commit | aa398ae1f333306e25f681846749696bf1936f8e | [log] [tgz] |
---|---|---|
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | Fri Oct 25 16:26:33 2013 +0300 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Oct 25 12:21:51 2013 -0700 |
tree | bb23c34aaffe29315d5902e17b526ec8f9357365 | |
parent | 6b16214fb93cdea23f2f79409070fd16b6845a5b [diff] |
compositor: Let renderers create and destroy surface state on their own Remove create_surface() and destroy_surface() from the renderer interface and change the renderers to create surface state on demand and destroy it using the weston_surface's destroy signal. Also make sure the surfaces' renderer state is reset to NULL on destruction. This is a step towards runtime switchable renderers. (rpi-renderer changes are only compile-tested)