change the version of hwc_window. 12/160112/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 14 Nov 2017 11:31:02 +0000 (20:31 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 14 Nov 2017 11:31:02 +0000 (20:31 +0900)
this version change is for the developement temporarily

Change-Id: I4a64f37ef1f9b85f412e200ec2c1542dcfb0cfe5

src/tdm_backend.c

index 9c1992d..482c933 100644 (file)
@@ -139,7 +139,10 @@ tdm_backend_register_func_hwc_window(tdm_display *dpy, tdm_func_hwc_window *func
        TDM_RETURN_VAL_IF_FAIL(func_hwc_window != NULL, TDM_ERROR_INVALID_PARAMETER);
 
        module = private_display->module_data;
-       if (_check_abi_version(module, 2, 0) < 0)
+       /* FIX ME:
+                  Temporarily, we set the version of hwc window to 1.1 for the development.
+                  Originally the hwc window version is 2.0. */
+       if (_check_abi_version(module, 1, 1) < 0)
                return TDM_ERROR_BAD_MODULE;
 
        private_display->func_hwc_window = *func_hwc_window;