VirtualBox

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

Last change on this file since 86603 was 25078, checked in by vboxsync, 15 years ago

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

  • Property svn:eol-style set to native
File size: 2.2 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
14Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
15void fbdevHWFreeRec(ScrnInfoPtr pScrn);
16
17Bool fbdevHWProbe(pciVideoPtr pPci, char *device, char **namep);
18Bool fbdevHWInit(ScrnInfoPtr pScrn, pciVideoPtr pPci, char *device);
19
20char* fbdevHWGetName(ScrnInfoPtr pScrn);
21int fbdevHWGetDepth(ScrnInfoPtr pScrn, int *fbbpp);
22int fbdevHWGetLineLength(ScrnInfoPtr pScrn);
23int fbdevHWGetType(ScrnInfoPtr pScrn);
24int fbdevHWGetVidmem(ScrnInfoPtr pScrn);
25
26void* fbdevHWMapVidmem(ScrnInfoPtr pScrn);
27int fbdevHWLinearOffset(ScrnInfoPtr pScrn);
28Bool fbdevHWUnmapVidmem(ScrnInfoPtr pScrn);
29void* fbdevHWMapMMIO(ScrnInfoPtr pScrn);
30Bool fbdevHWUnmapMMIO(ScrnInfoPtr pScrn);
31
32void fbdevHWSetVideoModes(ScrnInfoPtr pScrn);
33DisplayModePtr fbdevHWGetBuildinMode(ScrnInfoPtr pScrn);
34void fbdevHWUseBuildinMode(ScrnInfoPtr pScrn);
35Bool fbdevHWModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
36void fbdevHWSave(ScrnInfoPtr pScrn);
37void fbdevHWRestore(ScrnInfoPtr pScrn);
38
39void fbdevHWLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
40 LOCO *colors, VisualPtr pVisual);
41
42ModeStatus fbdevHWValidMode(int scrnIndex, DisplayModePtr mode, Bool verbose, int flags);
43Bool fbdevHWSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
44void fbdevHWAdjustFrame(int scrnIndex, int x, int y, int flags);
45Bool fbdevHWEnterVT(int scrnIndex, int flags);
46void fbdevHWLeaveVT(int scrnIndex, int flags);
47void fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mode, int flags);
48
49Bool fbdevHWSaveScreen(ScreenPtr pScreen, int mode);
50
51xf86SwitchModeProc *fbdevHWSwitchModeWeak(void);
52xf86AdjustFrameProc *fbdevHWAdjustFrameWeak(void);
53xf86EnterVTProc *fbdevHWEnterVTWeak(void);
54xf86LeaveVTProc *fbdevHWLeaveVTWeak(void);
55xf86ValidModeProc *fbdevHWValidModeWeak(void);
56xf86DPMSSetProc *fbdevHWDPMSSetWeak(void);
57xf86LoadPaletteProc *fbdevHWLoadPaletteWeak(void);
58SaveScreenProcPtr fbdevHWSaveScreenWeak(void);
59
60#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