[Spice-devel] [PATCH v4 0/6] Add OpenGL scanout drawing

Marc-André Lureau marcandre.lureau at gmail.com
Tue Feb 9 13:35:00 UTC 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.

v3->v4: (after Frediano review)
- rebase
- merged Frediano's fixup patches
- fix async_complete race
- remove unused sent field

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 (6):
  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             | 79 ++++++++++++++++++++++++++++++++++++++++++++++++
 server/dcc.h             | 14 +++++++++
 server/display-channel.c | 34 +++++++++++++++++++++
 server/display-channel.h |  8 +++++
 server/red-channel.c     | 19 ++++++++----
 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            |  3 ++
 server/spice-qxl.h       | 10 ++++++
 server/spice-server.syms |  6 ++++
 14 files changed, 295 insertions(+), 7 deletions(-)

-- 
2.5.0



More information about the Spice-devel mailing list