diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2016-02-09 14:35:02 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-02-09 14:01:12 +0000 |
commit | ebf461b8e699536a600a15d600dc9a28e865cb90 (patch) | |
tree | d30f91c563b9154e1bc7b38db912a11d46b88873 /server/spice-server.syms | |
parent | 9766619dfffaebc82728624e6d0a0c3083ee2906 (diff) |
Add new spice-gl stubs API
- spice_qxl_gl_scanout() to take the current scanout
- spice_qxl_gl_draw_async() to draw the scanout, is like other Spice async
functions, it takes a cookie and will return in the
QXLInterface.async_complete()
Two new fields are also added to QXLState, in order to save the current
scanout, and the pending async.
A scanout can't be updated if there are pending draw atm. Discarding
outdated draws is left as a future improvement to allow updating the
scanout without waiting for draw async to be done.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
[make QXL function names more coherent - Frediano Ziglio]
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'server/spice-server.syms')
-rw-r--r-- | server/spice-server.syms | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/spice-server.syms b/server/spice-server.syms index 4137546c..7987d51a 100644 --- a/server/spice-server.syms +++ b/server/spice-server.syms @@ -167,3 +167,9 @@ SPICE_SERVER_0.12.7 { global: spice_server_set_keepalive_timeout; } SPICE_SERVER_0.12.6; + +SPICE_SERVER_0.13.1 { +global: + spice_qxl_gl_scanout; + spice_qxl_gl_draw_async; +} SPICE_SERVER_0.12.7; |