Changeset 93221 in vbox
- Timestamp:
- Jan 13, 2022 11:50:08 AM (3 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/xrandr-calls.h
r92989 r93221 42 42 (dpy, window, get_active, nmonitors)) \ 43 43 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)) 45 51 46 52 #ifdef VBOX_XRANDR_GENERATE_HEADER -
trunk/include/VBox/xrandr.h
r92992 r93221 51 51 typedef XID RROutput; 52 52 typedef XID Window; 53 typedef XID RROutput; 54 typedef XID RRCrtc; 55 typedef XID RRMode; 56 typedef unsigned long XRRModeFlags; 57 typedef unsigned long int Time; 53 58 54 59 struct XRRMonitorInfo … … 68 73 typedef struct XRRMonitorInfo XRRMonitorInfo; 69 74 75 struct 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 }; 92 typedef struct XRRModeInfo XRRModeInfo; 93 94 struct 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 }; 105 typedef struct XRRScreenResources XRRScreenResources; 70 106 71 107 /* Declarations of the functions that we need from libXrandr */
Note:
See TracChangeset
for help on using the changeset viewer.