X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=client%2Ftdm_client.h;h=8c10ebe5943906ff6a22c09e0c55f235ae101e5c;hb=ca91f10db2ce407718e436839fdf9501197edd15;hp=c0ffeb7fe3ad328efb3514ecb05e658e987f7a4e;hpb=7e7fcd357fbec8140bb607ba4f9417baef49f747;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/client/tdm_client.h b/client/tdm_client.h index c0ffeb7..8c10ebe 100644 --- a/client/tdm_client.h +++ b/client/tdm_client.h @@ -429,9 +429,8 @@ tdm_client_vblank_wait_seq(tdm_client_vblank *vblank, unsigned int sequence, tdm unsigned int tdm_client_vblank_is_waiting(tdm_client_vblank *vblank); -/* Virtual Output */ -#include +/* Virtual Output */ tdm_client_voutput * tdm_client_create_voutput(tdm_client *client, const char *name, tdm_error *error); @@ -442,17 +441,20 @@ tdm_error tdm_client_voutput_set_available_modes(tdm_client_voutput *voutput, const tdm_client_output_mode *modes, int count); tdm_error -tdm_client_voutput_set_available_formats(tdm_client_voutput *voutput, const tbm_format *formats, const int count); - -tdm_error tdm_client_voutput_set_physical_size(tdm_client_voutput *voutput, unsigned int mmWidth, unsigned int mmHeight); tdm_error -tdm_client_voutput_add_commit_handler(tdm_client_voutput *voutput, tdm_client_voutput_commit_handler *func); +tdm_client_voutput_add_commit_handler(tdm_client_voutput *voutput, tdm_client_voutput_commit_handler func, void *user_data); + +void +tdm_client_voutput_remove_commit_handler(tdm_client_voutput *voutput, tdm_client_voutput_commit_handler func, void *user_data); tdm_error tdm_client_voutput_get_committed_tbm_surface(tdm_client_voutput *voutput, tbm_surface_h surface); +tdm_error +tdm_client_voutput_commit_done(tdm_client_voutput *voutput); + tdm_client_output * tdm_client_voutput_get_client_output(tdm_client_voutput *voutput, tdm_error *error);