~ubuntu-branches/ubuntu/vivid/virtualbox-ose/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.5.3/fbdevhw.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

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