[Bug 1112147]

Daniel van Vugt daniel.van.vugt at canonical.com
Fri Feb 1 06:42:29 UTC 2013


Or even simpler fix...
  bo->base.base.format = format;

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1112147

Title:
  gbm_dri_bo_create fails to initialize bo->base.base.format

Status in Mesa:
  Confirmed
Status in “mesa” package in Ubuntu:
  In Progress

Bug description:
  Calling gbm_bo_create() with format == GBM_BO_FORMAT_ARGB8888
  completes successfully. However reading back the format via
  gbm_bo_get_format() returns GBM_BO_FORMAT_XRGB8888.

  The problem seems to be that the bo internal structure is initialized
  to zero by calloc, but the format field is never set by
  gbm_dri_bo_create, so it stays zero (GBM_BO_FORMAT_XRGB8888) even when
  the real image format is something different.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1112147/+subscriptions



More information about the Ubuntu-sponsors mailing list