}
int
-tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *NativeDisplay)
+tbm_bufmgr_bind_native_display(tbm_bufmgr bufmgr, void *native_display)
{
int ret;
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();
* @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.
/**
* @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