change the argument name. 72/170772/3
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 21 Feb 2018 08:34:14 +0000 (17:34 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 22 Feb 2018 07:54:25 +0000 (07:54 +0000)
NativeDisplay -> native_display.

Change-Id: Ifa492004e544cedf2fd6286c9e26a40bc3d1db74

src/tbm_bufmgr.c
src/tbm_bufmgr.h
src/tbm_bufmgr_backend.h

index c48bc30516fcbf612ccc19a3a9388a6cce61a04d..2e3d2e2c9d3028f22ebb2e0b1a3a0c7cc46785e6 100644 (file)
@@ -1763,7 +1763,7 @@ _tbm_bo_set_surface(tbm_bo bo, tbm_surface_h surface)
 }
 
 int
-tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *NativeDisplay)
+tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *native_display)
 {
        int ret;
 
@@ -1772,21 +1772,21 @@ tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *NativeDisplay)
        TBM_BUFMGR_RETURN_VAL_IF_FAIL(TBM_BUFMGR_IS_VALID(gBufMgr), 0);
 
        if (!bufmgr->backend->bufmgr_bind_native_display) {
-               TBM_TRACE("skip: tbm_bufmgr(%p) NativeDisplay(%p)\n",
-                               bufmgr, NativeDisplay);
+               TBM_TRACE("skip: tbm_bufmgr(%p) native_display(%p)\n",
+                               bufmgr, native_display);
                _tbm_bufmgr_mutex_unlock();
                return 1;
        }
 
-       ret = bufmgr->backend->bufmgr_bind_native_display(bufmgr, NativeDisplay);
+       ret = bufmgr->backend->bufmgr_bind_native_display(bufmgr, native_display);
        if (!ret) {
-               TBM_LOG_E("error: tbm_bufmgr(%p) NativeDisplay(%p)\n",
-                               bufmgr, NativeDisplay);
+               TBM_LOG_E("error: tbm_bufmgr(%p) native_display(%p)\n",
+                               bufmgr, native_display);
                _tbm_bufmgr_mutex_unlock();
                return 0;
        }
 
-       TBM_TRACE("tbm_bufmgr(%p) NativeDisplay(%p)\n", bufmgr, NativeDisplay);
+       TBM_TRACE("tbm_bufmgr(%p) native_display(%p)\n", bufmgr, native_display);
 
        _tbm_bufmgr_mutex_unlock();
 
index a809e207005e61be85cc21e6edc07eb7d928065a..f37bff114254e36f012a6958b56f0adba3acf0f0 100644 (file)
@@ -1025,9 +1025,9 @@ int tbm_bo_get_flags(tbm_bo bo);
  * @brief bind the native_display.
  * @since_tizen 3.0
  * @param[in] bufmgr : the buffer manager
- * @param[in] NativeDisplay : the native_display
+ * @param[in] native_display : the native_display
  */
-int tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *NativeDisplay);
+int tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *native_display);
 
 /**
  * @brief Print out the information of tbm_bos.
index 94b99608deb386950b8599f69ce406e3350da964..c543c4af645098d7ddeccbc84d520ad672e6e8f8 100644 (file)
@@ -219,10 +219,10 @@ struct _tbm_bufmgr_backend {
        /**
        * @brief get(bind) the native display
        * @param[in] bufmgr : the buffer object
-       * @param[in] NativeDisplay : the native display
+       * @param[in] native_display : the native display
        * @return 1 if this function succeeds, otherwise 0.
        */
-       int (*bufmgr_bind_native_display)(tbm_bufmgr bufmgr, void *NativeDisplay);
+       int (*bufmgr_bind_native_display)(tbm_bufmgr bufmgr, void *native_display);
 
        /**
        * @brief allocate the buffer object for tbm surface