queue = e_hwc_window_queue_user_set(hwc_window);
if (!queue)
{
- EHWERR("fail to e_hwc_window_queue_user_set", hwc_window->ec, hwc_window->hwc, hwc_window);
- hwc_window->queue = NULL;
- return EINA_FALSE;
+ EHWERR("fail to e_hwc_window_queue_user_set", hwc_window->ec, hwc_window->hwc, hwc_window);
+ hwc_window->queue = NULL;
+ return EINA_FALSE;
}
if (hwc_window->queue_destroy_listener.notify)
hwc_window->queue = queue;
EHWTRACE("Set constranints BUFFER_QUEUE -- {%s}",
- hwc_window->ec, hwc_window->hwc, hwc_window, e_client_util_name_get(hwc_window->ec));
+ hwc_window->ec, hwc_window->hwc, hwc_window, e_client_util_name_get(hwc_window->ec));
return EINA_TRUE;
}
EINA_SAFETY_ON_TRUE_RETURN_VAL(ret != TDM_ERROR_NONE, ret);
EHWTRACE("Set Property: property(%s) value(%d)) -- {%s}",
- hwc_window->ec, hwc_window->hwc, hwc_window,
- name, (unsigned int)value.u32,
- e_hwc_window_name_get(hwc_window));
+ hwc_window->ec, hwc_window->hwc, hwc_window,
+ name, (unsigned int)value.u32,
+ e_hwc_window_name_get(hwc_window));
}
else
{
{
if (!strncmp(name, prop->name, TDM_NAME_LEN))
{
- EHWTRACE("Change Property: property(%s) update value(%d -> %d) -- {%s}",
+ EHWTRACE("Change Property: property(%s) update value(%d -> %d) -- {%s}",
hwc_window->ec, hwc_window->hwc, hwc_window,
prop->name, (unsigned int)prop->value.u32, (unsigned int)value.u32,
e_hwc_window_name_get(hwc_window));
hwc_window->prop_list = eina_list_append(hwc_window->prop_list, prop);
EHWTRACE("Set Property: property(%s) value(%d)) -- {%s}",
- hwc_window->ec, hwc_window->hwc, hwc_window,
- prop->name, (unsigned int)value.u32,
- e_hwc_window_name_get(hwc_window));
+ hwc_window->ec, hwc_window->hwc, hwc_window,
+ prop->name, (unsigned int)value.u32,
+ e_hwc_window_name_get(hwc_window));
}
return EINA_TRUE;
if (!tqueue)
{
EHWQERR("fail to tdm_hwc_window_get_buffer_queue hwc_win:%p tdm_error:%d",
- hwc_window->ec, hwc_window->hwc, hwc_window->queue, hwc_window, error);
+ hwc_window->ec, hwc_window->hwc, hwc_window->queue, hwc_window, error);
return NULL;
}
tdm_hwc_window_release_buffer_queue(hwc_window->thwc_window, tqueue);
EHWQINF("Release buffer queue ehw:%p tq:%p",
- hwc_window->ec, hwc_window->hwc, NULL, hwc_window, tqueue);
+ hwc_window->ec, hwc_window->hwc, NULL, hwc_window, tqueue);
}
static void
e_comp_wl_tizen_hwc_feedback_list_init(&comp_info->feedback_list);
if (!tbm_surface_internal_add_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY,
- _e_hwc_windows_comp_info_cb_tbm_surface_destroy))
+ _e_hwc_windows_comp_info_cb_tbm_surface_destroy))
goto fail;
- if(!tbm_surface_internal_set_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY,
- comp_info))
+ if (!tbm_surface_internal_set_user_data(tbm_surface, EHWS_BUFFER_COMP_INFO_KEY,
+ comp_info))
goto fail;
return comp_info;
EHWSTRACE("FET {%s} ts:%p state:%s",
NULL, hwc, e_hwc_window_name_get(hwc_window),
hwc_window->current.buffer.tsurface, e_hwc_window_state_string_get(hwc_window->state));
-
}
else
{
static void
_e_hwc_windows_target_window_surface_queue_acquirable_cb(tbm_surface_queue_h surface_queue, void *data)
{
- E_Hwc_Window_Target *target_hwc_window = (E_Hwc_Window_Target *)data;
- uint64_t value = 1;
- int ret;
+ E_Hwc_Window_Target *target_hwc_window = (E_Hwc_Window_Target *)data;
+ uint64_t value = 1;
+ int ret;
- ret = write(target_hwc_window->event_fd, &value, sizeof(value));
- if (ret == -1)
- EHWSERR("failed to send acquirable event:%m", NULL);
+ ret = write(target_hwc_window->event_fd, &value, sizeof(value));
+ if (ret == -1)
+ EHWSERR("failed to send acquirable event:%m", NULL);
}
/* gets called at the beginning of an ecore_main_loop iteration */