[M120 Migration][VD] Enable direct rendering for TVPlus 71/309471/2 submit/tizen/20240412.160015
authorwangjing <jing124.wang@samsung.com>
Thu, 11 Apr 2024 06:46:05 +0000 (14:46 +0800)
committerBot Blink <blinkbot@samsung.com>
Fri, 12 Apr 2024 12:26:43 +0000 (12:26 +0000)
commit8240b2c547b8cc39a7e952cb87f296aa9d9418ae
treec7dbf56fabe7662e098ee9ab17e3bdded5965098
parent7db5344e4ca62b042e5dc2950f3230215acad0db
[M120 Migration][VD] Enable direct rendering for TVPlus

This patch enables direct rendering for TVPlus app,
which is using HbbTV runtime.

1. Enable direct rendering by appending EVAS_GL_OPTIONS_DIRECT
2. Do not set evas_object_image_alpha_set
   reason: not needed when direct mode
3. Remove glFinish
   reason: not needed when direct mode
4. Set evas_object_render_op_set
   reason: EFL skips glClear when direct mode and alpha disabled,
   so setting this can force EFL to do glClear
   (if this is not appended, TVPlus won't disappear when exit)

Now most app only need RGB888 mode, HBBTV need to
set RGBA8888 can make the background transparent.

Ref:
https://review.tizen.org/gerrit/#/c/292457/
https://review.tizen.org/gerrit/#/c/291335/

Change-Id: I46802831f41671b569592bc68bd30a6fc80995ab
Signed-off-by: wangjing <jing124.wang@samsung.com>
content/browser/renderer_host/navigation_entry_impl.cc
third_party/blink/public/platform/web_application_type.h
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_offscreen_helper_efl.cc
tizen_src/chromium_impl/third_party/blink/renderer/platform/web_application_type.cc
tizen_src/ewk/efl_integration/common/application_type.cc
tizen_src/ewk/efl_integration/common/application_type.h
tizen_src/ewk/efl_integration/eweb_view.cc