memset(&fbdev_func_display, 0, sizeof(fbdev_func_display));
fbdev_func_display.display_get_capabilitiy = fbdev_display_get_capabilitiy;
fbdev_func_display.display_get_outputs = fbdev_display_get_outputs;
- fbdev_func_display.display_get_fd = fbdev_display_get_fd;
- fbdev_func_display.display_handle_events = fbdev_display_handle_events;
+ fbdev_func_display.display_get_fd = NULL;
+ fbdev_func_display.display_handle_events = NULL;
memset(&fbdev_func_output, 0, sizeof(fbdev_func_output));
fbdev_func_output.output_get_capability = fbdev_output_get_capability;
return NULL;
}
-tdm_error
-fbdev_display_get_fd(tdm_backend_data *bdata, int *fd)
-{
- tdm_fbdev_data *fbdev_data = (tdm_fbdev_data *)bdata;
- int file_fd;
-
- RETURN_VAL_IF_FAIL(fbdev_data, TDM_ERROR_INVALID_PARAMETER);
- RETURN_VAL_IF_FAIL(fd, TDM_ERROR_INVALID_PARAMETER);
-
- /*
- * Event-based applications use poll/select for pageflip or vsync events,
- * since farmebuffer does not produce such events we create common file.
- * Without this file application will be locked on poll/select or return
- * an error after timer expiring.
- */
- file_fd = open("/tmp/tdm_fbdev_select", O_RDWR | O_CREAT | O_TRUNC, ACCESSPERMS);
- TDM_INFO("Open fake file: /tmp/tdm_fbdev_select %d", file_fd);
-
- *fd = file_fd;
-
- return TDM_ERROR_NONE;
-}
-
tdm_error
fbdev_display_handle_events(tdm_backend_data *bdata)
{