unsigned int phy_w, phy_h;
const tdm_output_mode *tmodes = NULL;
int num_tmodes = 0;
+ unsigned int pipe = 0;
int size = 0;
error = tdm_output_get_model_info(output->toutput, &maker, &screen, NULL);
return EINA_FALSE;
}
+ /* we apply the screen rotation only for the primary output */
+ error = tdm_output_get_pipe(output->toutput, &pipe);
+ if (error == TDM_ERROR_NONE && pipe == 0)
+ output->config.rotation = e_comp->e_comp_screen->rotation;
+
if (maker)
{
size = strlen(output->id) + 1 + strlen(maker) + 1;
output->config.geom.x, output->config.geom.y,
output->config.geom.w, output->config.geom.h);
+ INF("E_OUTPUT: rotation = %d", output->config.rotation);
+
return EINA_TRUE;
}