[Cogl] [PATCH] kms: Update to latest gbm api

Neil Roberts neil at linux.intel.com
Tue Aug 28 06:34:04 PDT 2012


Yup, this looks good to me. Thanks.

Reviewed by: Neil Roberts <neil at linux.intel.com>

- Neil

Robert Bragg <robert at sixbynine.org> writes:

> From: Robert Bragg <robert at linux.intel.com>
>
> gbm_bo_get_pitch was renamed to gbm_bo_get_stride to be consistent with
> how the terms pitch and stride are used throughout mesa. This updates
> the Cogl backend to use the new gbm_bo_get_stride name.
>
> For compatibility with previous version of libgbm we now explicitly
> check the version of libgbm in configure.ac and expose
> COGL_GBM_{MAJOR,MINOR,MICRO} defines to the code so we can conditionally
> use the older gbm_bo_get_pitch() name with older versions.


More information about the Cogl mailing list