VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/vidmodeproc.h@ 37801

最後變更 在這個檔案從37801是 25078,由 vboxsync 提交於 15 年 前

Additions/x11/x11include: exported and set eol-style on new headers

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.5 KB
 
1
2/* Prototypes for DGA functions that the DDX must provide */
3
4#ifdef HAVE_DIX_CONFIG_H
5#include <dix-config.h>
6#endif
7
8#ifndef _VIDMODEPROC_H_
9#define _VIDMODEPROC_H_
10
11
12typedef enum {
13 VIDMODE_H_DISPLAY,
14 VIDMODE_H_SYNCSTART,
15 VIDMODE_H_SYNCEND,
16 VIDMODE_H_TOTAL,
17 VIDMODE_H_SKEW,
18 VIDMODE_V_DISPLAY,
19 VIDMODE_V_SYNCSTART,
20 VIDMODE_V_SYNCEND,
21 VIDMODE_V_TOTAL,
22 VIDMODE_FLAGS,
23 VIDMODE_CLOCK
24} VidModeSelectMode;
25
26typedef enum {
27 VIDMODE_MON_VENDOR,
28 VIDMODE_MON_MODEL,
29 VIDMODE_MON_NHSYNC,
30 VIDMODE_MON_NVREFRESH,
31 VIDMODE_MON_HSYNC_LO,
32 VIDMODE_MON_HSYNC_HI,
33 VIDMODE_MON_VREFRESH_LO,
34 VIDMODE_MON_VREFRESH_HI
35} VidModeSelectMonitor;
36
37typedef union {
38 pointer ptr;
39 int i;
40 float f;
41} vidMonitorValue;
42
43void XFree86VidModeExtensionInit(void);
44
45Bool VidModeAvailable(int scrnIndex);
46Bool VidModeGetCurrentModeline(int scrnIndex, pointer *mode, int *dotClock);
47Bool VidModeGetFirstModeline(int scrnIndex, pointer *mode, int *dotClock);
48Bool VidModeGetNextModeline(int scrnIndex, pointer *mode, int *dotClock);
49Bool VidModeDeleteModeline(int scrnIndex, pointer mode);
50Bool VidModeZoomViewport(int scrnIndex, int zoom);
51Bool VidModeGetViewPort(int scrnIndex, int *x, int *y);
52Bool VidModeSetViewPort(int scrnIndex, int x, int y);
53Bool VidModeSwitchMode(int scrnIndex, pointer mode);
54Bool VidModeLockZoom(int scrnIndex, Bool lock);
55Bool VidModeGetMonitor(int scrnIndex, pointer *monitor);
56int VidModeGetNumOfClocks(int scrnIndex, Bool *progClock);
57Bool VidModeGetClocks(int scrnIndex, int *Clocks);
58ModeStatus VidModeCheckModeForMonitor(int scrnIndex, pointer mode);
59ModeStatus VidModeCheckModeForDriver(int scrnIndex, pointer mode);
60void VidModeSetCrtcForMode(int scrnIndex, pointer mode);
61Bool VidModeAddModeline(int scrnIndex, pointer mode);
62int VidModeGetDotClock(int scrnIndex, int Clock);
63int VidModeGetNumOfModes(int scrnIndex);
64Bool VidModeSetGamma(int scrnIndex, float red, float green, float blue);
65Bool VidModeGetGamma(int scrnIndex, float *red, float *green, float *blue);
66pointer VidModeCreateMode(void);
67void VidModeCopyMode(pointer modefrom, pointer modeto);
68int VidModeGetModeValue(pointer mode, int valtyp);
69void VidModeSetModeValue(pointer mode, int valtyp, int val);
70vidMonitorValue VidModeGetMonitorValue(pointer monitor, int valtyp, int indx);
71Bool VidModeSetGammaRamp(int, int, CARD16 *, CARD16 *, CARD16 *);
72Bool VidModeGetGammaRamp(int, int, CARD16 *, CARD16 *, CARD16 *);
73int VidModeGetGammaRampSize(int scrnIndex);
74
75#endif
76
77
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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