[Spice-devel] [PATCH] Simplify memory management for the primary screen.

Jeremy White jwhite at codeweavers.com
Thu Sep 13 09:02:13 PDT 2012


> So we allocate another framebuffer here. Hmm, it is just another 1-16 MB of memory ;)

Yeah, good point.

> 
> Do you have an example how to produce corruption?

I'm working on a proper patch for my render + send mode.  When I go to
render into the screen frame buffer, my world comes crashing down...

> 
> Can you reuse the same buffer and still pass non NULL? I think it might not be trivial though, so in that case I'm ok with this since I don't see any other option.

It wasn't trivial, but I think it was fairly straight forward.

I'm sending an alternate patch.

Cheers,

Jeremy


More information about the Spice-devel mailing list