[PATCH 0/4] fb support for 8bpp bitmaps

Michel Dänzer michel at daenzer.net
Tue Jan 14 16:52:56 PST 2014

On Die, 2014-01-14 at 05:34 -0800, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
> > Didn't SNA prove though that sharing the same pixel storage for GPU and
> > CPU doesn't give the overall best performance even with Intel GPUs? It
> > certainly doesn't with most other GPUs.
> Yes, and strangely enough, this change is designed to *help* with that
> transition. We want to switch to a pure hardware accelerated design, but
> current hardware can't deal with 1bpp surfaces. That leaves us with two
> choices for depth 1 objects:
>  1) Never draw them with the GPU and leave them formatted 1bpp.
>  2) Always draw them with the GPU and format them 8bpp.

3) Given there is no point in sharing storage between CPU and GPU, keep
them formatted 1bpp for the CPU and convert them to >1bpp for the GPU
(and back to 1bpp for CPU readback).

Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140115/c7b918ac/attachment.pgp>

More information about the xorg-devel mailing list