[Spice-devel] [PATCH x11spice v4 0/3] Add cache for SHM segments

Brendan Shanks bshanks at codeweavers.com
Tue Aug 20 01:03:31 UTC 2019


Add a cache to x11spice for SHM segments.

v4 simplifies the 'if' clauses in shm_cache_get/add, as suggested by
Frediano.

Brendan Shanks (3):
  Use unsigned int/size_t for display width/height/buffer size
  Create separate shm_segment_t struct for SHM segments
  Add cache for SHM segments

 doc/spice_indent |   1 +
 src/display.c    | 205 ++++++++++++++++++++++++++++++++++++++++-------
 src/display.h    |  29 ++++---
 src/scan.c       |   2 +-
 src/session.c    |   2 +-
 src/spice.c      |   2 +-
 6 files changed, 199 insertions(+), 42 deletions(-)

-- 
2.17.1



More information about the Spice-devel mailing list