present: Refactor execute in separate file

To be shared by multiple flip modes, refactor execute functionality,
such that logical chunks can go in new separate file.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Roman Gilg
2018-03-13 16:00:38 +01:00
committed by Adam Jackson
parent 1e7d8902bf
commit 679ffbf5f3
5 changed files with 140 additions and 64 deletions

View File

@@ -244,6 +244,18 @@ present_select_input(ClientPtr client,
Bool
present_event_init(void);
/*
* present_execute.c
*/
Bool
present_execute_wait(present_vblank_ptr vblank, uint64_t crtc_msc);
void
present_execute_copy(present_vblank_ptr vblank, uint64_t crtc_msc);
void
present_execute_post(present_vblank_ptr vblank, uint64_t ust, uint64_t crtc_msc);
/*
* present_fake.c
*/