}
-EXTERN const tdm_output*
+EXTERN tdm_output*
tdm_display_get_output(tdm_display *dpy, int index, tdm_error *error)
{
tdm_private_output *private_output = NULL;
if (i == index)
{
pthread_mutex_unlock(&private_display->lock);
- return (const tdm_output*)private_output;
+ return private_output;
}
i++;
}
}
-EXTERN const tdm_layer*
+EXTERN tdm_layer*
tdm_output_get_layer(tdm_output *output, int index, tdm_error *error)
{
tdm_private_layer *private_layer = NULL;
}
EXTERN tdm_error
-tdm_output_set_mode(tdm_output *output, tdm_output_mode *mode)
+tdm_output_set_mode(tdm_output *output, const tdm_output_mode *mode)
{
tdm_func_display *func_display;
OUTPUT_FUNC_ENTRY();
}
EXTERN tdm_error
-tdm_layer_set_buffer(tdm_layer *layer, tdm_buffer *buffer)
+tdm_layer_set_buffer(tdm_layer *layer, tbm_surface_h buffer)
{
tdm_func_display *func_display;
LAYER_FUNC_ENTRY();