Hi,

> +      switch (fd_data->format) {
> +      case GBM_FORMAT_RGB565:
> +      case GBM_FORMAT_XRGB8888:
> +      case GBM_FORMAT_ARGB8888:
> +      case GBM_FORMAT_ABGR8888:
> +      case GBM_FORMAT_ARGB2101010:
> +      case GBM_FORMAT_XRGB2101010:
So Rob Clark pointed out on IRC that this misses quite a few formats.

I think I'm going to take a different approach and just convert the
two bo formats to
their fourcc versions, and not worry about the up front format validation.

--Ray
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to