present: Remove present_wnmd_info_rec
Doesn't serve any purpose anymore. Acked-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
561c63d0f1
commit
0c0cbbc7cb
|
@ -1115,10 +1115,6 @@ xwl_present_unrealize_window(struct xwl_present_window *xwl_present_window)
|
|||
xwl_present_reset_timer(xwl_present_window);
|
||||
}
|
||||
|
||||
static present_wnmd_info_rec xwl_present_info = {
|
||||
.version = PRESENT_SCREEN_INFO_VERSION,
|
||||
};
|
||||
|
||||
Bool
|
||||
xwl_present_init(ScreenPtr screen)
|
||||
{
|
||||
|
@ -1141,8 +1137,6 @@ xwl_present_init(ScreenPtr screen)
|
|||
if (!dixRegisterPrivateKey(&xwl_present_window_private_key, PRIVATE_WINDOW, 0))
|
||||
return FALSE;
|
||||
|
||||
screen_priv->wnmd_info = &xwl_present_info;
|
||||
|
||||
screen_priv->query_capabilities = xwl_present_query_capabilities;
|
||||
screen_priv->get_crtc = xwl_present_get_crtc;
|
||||
|
||||
|
|
|
@ -139,21 +139,6 @@ typedef struct present_screen_info {
|
|||
|
||||
} present_screen_info_rec, *present_screen_info_ptr;
|
||||
|
||||
typedef struct present_wnmd_info {
|
||||
uint32_t version;
|
||||
|
||||
present_get_crtc_ptr get_crtc;
|
||||
present_wnmd_get_ust_msc_ptr get_ust_msc;
|
||||
present_wnmd_queue_vblank_ptr queue_vblank;
|
||||
present_wnmd_abort_vblank_ptr abort_vblank;
|
||||
present_flush_ptr flush;
|
||||
uint32_t capabilities;
|
||||
present_check_flip2_ptr check_flip2;
|
||||
present_wnmd_flip_ptr flip;
|
||||
present_wnmd_flips_stop_ptr flips_stop;
|
||||
|
||||
} present_wnmd_info_rec, *present_wnmd_info_ptr;
|
||||
|
||||
/*
|
||||
* Called when 'event_id' occurs. 'ust' and 'msc' indicate when the
|
||||
* event actually happened
|
||||
|
|
|
@ -162,7 +162,6 @@ struct present_screen_priv {
|
|||
Bool flip_sync;
|
||||
|
||||
present_screen_info_ptr info;
|
||||
present_wnmd_info_ptr wnmd_info;
|
||||
|
||||
/* Mode hooks */
|
||||
present_priv_query_capabilities_ptr query_capabilities;
|
||||
|
|
Loading…
Reference in New Issue