VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/fbdevhw.h@ 81245

最後變更 在這個檔案從81245是 54163,由 vboxsync 提交於 10 年 前

Additions/x11/vboxvideo: support X.Org Server 1.17 (still untested).

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.1 KB
 
1
2#ifndef _FBDEVHW_H_
3#define _FBDEVHW_H_
4
5#include "xf86str.h"
6#include "colormapst.h"
7
8#define FBDEVHW_PACKED_PIXELS 0 /* Packed Pixels */
9#define FBDEVHW_PLANES 1 /* Non interleaved planes */
10#define FBDEVHW_INTERLEAVED_PLANES 2 /* Interleaved planes */
11#define FBDEVHW_TEXT 3 /* Text/attributes */
12#define FBDEVHW_VGA_PLANES 4 /* EGA/VGA planes */
13
14extern _X_EXPORT Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
15extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
16
17extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);
18
19extern _X_EXPORT Bool fbdevHWProbe(struct pci_device *pPci, char *device,
20 char **namep);
21extern _X_EXPORT Bool fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device *pPci,
22 char *device);
23
24extern _X_EXPORT char *fbdevHWGetName(ScrnInfoPtr pScrn);
25extern _X_EXPORT int fbdevHWGetDepth(ScrnInfoPtr pScrn, int *fbbpp);
26extern _X_EXPORT int fbdevHWGetLineLength(ScrnInfoPtr pScrn);
27extern _X_EXPORT int fbdevHWGetType(ScrnInfoPtr pScrn);
28extern _X_EXPORT int fbdevHWGetVidmem(ScrnInfoPtr pScrn);
29
30extern _X_EXPORT void *fbdevHWMapVidmem(ScrnInfoPtr pScrn);
31extern _X_EXPORT int fbdevHWLinearOffset(ScrnInfoPtr pScrn);
32extern _X_EXPORT Bool fbdevHWUnmapVidmem(ScrnInfoPtr pScrn);
33extern _X_EXPORT void *fbdevHWMapMMIO(ScrnInfoPtr pScrn);
34extern _X_EXPORT Bool fbdevHWUnmapMMIO(ScrnInfoPtr pScrn);
35
36extern _X_EXPORT void fbdevHWSetVideoModes(ScrnInfoPtr pScrn);
37extern _X_EXPORT DisplayModePtr fbdevHWGetBuildinMode(ScrnInfoPtr pScrn);
38extern _X_EXPORT void fbdevHWUseBuildinMode(ScrnInfoPtr pScrn);
39extern _X_EXPORT Bool fbdevHWModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
40extern _X_EXPORT void fbdevHWSave(ScrnInfoPtr pScrn);
41extern _X_EXPORT void fbdevHWRestore(ScrnInfoPtr pScrn);
42
43extern _X_EXPORT void fbdevHWLoadPalette(ScrnInfoPtr pScrn, int numColors,
44 int *indices, LOCO * colors,
45 VisualPtr pVisual);
46
47extern _X_EXPORT ModeStatus fbdevHWValidMode(ScrnInfoPtr pScrn, DisplayModePtr mode,
48 Bool verbose, int flags);
49extern _X_EXPORT Bool fbdevHWSwitchMode(ScrnInfoPtr pScrn, DisplayModePtr mode);
50extern _X_EXPORT void fbdevHWAdjustFrame(ScrnInfoPtr pScrn, int x, int y);
51extern _X_EXPORT Bool fbdevHWEnterVT(ScrnInfoPtr pScrn);
52extern _X_EXPORT void fbdevHWLeaveVT(ScrnInfoPtr pScrn);
53extern _X_EXPORT void fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags);
54
55extern _X_EXPORT Bool fbdevHWSaveScreen(ScreenPtr pScreen, int mode);
56
57extern _X_EXPORT xf86SwitchModeProc *fbdevHWSwitchModeWeak(void);
58extern _X_EXPORT xf86AdjustFrameProc *fbdevHWAdjustFrameWeak(void);
59extern _X_EXPORT xf86EnterVTProc *fbdevHWEnterVTWeak(void);
60extern _X_EXPORT xf86LeaveVTProc *fbdevHWLeaveVTWeak(void);
61extern _X_EXPORT xf86ValidModeProc *fbdevHWValidModeWeak(void);
62extern _X_EXPORT xf86DPMSSetProc *fbdevHWDPMSSetWeak(void);
63extern _X_EXPORT xf86LoadPaletteProc *fbdevHWLoadPaletteWeak(void);
64extern _X_EXPORT SaveScreenProcPtr fbdevHWSaveScreenWeak(void);
65
66#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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