[Spice-devel] [PATCH server v2 00/13] Add OpenGL scanout drawing
Marc-André Lureau
marcandre.lureau at gmail.com
Thu Jan 14 13:01:00 PST 2016
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.
v1->v2:
- rebase
- change libtest.la for libtest.a
- add a few tests cleanup patches
Marc-André Lureau (13):
build-sys: build a noinst libtest.a to link to
tests: link test-qxl-parsing with libserver
tests: make sure all tests are built on default rule
stream-test: add batch 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
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/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-dispatcher.c | 56 ++++++++++++++++++++++++
server/red-dispatcher.h | 2 +
server/red-worker.c | 27 ++++++++++++
server/reds.c | 2 +
server/reds.h | 4 ++
server/spice-qxl.h | 11 +++++
server/spice-server.syms | 6 +++
server/tests/Makefile.am | 106 ++++++++-------------------------------------
server/tests/stream-test.c | 16 +++++++
16 files changed, 359 insertions(+), 97 deletions(-)
--
2.5.0
More information about the Spice-devel
mailing list