From 1b7ed769999b7bbf5c39e9d8b5328d28ca85fb76 Mon Sep 17 00:00:00 2001 From: Chandan Padhi Date: Fri, 16 Oct 2020 17:07:20 +0530 Subject: [PATCH] [M85 Migration] Add an evas gl option for rotation 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 --- .../content/browser/renderer_host/render_widget_host_view_efl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc b/tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc index 499ff13..b882476 100644 --- a/tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc +++ b/tizen_src/chromium_impl/content/browser/renderer_host/render_widget_host_view_efl.cc @@ -418,7 +418,7 @@ void RenderWidgetHostViewEfl::Init_EvasGL(int width, int height) { 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; -- 2.7.4