Add missing CommitZOrderChanges to ensure, that
layers order is properly applied.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-626
Change-Id: I7b8b5f1457410033518672703fbf5216864e7071
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
#include "ui/gfx/overlay_plane_data.h"
#include "ui/ozone/platform/efl/efl_surface_factory.h"
#include "ui/ozone/platform/efl/tizen_native_pixmap.h"
+#include "ui/ozone/platform/efl/video_controller.h"
#include "ui/ozone/public/ozone_platform.h"
namespace viz {
it->second->SetBelowParent();
}
}
+
+ ui::VideoController::GetInstance()->CommitZOrderChanges();
}
} // namespace viz
ecore_wl2_subsurface_del(subsurface);
}
+void VideoController::CommitZOrderChanges() {
+ if (!last_wl_subsurface_) {
+ return;
+ }
+
+ ecore_wl2_subsurface_exported_surface_commit(last_wl_subsurface_.get());
+}
+
Ecore_Wl2_Subsurface* VideoController::GetOrCreateWaylandVideoSubSurface() {
if (last_wl_subsurface_) {
return last_wl_subsurface_.get();
[[nodiscard]] Ecore_Wl2_Subsurface* GetOrCreateWaylandVideoSubSurface();
+ void CommitZOrderChanges();
void RegisterWaylandWindow(Ecore_Wl2_Window* wayland_window);
void RegisterWaylandWindow(Evas_Object* window_object);
bool HasRegisteredWaylandWindow() const { return last_ww_; }