libs: blend: add surface generator API
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Fri, 10 Jan 2020 17:54:30 +0000 (09:54 -0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 14 Jan 2020 15:07:32 +0000 (15:07 +0000)
commit1363b53a9f3654f70dc63addaa15337a533c1ca2
tree542d7c9836c445fc2429a20886ca63d0f9205b3c
parent36fd4d5d8ad17abdbb0388c2a23b6b786bb9d75f
libs: blend: add surface generator API

This new API allows the user to call a single method (process)
which handles the [display] lock/unlock logic internally for
them.

This API supersedes the risky begin, render, end API.
It eliminates the need for the user to call a lock method
(process_begin) before processing the input buffers
(process_render) and calling an unlock method (process_end)
afterwards.

See #219
gst-libs/gst/vaapi/gstvaapiblend.c
gst-libs/gst/vaapi/gstvaapiblend.h