VirtualBox

Ignore:
Timestamp:
Oct 13, 2017 3:50:47 PM (7 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: Add support for the X.Org Server 1.19 ABI.
bugref:9017: Additions/x11: put vboxvideo into upstream X.Org

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r69080 r69082  
    10611061 * Although this is far more often than necessary it should not have real-life
    10621062 * performance consequences and allows us to simplify the code quite a bit. */
    1063 static void vboxBlockHandler(pointer pData, OSTimePtr pTimeout, pointer pReadmask)
     1063static void vboxBlockHandler(pointer pData,
     1064#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 23
     1065                             OSTimePtr pTimeout,
     1066                             pointer pReadmask
     1067#else
     1068                             void *pTimeout
     1069#endif
     1070                  )
    10641071{
    10651072    ScrnInfoPtr pScrn = (ScrnInfoPtr)pData;
    10661073    Bool fNeedUpdate = false;
    10671074
    1068     (void)pTimeout;
    1069     (void)pReadmask;
     1075    RT_NOREF(pTimeout);
     1076#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 23
     1077    RT_NOREF(pReadmask);
     1078#endif
    10701079    if (pScrn->vtSema)
    10711080        vbvxReadSizesAndCursorIntegrationFromHGSMI(pScrn, &fNeedUpdate);
     
    12241233    updateGraphicsCapability(pScrn, TRUE);
    12251234
     1235#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 23
     1236# define WakeupHandlerProcPtr ServerWakeupHandlerProcPtr
     1237#endif
     1238
    12261239    /* Register block and wake-up handlers for getting new screen size hints. */
    12271240    RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette