VirtualBox

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

Last change on this file since 78293 was 50218, checked in by vboxsync, 11 years ago

Additions/x11: added headers for X.Org Server 1.15.

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
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
Note: See TracBrowser for help on using the repository browser.

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