mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-10 14:00:30 +01:00
vulkan/wsi: Delete ancient libdrm support for the page flip handler.
Looks like the "new" page flip handler was in 2.4.78 in 2017. Mesa requires at least 2.4.109, so we can retire this. Reviewed-by: Hans-Kristian Arntzen <post@arntzen-software.no> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38770>
This commit is contained in:
parent
e61975c112
commit
96bde78fc7
1 changed files with 1 additions and 12 deletions
|
|
@ -1916,15 +1916,6 @@ wsi_display_page_flip_handler2(int fd,
|
|||
|
||||
static void wsi_display_fence_event_handler(struct wsi_display_fence *fence);
|
||||
|
||||
static void wsi_display_page_flip_handler(int fd,
|
||||
unsigned int frame,
|
||||
unsigned int sec,
|
||||
unsigned int usec,
|
||||
void *data)
|
||||
{
|
||||
wsi_display_page_flip_handler2(fd, frame, sec, usec, 0, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* libdrm callback for when we get a DRM_EVENT_CRTC_SEQUENCE in response to a
|
||||
* drmCrtcQueueSequence(), indicating that the first pixel of a new frame is
|
||||
|
|
@ -1941,10 +1932,8 @@ static void wsi_display_sequence_handler(int fd, uint64_t frame,
|
|||
|
||||
static drmEventContext event_context = {
|
||||
.version = DRM_EVENT_CONTEXT_VERSION,
|
||||
.page_flip_handler = wsi_display_page_flip_handler,
|
||||
#if DRM_EVENT_CONTEXT_VERSION >= 3
|
||||
.page_flip_handler = NULL,
|
||||
.page_flip_handler2 = wsi_display_page_flip_handler2,
|
||||
#endif
|
||||
.vblank_handler = NULL,
|
||||
.sequence_handler = wsi_display_sequence_handler,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue