temp sandbox/jbko/devel
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 24 Nov 2021 08:05:19 +0000 (17:05 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 24 Nov 2021 08:05:19 +0000 (17:05 +0900)
Change-Id: Ib93101cc89296febf00351fac4e888f4bda55518
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
wsi/tizen/surface.cpp
wsi/tizen/surface.hpp

index d20e4cdde4708932f645174a98f1d0fb2a4f1590..5cfec6baff393489d8c513f50f1d50547a5d8801 100644 (file)
@@ -35,7 +35,7 @@
 
 namespace wsi
 {
-namespace wayland
+namespace tizen
 {
 
 struct formats_vector
index 281e17d705cc8ebd1b71c6064d024b2f310cd8ad..8b8bc14e1b434676d1bf0912895daf7a13fe0130 100644 (file)
 
 #pragma once
 
+#include <wayland-client.h>
+
 #include "wsi/surface.hpp"
 #include "surface_properties.hpp"
 #include "util/macros.hpp"
 
 namespace wsi
 {
-namespace wayland
+namespace tizen
 {
 
 struct drm_format_pair
@@ -73,6 +75,11 @@ public:
                                                        const VkAllocationCallbacks *allocator) override;
 
 private:
+   /** The native Wayland display */
+   wl_display *wayland_display;
+   /** The native Wayland surface */
+   wl_surface *wayland_surface;
+   /** A list of DRM formats supported by the Wayland compositor on this surface */
    util::vector<drm_format_pair> supported_formats;
    /** Surface properties specific to the Wayland surface. */
    surface_properties properties;