Re: [Spice-devel] [PATCH x11spice v2 0/3] Add cache for SHM segments

2019-07-25 Thread Brendan Shanks
> On Jul 16, 2019, at 7:16 PM, Brendan Shanks wrote: > > Add a cache to x11spice for SHM segments. > > v2 should address Frediano's comments: style, use of G_N_ELEMENTS, > using unsigned types for width/height/size, creating a separate struct > to hold all the segment-specific variables, and re

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

2019-07-16 Thread Brendan Shanks
Add a cache to x11spice for SHM segments. v2 should address Frediano's comments: style, use of G_N_ELEMENTS, using unsigned types for width/height/size, creating a separate struct to hold all the segment-specific variables, and reducing traversals of the cache. Brendan Shanks (3): Use unsigned