For DDK does not support PreRotation, add ENV to enable Prerotation.
Change-Id: Ibcd15977ed7bb486b164039b83d1a16da6918b00
}
//TIZEN_ONLY(20161121):Support PreRotation
- if (glsym_wl_egl_win_get_capabilities)
+ if (getenv("EVAS_GL_PREROTATION") && glsym_wl_egl_win_get_capabilities)
{
int prerotation_cap = EVAS_WL_EGL_WINDOW_CAPABILITY_NONE;
prerotation_cap = glsym_wl_egl_win_get_capabilities(gw->win);
}
else
{
- gw->support_pre_rotation = 0;
+ gw->support_pre_rotation = 0;
}
}
else
{
- DBG("PreRotation API is Invalid!!");
+ DBG("PreRotation is invalid!!");
}
gw->egl_context[0] =