[Spice-devel] Pixel format handling with offscreen surfaces

Alexander Larsson alexl at redhat.com
Thu Apr 15 03:50:57 PDT 2010


On Thu, 2010-04-15 at 02:12 +0300, Izik Eidus wrote:
> On Wed, 14 Apr 2010 16:12:21 +0200
> Alexander Larsson <alexl at redhat.com> wrote:
> > enum {
> >     SPICE_SURFACE_FMT_INVALID,
> >     SPICE_SURFACE_FMT_1A,
> >     SPICE_SURFACE_FMT_8A,
> >     SPICE_SURFACE_FMT_16_555,
> >     SPICE_SURFACE_FMT_16_565,
> >     SPICE_SURFACE_FMT_32_xRGB,
> >     SPICE_SURFACE_FMT_32_ARGB,
> >     SPICE_SURFACE_FMT_32_Axxx,
> > };
> 
> So this thing is attached for bitmaps as well?

No, that would keep using SPICE_BITMAP_FMT_xxx i think, because there
are a bunch of image formats that we don't want to be able to support as
surface types, like the palette-based modes and the 24bit rgb mode
(these are fine for sending data over the network, but not very
efficient when used to draw to).




More information about the Spice-devel mailing list