qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 7/9] fbdev: move to pixman


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 7/9] fbdev: move to pixman
Date: Wed, 19 Sep 2012 07:51:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120825 Thunderbird/10.0.7

On 09/18/12 17:01, Stefano Stabellini wrote:
> On Tue, 18 Sep 2012, Gerd Hoffmann wrote:
>> Stop reinventing the wheel.  Use the pixman library for raster ops.
> 
> I would separate the pixmap changes from this series: either we use
> this library everywhere or nowhere. At the very least vnc could use it.

The secret long term plan is to use pixman everywhere, but that is
certainly way to much for a single series anyway.

I have patches in the queue to switch over spice to pixman (and remove
pflib.[ch]).

vnc and sdl are obviously candidates.  Possibly device emulation too:
vga textmode font rendering, cirrus 2d ops.  But that is surely for
another discussion as this would make pixman a hard dependency for qemu.

> Also considering that you only support 32bpp in fbdev, I am not sure
> whether it actually is that useful in this case: you don't really need
> to handle any pixel format conversions, at most you need to handle
> differences in linesizes.

DisplaySurfaces can be 16bpp too.  The limitation to 32bpp can go away,
that is just a leftover from earlier revisions, 15+16 bpp should just
work too.  Also with the full series applied we let pixman do alot more
than just pixel copying: scaling, dirty area tracking, alpha bleeding.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]