Change-Id: Ia195261e17b98ec496c568c15c449dfd0ce2d6cd
{
Eina_List *l;
E_Hwc_Window *hwc_window;
+ E_Client *ec;
Eina_Bool can_commit = EINA_TRUE;
+ Eina_Bool matched_output_size = EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN_VAL(output->output_hwc, EINA_FALSE);
can_commit = EINA_FALSE;
}
+ else
+ { /* check if the size of the surface is the same as the one of the output */
+ if (matched_output_size == EINA_FALSE)
+ {
+ ec = hwc_window->ec;
+ if (ec->w == output->config.geom.w && ec->h == output->config.geom.h)
+ matched_output_size = EINA_TRUE;
+ }
+ }
}
+ if (matched_output_size == EINA_FALSE)
+ can_commit = EINA_FALSE;
+
return can_commit;
}