e_hwc_window: change the goto label 56/192756/2
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 9 Nov 2018 05:39:31 +0000 (14:39 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 9 Nov 2018 07:48:59 +0000 (07:48 +0000)
Change-Id: I0e5e8cb00a441f84d9d2d3fa2516597de27dedfa

src/bin/e_hwc_windows.c

index 61d7554e37976b2a6bb22d558395bcc680a1005c..b8d477f3d6cc7dd49553d3b48d120a4782f75844 100644 (file)
@@ -1360,7 +1360,7 @@ _e_hwc_windows_evaluate(E_Hwc *hwc)
    if (!_e_hwc_windows_validate(hwc, &num_changes))
      {
         ERR("HWC-WINS: _e_hwc_windows_validate failed.");
-        goto failed_evaluation;
+        goto re_evaluate;
      }
 
    /* update the valiated_changes if there are the composition changes after validation */
@@ -1369,7 +1369,7 @@ _e_hwc_windows_evaluate(E_Hwc *hwc)
         if (!_e_hwc_windows_validated_changes_update(hwc, num_changes))
           {
              ERR("HWC-WINS: _e_hwc_windows_validated_changes_update failed.");
-             goto failed_evaluation;
+             goto re_evaluate;
           }
      }
 
@@ -1415,21 +1415,21 @@ _e_hwc_windows_evaluate(E_Hwc *hwc)
    if (hwc_mode != E_HWC_MODE_FULL && _e_hwc_windows_transition_check(hwc))
      {
         e_hwc_window_target_buffer_skip(hwc->target_hwc_window);
-        goto failed_evaluation;
+        goto re_evaluate;
      }
 
    /* accept the result of the validation */
    if (!_e_hwc_windows_accept(hwc))
      {
         ERR("HWC-WINS: _e_hwc_windows_validated_changes_update failed.");
-        goto failed_evaluation;
+        goto re_evaluate;
      }
 
    EHWSTRACE(" Succeed the compsition_evaulation.", NULL);
 
    return EINA_TRUE;
 
-failed_evaluation:
+re_evaluate:
    EHWSTRACE(" Need the comopsition re-evaulation.", NULL);
 
    return EINA_FALSE;