summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-02 09:25:40 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-02 09:30:19 -0500
commit444926923fde111d66b4342a3af48b6972a2dffc (patch)
tree282badbc0de2ae8767231e88604e779322068201
parent6e96d75c7654fa43a20ffe681d6e02cb9c5b32bc (diff)
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>
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 21d706c050..9bd3087136 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -341,7 +341,7 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUS
341 Ecore_Evas_Interface_Drm *iface; 341 Ecore_Evas_Interface_Drm *iface;
342 Ecore_Evas_Engine_Drm_Data *edata; 342 Ecore_Evas_Engine_Drm_Data *edata;
343 int method; 343 int method;
344 uint32_t format = GBM_FORMAT_ARGB8888; 344 uint32_t format = GBM_FORMAT_XRGB8888;
345 uint32_t flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING; 345 uint32_t flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING;
346 char *num; 346 char *num;
347 347