VirtualBox

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

最後變更 在這個檔案從62425是 43272,由 vboxsync 提交於 12 年 前

Additions/x11: more original X server headers.

  • 屬性 svn:eol-style 設為 native
檔案大小: 2.2 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
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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