state = e_hwc_window_accepted_state_get(hwc_window);
if ((state == E_HWC_WINDOW_STATE_DEVICE))
- {
- if (e_hwc_window_is_target(hwc_window)) return;
-
- if(queue->state == E_HWC_WINDOW_QUEUE_STATE_SET_WAITING_BUFFER)
- _e_hwc_window_queue_set(queue);
- }
- else if ((state == E_HWC_WINDOW_STATE_CLIENT) || (state == E_HWC_WINDOW_STATE_NONE))
{
if (e_hwc_window_is_target(hwc_window))
{
if (queue->user)
e_hwc_window_constraints_reset(queue->user);
}
- else
- {
- /* if buffer of queue is commited, hwc_window should be set by Device Type */
- if (!hwc_window->buffer.tsurface) return;
- if (e_hwc_window_queue_buffer_find(queue, hwc_window->buffer.tsurface))
- e_hwc_window_constraints_reset(hwc_window);
- }
+ if(queue->state == E_HWC_WINDOW_QUEUE_STATE_SET_WAITING_BUFFER)
+ _e_hwc_window_queue_set(queue);
+ }
+ else if ((state == E_HWC_WINDOW_STATE_CLIENT) || (state == E_HWC_WINDOW_STATE_NONE))
+ {
+ if (e_hwc_window_is_target(hwc_window)) return;
+
+ /* if buffer of queue is commited, hwc_window should be set by Device Type */
+ if (!hwc_window->buffer.tsurface) return;
+
+ if (e_hwc_window_queue_buffer_find(queue, hwc_window->buffer.tsurface))
+ e_hwc_window_constraints_reset(hwc_window);
}
}