[Spice-devel] [PATCH v3 0/9] Add OpenGL scanout drawing

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jan 22 09:14:01 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.

v2->v3: (after Frediano review)
- rebase
- change syms version to SPICE_SERVER_0.13.1
- remove PIPE_ITEM helper
- do not allow new scanout while a draw is pending
- get rid of fd check before sending msgfd

v1->v2:
- rebase
- change libtest.la for libtest.a
- add a few tests cleanup patches

Marc-André Lureau (9):
  tests: link test-qxl-parsing with libserver
  tests: make sure that the default rule builds all tests
  red-channel: send marshaller message fd
  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     | 33 +++++++++++++++++----
 server/red-channel.h     |  2 +-
 server/red-dispatcher.c  | 57 ++++++++++++++++++++++++++++++++++++
 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 | 24 ++++++---------
 spice-common             |  2 +-
 16 files changed, 318 insertions(+), 23 deletions(-)

-- 
2.5.0



More information about the Spice-devel mailing list