[Mesa-dev] [RFC PATCH] dri: add a way to request that modes have matching color/zs depths

Marek Olšák maraeo at gmail.com
Sun Aug 21 08:24:54 UTC 2016


On Sat, Aug 20, 2016 at 10:13 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Some GPUs, notably nv3x/nv4x can't render to mismatched color/zs
> framebuffer depths. Fallbacks can be done by the driver, with shadow
> surfaces, but no reason to encourage applications to select non-matching
> glx visuals.
>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>
> This is obviously not fully hooked up, but I plan on adding a PIPE_CAP to gallium and then pass the result of that into the driCreateConfigs function. Does this seem like an acceptable way of achieving this?

Yes.

Marek


More information about the mesa-dev mailing list