[PATCH v4 0/6] Add OpenGL scanout drawing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]