[Bug 1112147] [NEW] gbm_dri_bo_create fails to initialize bo->base.base.format

Launchpad Bug Tracker 1112147 at bugs.launchpad.net
Fri Feb 1 06:37:18 UTC 2013


You have been subscribed to a public bug by Daniel van Vugt (vanvugt):

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.

** Affects: mesa
     Importance: Medium
         Status: Confirmed

** Affects: mesa (Ubuntu)
     Importance: Undecided
     Assignee: Daniel van Vugt (vanvugt)
         Status: In Progress

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



More information about the Ubuntu-sponsors mailing list