Change-Id: Ib2a4d047d025ad1b7a8746f5cf82732c53f71143
queue_node *node = NULL;
TBM_RETURN_VAL_IF_FAIL(surface_queue != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE);
queue_node *node = NULL;
TBM_RETURN_VAL_IF_FAIL(surface_queue != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_QUEUE);
- TBM_RETURN_VAL_IF_FAIL(surface != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE);
+ TBM_RETURN_VAL_IF_FAIL(surface != NULL, TBM_SURFACE_QUEUE_ERROR_INVALID_SURFACE);
pthread_mutex_lock(&surface_queue->lock);
pthread_mutex_lock(&surface_queue->lock);
int num_attached;
int flags;
queue dequeue_list;
int num_attached;
int flags;
queue dequeue_list;
}tbm_queue_sequence;
static void __tbm_queue_sequence_init(tbm_surface_queue_h surface_queue)
}tbm_queue_sequence;
static void __tbm_queue_sequence_init(tbm_surface_queue_h surface_queue)
data->num_attached = 0;
_queue_init(&data->dequeue_list);
data->num_attached = 0;
_queue_init(&data->dequeue_list);
- _queue_init(&data->enqueue_list);
}
static void __tbm_queue_sequence_reset(tbm_surface_queue_h surface_queue)
}
static void __tbm_queue_sequence_reset(tbm_surface_queue_h surface_queue)
data->num_attached = 0;
_queue_init(&data->dequeue_list);
data->num_attached = 0;
_queue_init(&data->dequeue_list);
- _queue_init(&data->enqueue_list);
}
static void __tbm_queue_sequence_destroy(tbm_surface_queue_h surface_queue)
}
static void __tbm_queue_sequence_destroy(tbm_surface_queue_h surface_queue)