ecore-evas-drm: Use GBM_FORMAT_XRGB8888 when creating new canvas

Summary: With linux kernels >= 4.2.x, we need to use
GBM_FORMAT_XRGB8888 when creating a new canvas else we end up with a
format mismatch when trying to add the framebuffer

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-11-02 09:25:40 -05:00
parent 6e96d75c76
commit 444926923f
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUS
Ecore_Evas_Interface_Drm *iface;
Ecore_Evas_Engine_Drm_Data *edata;
int method;
uint32_t format = GBM_FORMAT_ARGB8888;
uint32_t format = GBM_FORMAT_XRGB8888;
uint32_t flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING;
char *num;