if (!func_output->output_set_property) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_set_property(private_output->output_backend, id,
if (!func_output->output_get_property) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_get_property(private_output->output_backend, id,
if (!func_output->output_wait_vblank) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
vblank_handler = calloc(1, sizeof(tdm_private_vblank_handler));
func_output = &private_display->func_output;
if (!func_output->output_commit) {
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
commit_handler = calloc(1, sizeof(tdm_private_commit_handler));
if (!func_output->output_set_mode) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_set_mode(private_output->output_backend, mode);
if (!func_output->output_get_mode) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_get_mode(private_output->output_backend, mode);
if (!func_output->output_set_dpms) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_set_dpms(private_output->output_backend, dpms_value);
if (!func_output->output_get_dpms) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_output->output_get_dpms(private_output->output_backend, dpms_value);
if (!func_layer->layer_set_property) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_set_property(private_layer->layer_backend, id, value);
if (!func_layer->layer_get_property) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_get_property(private_layer->layer_backend, id, value);
if (!func_layer->layer_set_info) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
TDM_INFO("layer(%p) info: src(%dx%d %d,%d %dx%d %c%c%c%c) dst(%d,%d %dx%d) trans(%d)",
if (!func_layer->layer_get_info) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_get_info(private_layer->layer_backend, info);
if (!func_layer->layer_set_buffer) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_set_buffer(private_layer->layer_backend, buffer);
if (!func_layer->layer_unset_buffer) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_unset_buffer(private_layer->layer_backend);
if (!func_layer->layer_set_buffer) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
if (buffer_queue == private_layer->buffer_queue) {
if (!func_layer->layer_unset_buffer) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_unset_buffer(private_layer->layer_backend);
if (!func_layer->layer_set_video_pos) {
_pthread_mutex_unlock(&private_display->lock);
- return TDM_ERROR_NONE;
+ TDM_DBG("failed: not implemented!!");
+ return TDM_ERROR_NOT_IMPLEMENTED;
}
ret = func_layer->layer_set_video_pos(private_layer->layer_backend, zpos);