ecore-evas-drm: Default to GBM_FORMAT_ARGB8888
authorChris Michael <cp.michael@samsung.com>
Wed, 17 Jun 2015 14:18:28 +0000 (10:18 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 17 Jun 2015 14:19:29 +0000 (10:19 -0400)
Summary: Seems some platforms (my setup here at least) don't have EGL
configs which suppose GBM_FORMAT_XRGB8888, so default to ARGB

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/drm/ecore_evas_drm.c

index 682cbe8..60be68e 100644 (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_XRGB8888;
+   uint32_t format = GBM_FORMAT_ARGB8888;
    uint32_t flags  = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING;
    char *num;