VirtualBox

Changeset 93221 in vbox


Ignore:
Timestamp:
Jan 13, 2022 11:50:08 AM (3 years ago)
Author:
vboxsync
Message:

iprt: xrandr: extend amount of dynamically loaded library symbols, bugref:10134.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/xrandr-calls.h

    r92989 r93221  
    4242                 (dpy, window, get_active, nmonitors)) \
    4343 RT_PROXY_STUB(XRRFreeMonitors, void, (XRRMonitorInfo *monitors), \
    44                  (monitors))
     44                 (monitors)) \
     45 RT_PROXY_STUB(XRRGetScreenResources, XRRScreenResources *, (Display *dpy, Window window), \
     46                 (dpy, window)) \
     47 RT_PROXY_STUB(XRRFreeScreenResources, void, (XRRScreenResources *resources), \
     48                 (resources)) \
     49 RT_PROXY_STUB(XRRSetOutputPrimary, void, (Display *dpy, Window window, RROutput output), \
     50                 (dpy, window, output))
    4551
    4652#ifdef VBOX_XRANDR_GENERATE_HEADER
  • trunk/include/VBox/xrandr.h

    r92992 r93221  
    5151typedef XID RROutput;
    5252typedef XID Window;
     53typedef XID RROutput;
     54typedef XID RRCrtc;
     55typedef XID RRMode;
     56typedef unsigned long XRRModeFlags;
     57typedef unsigned long int Time;
    5358
    5459struct XRRMonitorInfo
     
    6873typedef struct XRRMonitorInfo XRRMonitorInfo;
    6974
     75struct XRRModeInfo
     76{
     77    RRMode id;
     78    unsigned int width;
     79    unsigned int height;
     80    unsigned long dotClock;
     81    unsigned int hSyncStart;
     82    unsigned int hSyncEnd;
     83    unsigned int hTotal;
     84    unsigned int hSkew;
     85    unsigned int vSyncStart;
     86    unsigned int vSyncEnd;
     87    unsigned int vTotal;
     88    char *name;
     89    unsigned int nameLength;
     90    XRRModeFlags modeFlags;
     91};
     92typedef struct XRRModeInfo XRRModeInfo;
     93
     94struct XRRScreenResources
     95{
     96    Time timestamp;
     97    Time configTimestamp;
     98    int ncrtc;
     99    RRCrtc *crtcs;
     100    int noutput;
     101    RROutput *outputs;
     102    int nmode;
     103    XRRModeInfo *modes;
     104};
     105typedef struct XRRScreenResources XRRScreenResources;
    70106
    71107/* Declarations of the functions that we need from libXrandr */
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