Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions shell/platform/tizen/tizen_renderer_evas_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -671,19 +671,24 @@ bool TizenRendererEvasGL::SetupEvasWindow() {
initial_geometry_.h = height;
}

elm_win_alpha_set(evas_window_, EINA_FALSE);
evas_object_move(evas_window_, initial_geometry_.x, initial_geometry_.y);
evas_object_resize(evas_window_, initial_geometry_.w, initial_geometry_.h);
evas_object_raise(evas_window_);

elm_win_indicator_mode_set(evas_window_, ELM_WIN_INDICATOR_SHOW);
elm_win_indicator_opacity_set(evas_window_, ELM_WIN_INDICATOR_OPAQUE);

Evas_Object* bg = elm_bg_add(evas_window_);
evas_object_color_set(bg, 0x00, 0x00, 0x00, 0x00);
if (transparent_) {
elm_win_alpha_set(evas_window_, EINA_TRUE);
Comment on lines +681 to +682
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will setting transparent as true affect performance? #222

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as far as I know, it can't get EFL optimize rendering support if we specify alpha property as true.

} else {
elm_win_alpha_set(evas_window_, EINA_FALSE);

evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(evas_window_, bg);
Evas_Object* bg = elm_bg_add(evas_window_);
evas_object_color_set(bg, 0, 0, 0, 0);

evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(evas_window_, bg);
}

graphics_adapter_ =
evas_object_image_filled_add(evas_object_evas_get(evas_window_));
Expand Down