Adding EVAS_GL_OPTIONS_CLIENT_SIDE_ROTATION would enforce direct
rendering even if the canvas is rotated. In that case, it is the
application's role to rotate the contents of the Evas_GL view.
Reference: https://review.tizen.org/gerrit/220869
Change-Id: I3b04548919db3a4f8a23cca9a5924e083aad30bb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
evas_gl_config_ = evas_gl_config_new();
evas_gl_config_->options_bits = (Evas_GL_Options_Bits)(
EVAS_GL_OPTIONS_DIRECT | EVAS_GL_OPTIONS_DIRECT_MEMORY_OPTIMIZE |
- EVAS_GL_OPTIONS_DIRECT_OVERRIDE);
+ EVAS_GL_OPTIONS_DIRECT_OVERRIDE | EVAS_GL_OPTIONS_CLIENT_SIDE_ROTATION);
evas_gl_config_->color_format = EVAS_GL_RGBA_8888;
evas_gl_config_->depth_bits = EVAS_GL_DEPTH_BIT_24;
evas_gl_config_->stencil_bits = EVAS_GL_STENCIL_BIT_8;