VirtualBox

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

最後變更 在這個檔案從61386是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

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

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