Summary: If we are using the software version of ecore_evas_drm, then
make API call to setup the Ecore_Drm_Device for software rendering.
This creates the dumb buffers on the Ecore_Drm_Device.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
/* try to init drm */
if (_ecore_evas_drm_init(device) < 1) return NULL;
+ if (!ecore_drm_device_software_setup(dev))
+ {
+ ERR("Could not setup device for software");
+ goto soft_err;
+ }
+
/* try to allocate space for new ecore_evas */
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
{
eng_err:
ecore_evas_free(ee);
+soft_err:
ee_err:
_ecore_evas_drm_shutdown();
return NULL;