[Spice-devel] [PATCH spice 00/18] Add OpenGL scanout support
Marc-André Lureau
marcandre.lureau at gmail.com
Tue Dec 15 15:49:14 PST 2015
See the related protocol changes for message details.
2 new functions are exported:
- spice_gl_scanout() to specify the current scanout. The server will
then own the given fd. It will keep the most recent version to set
upcoming clients scanout with the up to date version.
- spice_gl_draw_async() to update a region within the last scanout. The
async is done when all clients have either replied done or left.
The first few utility/cleanup patches could be added to upstream
before the protocol changes so that further update of this series
would be smaller and easier to review.
thanks
Marc-André Lureau (18):
stream: consitify reds_stream_get_family() argument
build-sys: build a utility libserver.la
build-sys: build a noinst libtest.la to link to
reds-stream: add reds_stream_is_plain_unix()
reds-stream: add send_msgfd()
tests: remote test_util.h
tests: add fdpass stream test
red-channel: send marshaller message fd
channel: document pipes_create_batch() function
channel: do not call pipe_add with null items
red-channel: return number of created pipe items
Declare AsyncCommand in red-common
Update spice-common
Add new spice-gl stubs API
Handle GL_SCANOUT messages
Send current GL scanout to new client
Handle GL_DRAW messages
Handle GL_DRAW_DONE
server/Makefile.am | 10 +++-
server/dcc-send.c | 39 +++++++++++++
server/dcc.c | 76 +++++++++++++++++++++++++
server/dcc.h | 15 +++++
server/display-channel.c | 35 ++++++++++++
server/display-channel.h | 6 ++
server/red-channel.c | 51 ++++++++++++++---
server/red-channel.h | 4 +-
server/red-common.h | 2 +
server/red-dispatcher.c | 56 +++++++++++++++++++
server/red-dispatcher.h | 4 +-
server/red-worker.c | 27 +++++++++
server/reds-stream.c | 60 +++++++++++++++++++-
server/reds-stream.h | 4 +-
server/reds.c | 2 +
server/reds.h | 4 ++
server/spice-qxl.h | 11 ++++
server/spice-server.syms | 6 ++
server/tests/Makefile.am | 30 +++++-----
server/tests/basic_event_loop.c | 1 -
server/tests/stream-test.c | 118 +++++++++++++++++++++++++++++++++++++++
server/tests/test_display_base.c | 23 ++++----
server/tests/test_playback.c | 1 -
server/tests/test_util.h | 29 ----------
spice-common | 2 +-
25 files changed, 539 insertions(+), 77 deletions(-)
create mode 100644 server/tests/stream-test.c
delete mode 100644 server/tests/test_util.h
--
2.5.0
More information about the Spice-devel
mailing list