Add a cache to x11spice for SHM segments. v3 rebases, fixes a bug in the next-biggest-entry handling in shm_cache_get(), and adds a comment in display.h to explain the cache size. 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 | 207 ++++++++++++++++++++++++++++++++++++++++------- src/display.h | 29 ++++--- src/scan.c | 2 +- src/session.c | 2 +- src/spice.c | 2 +- 6 files changed, 201 insertions(+), 42 deletions(-) -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel