VirtualBox

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

最後變更 在這個檔案從103415是 36308,由 vboxsync 提交於 14 年 前

fix OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.9 KB
 
1
2#ifndef _FBDEVHW_H_
3#define _FBDEVHW_H_
4
5#include "xf86str.h"
6#include "colormapst.h"
7
8#include <pciaccess.h>
9
10#define FBDEVHW_PACKED_PIXELS 0 /* Packed Pixels */
11#define FBDEVHW_PLANES 1 /* Non interleaved planes */
12#define FBDEVHW_INTERLEAVED_PLANES 2 /* Interleaved planes */
13#define FBDEVHW_TEXT 3 /* Text/attributes */
14#define FBDEVHW_VGA_PLANES 4 /* EGA/VGA planes */
15
16extern _X_EXPORT Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
17extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
18
19extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);
20
21extern _X_EXPORT Bool fbdevHWProbe(struct pci_device * pPci, char *device, char **namep);
22extern _X_EXPORT Bool fbdevHWInit(ScrnInfoPtr pScrn, struct pci_device * pPci, 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, int *indices,
44 LOCO *colors, VisualPtr pVisual);
45
46extern _X_EXPORT ModeStatus fbdevHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags);
47extern _X_EXPORT Bool fbdevHWSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
48extern _X_EXPORT void fbdevHWAdjustFrame(int scrnIndex, int x, int y, int flags);
49extern _X_EXPORT Bool fbdevHWEnterVT(int scrnIndex, int flags);
50extern _X_EXPORT void fbdevHWLeaveVT(int scrnIndex, int flags);
51extern _X_EXPORT void fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags);
52
53extern _X_EXPORT Bool fbdevHWSaveScreen(ScreenPtr pScreen, int mode);
54
55extern _X_EXPORT xf86SwitchModeProc *fbdevHWSwitchModeWeak(void);
56extern _X_EXPORT xf86AdjustFrameProc *fbdevHWAdjustFrameWeak(void);
57extern _X_EXPORT xf86EnterVTProc *fbdevHWEnterVTWeak(void);
58extern _X_EXPORT xf86LeaveVTProc *fbdevHWLeaveVTWeak(void);
59extern _X_EXPORT xf86ValidModeProc *fbdevHWValidModeWeak(void);
60extern _X_EXPORT xf86DPMSSetProc *fbdevHWDPMSSetWeak(void);
61extern _X_EXPORT xf86LoadPaletteProc *fbdevHWLoadPaletteWeak(void);
62extern _X_EXPORT SaveScreenProcPtr fbdevHWSaveScreenWeak(void);
63
64#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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