wl_drm: add dummy wl_output to support ecore_wl_screen_size_get accepted/tizen/common/20150417.142816 accepted/tizen/mobile/20150419.232730 accepted/tizen/tv/20150419.232659 accepted/tizen/wearable/20150419.232714 submit/tizen/20150417.131655
authorGwanglim Lee <gl77.lee@samsung.com>
Fri, 17 Apr 2015 13:16:20 +0000 (22:16 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 17 Apr 2015 13:16:20 +0000 (22:16 +0900)
Change-Id: Ieb3c7b6b877fa9d33299c436b2436e49c70e1e3a

src/modules/wl_drm/e_mod_main.c

index 7d4f0690ad3ff1e2cb1c2855168b143d8afc86e7..48edcfee7cc50fdcbe005cfe53d318025108e798 100644 (file)
@@ -211,6 +211,14 @@ e_modapi_init(E_Module *m)
    output_handler =
       ecore_event_handler_add(ECORE_DRM_EVENT_OUTPUT,
                               _e_mod_drm_cb_output, comp);
+#else
+   e_comp_wl_output_init("1", "UNKNOWN", "UNKNOWN",
+                         0, 0, w, h,
+                         300, /* physical width */
+                         300, /* physical height */
+                         60, /* refresh */
+                         1, /* subpixel: none */
+                         0);
 #endif
 
    return m;