rename e_plane_set into e_plane_fetch
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 15 Jul 2016 05:02:46 +0000 (14:02 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 25 Jul 2016 09:56:36 +0000 (18:56 +0900)
Change-Id: I0701de0a89cc80f41b61a182361fd3dd310311c8

src/bin/e_output.c
src/bin/e_plane.c
src/bin/e_plane.h

index 9a05b5c28625f4e38d81879bd04400d051515927..2f1194968d7ef06dcceea21098f7d3447ab55af4 100644 (file)
@@ -738,7 +738,7 @@ e_output_commit(E_Output *output)
    /* set planes */
    EINA_LIST_REVERSE_FOREACH(output->planes, l, plane)
      {
-        if (e_plane_set(plane))
+        if (e_plane_fetch(plane))
          {
             if (!commitable) commitable = EINA_TRUE;
          }
@@ -753,7 +753,7 @@ e_output_commit(E_Output *output)
 
              /* unset planes */
              EINA_LIST_REVERSE_FOREACH(output->planes, l, plane)
-               e_plane_unset(plane);
+               e_plane_unfetch(plane);
 
              return EINA_FALSE;
           }
index 6c2f1145e80cc1689ae68c263a1e69e951e3cf6b..e39d43c1f0b2abad58dcc7b38180f8fd0b6f7f25 100644 (file)
@@ -1515,7 +1515,7 @@ e_plane_hwc_setup(E_Plane *plane)
 }
 
 EINTERN Eina_Bool
-e_plane_set(E_Plane *plane)
+e_plane_fetch(E_Plane *plane)
 {
    tbm_surface_h tsurface = NULL;
    Evas_Engine_Info_GL_Drm *einfo;
@@ -1581,7 +1581,7 @@ e_plane_set(E_Plane *plane)
    if (!_e_plane_surface_set(plane, tsurface))
      {
         ERR("fail: _e_plane_set_info.");
-        e_plane_unset(plane);
+        e_plane_unfetch(plane);
         return EINA_FALSE;
      }
 
@@ -1591,7 +1591,7 @@ e_plane_set(E_Plane *plane)
 }
 
 EINTERN void
-e_plane_unset(E_Plane *plane)
+e_plane_unfetch(E_Plane *plane)
 {
    EINA_SAFETY_ON_NULL_RETURN(plane);
    EINA_SAFETY_ON_NULL_RETURN(plane->prepare_tsurface);
index 2a7188e9e15145e9a876548f90bfb37925a27505..65c9c519d6ca176c3ad5a80fb54c9470f878398b 100644 (file)
@@ -96,8 +96,8 @@ EINTERN void                 e_plane_shutdown(void);
 EINTERN E_Plane             *e_plane_new(E_Output *output, int index);
 EINTERN void                 e_plane_free(E_Plane *plane);
 EINTERN Eina_Bool            e_plane_hwc_setup(E_Plane *plane);
-EINTERN Eina_Bool            e_plane_set(E_Plane *plane);
-EINTERN void                 e_plane_unset(E_Plane *plane);
+EINTERN Eina_Bool            e_plane_fetch(E_Plane *plane);
+EINTERN void                 e_plane_unfetch(E_Plane *plane);
 EINTERN E_Plane_Commit_Data *e_plane_commit_data_aquire(E_Plane *plane);
 EINTERN void                 e_plane_commit_data_release(E_Plane_Commit_Data *data);
 EINTERN Eina_Bool            e_plane_is_reserved(E_Plane *plane);