evas wayland_egl: set up config depth/stencil/msaa properly.
authorHermet Park <hermetpark@gmail.com>
Thu, 25 Apr 2019 09:41:43 +0000 (18:41 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Apr 2019 00:54:55 +0000 (09:54 +0900)
src/modules/evas/engines/wayland_egl/evas_engine.h
src/modules/evas/engines/wayland_egl/evas_wl_main.c

index 889163d..a1f5506 100755 (executable)
@@ -94,6 +94,16 @@ struct _Outbuf
    //TIZEN_ONLY(20161121) : Support PreRotation
    int support_pre_rotation;
 
+   struct {
+      unsigned char depth_buffer_size;
+      unsigned char stencil_buffer_size;
+      unsigned char msaa;
+   } detected;
+
+   int depth_bits;
+   int stencil_bits;
+   int msaa_bits;
+
    Eina_Bool lost_back : 1;
    Eina_Bool surf : 1;
 };
index 73aa56a..cbbcf9d 100755 (executable)
@@ -122,10 +122,6 @@ eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap
    gw->stencil_bits = einfo->stencil_bits;
    gw->msaa_bits = einfo->msaa_bits;
 
-//TIZEN_ONLY(20171127): do not call ecore_wl2_window_buffer_attach
-   gw->depth_bits = einfo->depth_bits;
-   gw->stencil_bits = einfo->stencil_bits;
-   gw->msaa_bits = einfo->msaa_bits;
 //
 //TIZEN_ONLY(20161121):Support PreRotation
    gw->support_pre_rotation = 0;