[Spice-devel] [RFC spice-gtk v3 0/1] Direct rendering

Snir Sheriber ssheribe at redhat.com
Wed Apr 25 12:43:13 UTC 2018


Changes from v2 are mainly in the signal-handle path, now it works
as follows:

By default, spice-gst-decoder will be asking for the window handle,
if the stream is indeed full-screen\streaming-mode stream a signal
will be sent to the widget that will return (as part of the signal)
the window handle (If possible. Also the right drawing area is
applied to the widget in this stage) and the returned window handle
will used by the decoder to apply the GstVideoOverlay. In case
decoder cannot get a valid handle, the old rendering path will be
used.

Snir Sheriber (1):
  Gstreamer: Use GstVideoOverlay if possible

 src/channel-display-gst.c  | 92 +++++++++++++++++++++++++++++++++++-----------
 src/channel-display-priv.h |  2 +
 src/channel-display.c      | 35 ++++++++++++++++++
 src/channel-display.h      |  3 ++
 src/spice-marshal.txt      |  1 +
 src/spice-widget.c         | 33 +++++++++++++++++
 6 files changed, 145 insertions(+), 21 deletions(-)

-- 
2.14.3



More information about the Spice-devel mailing list