[Spice-devel] [PATCH 6/7] New list based surface allocator

Yonit Halperin yhalperi at redhat.com
Tue Aug 24 04:19:37 PDT 2010


On 08/24/2010 11:41 AM, alexl at redhat.com wrote:
> From: Alexander Larsson<alexl at redhat.com>
>
> We store a free list in the SurfaceInfos, using a field not otherwise
> used for free surfaces. Also, treat base_mem == NULL as "surface in use"
> for easy checking.
base_mem != NULL

> ---
>   display/qxldd.h   |    1 +
>   display/res.c     |    4 ++++
>   display/surface.c |    2 +-
>   display/surface.h |   24 ++++++++++++++++--------
>   4 files changed, 22 insertions(+), 9 deletions(-)
>

Ack


More information about the Spice-devel mailing list