[Intel-gfx] [RFC] reduce number of visuals exposed by Intel drivers

Kristian Høgsberg krh at bitplanet.net
Fri Feb 5 22:20:35 CET 2010


On Fri, Feb 5, 2010 at 4:01 PM, Ian Romanick <idr at freedesktop.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'd like to remove a bunch of the visuals and fbconfigs exposed by the
> Intel drivers.  There are several categories of visuals that are likely
> not useful to anyone.  A couple of our test suites (e.g., glean) like to
> run over every possible visual.  As a result, the test suites take an
> extraordinary amount of time to run.
>
> I propose removing:
>
>  * All 24-bit depth / 0-bit stencil visuals.  These are compatible with
> the default state of a 24-bit depth / 8-bit stencil visual and offer no
> memory savings.  This will eliminate 24 (of 72) visuals by itself.
>
>  * All but one of the visuals with accumulation buffer.  Accumulation
> is a software path in the Intel drivers (though this could be fixed), so
> I don't see any utility in offering multiple, optimized buffer
> configuration choices.  This will eliminate an additional 23 visuals.
>
> This will leave the 25 visuals and 37 fbconfigs that are likely to be
> useful.
>
> Anyone have a concerns with me doing this?

Nice idea, it all sounds good to me.

Kristian



More information about the Intel-gfx mailing list