[RFC xserver 03/16] DRI3: Add multi-planar/modifier buffer requests

Adam Jackson ajax at nwnk.net
Tue Jun 13 20:43:46 UTC 2017


On Thu, 2017-06-08 at 19:43 +0100, Daniel Stone wrote:

> +    for (i = 0; i < nmodifiers; i++) {
> +	/* XXX: Could this be better ... ? */
> +        WriteToClient(client, sizeof(CARD32), &modifiers_hi[i]);
> +        WriteToClient(client, sizeof(CARD32), &modifiers_lo[i]);
> +    }

Could we just put a CARD64 on the wire instead? Sure seems like it'd be
simpler, here and elsewhere.

- ajax


More information about the xorg-devel mailing list