summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-11-04 09:43:35 -0500
committerChris Michael <cp.michael@samsung.com>2015-11-04 09:43:35 -0500
commitb8ebd5b35621c66fd3759d4a2c952c0524331e78 (patch)
tree24b39eb47b3b3bc55b156cbf8a0f44cb7b6c4942
parent49d9b3d3032d8c6e98fa364d1d428dd7b85a1535 (diff)
ecore-evas-gl-drm: Don't create software dumb buffers when using gl
Summary: If we are rendering using gl_drm, then we don't need to be creating extra software dumb buffers. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c7
1 files changed, 0 insertions, 7 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 9bd3087136..f7cfc553e6 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -355,12 +355,6 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUS
355 /* try to init drm */ 355 /* try to init drm */
356 if (_ecore_evas_drm_init(device) < 1) return NULL; 356 if (_ecore_evas_drm_init(device) < 1) return NULL;
357 357
358 if (!ecore_drm_device_software_setup(dev))
359 {
360 ERR("Could not setup device for software");
361 goto soft_err;
362 }
363
364 /* try to load gl libary, gbm libary */ 358 /* try to load gl libary, gbm libary */
365 /* Typically, gbm loads the dri driver However some versions of Mesa 359 /* Typically, gbm loads the dri driver However some versions of Mesa
366 * do not have libglapi symbols linked in the driver. Because of this, 360 * do not have libglapi symbols linked in the driver. Because of this,
@@ -501,7 +495,6 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUS
501 495
502eng_err: 496eng_err:
503 ecore_evas_free(ee); 497 ecore_evas_free(ee);
504soft_err:
505ee_err: 498ee_err:
506 _ecore_evas_drm_shutdown(); 499 _ecore_evas_drm_shutdown();
507 return NULL; 500 return NULL;