native surface: Add scanout handlers
authorDerek Foreman <derekf@osg.samsung.com>
Wed, 21 Jun 2017 19:10:20 +0000 (14:10 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 23 Jun 2017 13:15:42 +0000 (08:15 -0500)
commit95bf3debd35f11253e29571ea929f5eedd4135a8
treef801bcaa3eaa22503151bb815dcb21c25ae71662
parent1552f85edeb7bd137d0a2215df3f03e8572483aa
native surface: Add scanout handlers

When a native surface ends up on a hardware plane, the caller needs to
know about it so it can prevent the resource from being destroyed while
on scanout (which may cause an implicit page flip and a stall), and
so it knows that the content may have changed usage domains.

This adds stubs for dealing with this - only for wl dmabuf right now, but
it may be useful for other surface types later.
src/lib/evas/Evas_Legacy.h