~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.5.3/xf86Modes.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
 
 * Copyright � 2006 Intel Corporation
3
 
 *
4
 
 * Permission is hereby granted, free of charge, to any person obtaining a
5
 
 * copy of this software and associated documentation files (the "Software"),
6
 
 * to deal in the Software without restriction, including without limitation
7
 
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
 
 * and/or sell copies of the Software, and to permit persons to whom the
9
 
 * Software is furnished to do so, subject to the following conditions:
10
 
 *
11
 
 * The above copyright notice and this permission notice (including the next
12
 
 * paragraph) shall be included in all copies or substantial portions of the
13
 
 * Software.
14
 
 *
15
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18
 
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
 
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
 
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
 
 * SOFTWARE.
22
 
 *
23
 
 * Authors:
24
 
 *    Eric Anholt <eric@anholt.net>
25
 
 *
26
 
 */
27
 
 
28
 
#ifndef _XF86MODES_H_
29
 
#define _XF86MODES_H_
30
 
 
31
 
#include <stddef.h>
32
 
#include <string.h>
33
 
#include <stdio.h>
34
 
 
35
 
#include "xf86.h"
36
 
#include "xorgVersion.h"
37
 
#include "edid.h"
38
 
#include "xf86Parser.h"
39
 
#if XF86_MODES_RENAME
40
 
#include "xf86Rename.h"
41
 
#endif
42
 
 
43
 
double xf86ModeHSync(DisplayModePtr mode);
44
 
double xf86ModeVRefresh(DisplayModePtr mode);
45
 
unsigned int xf86ModeBandwidth(DisplayModePtr mode, int depth);
46
 
 
47
 
int
48
 
xf86ModeWidth (DisplayModePtr mode, Rotation rotation);
49
 
    
50
 
int
51
 
xf86ModeHeight (DisplayModePtr mode, Rotation rotation);
52
 
 
53
 
DisplayModePtr xf86DuplicateMode(DisplayModePtr pMode);
54
 
DisplayModePtr xf86DuplicateModes(ScrnInfoPtr pScrn,
55
 
                                       DisplayModePtr modeList);
56
 
void xf86SetModeDefaultName(DisplayModePtr mode);
57
 
void xf86SetModeCrtc(DisplayModePtr p, int adjustFlags);
58
 
Bool xf86ModesEqual(DisplayModePtr pMode1, DisplayModePtr pMode2);
59
 
void xf86PrintModeline(int scrnIndex,DisplayModePtr mode);
60
 
DisplayModePtr xf86ModesAdd(DisplayModePtr modes, DisplayModePtr new);
61
 
 
62
 
DisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
63
 
DisplayModePtr xf86CVTMode(int HDisplay, int VDisplay, float VRefresh,
64
 
                           Bool Reduced, Bool Interlaced);
65
 
DisplayModePtr xf86GTFMode(int h_pixels, int v_lines, float freq, int interlaced, int margins);
66
 
 
67
 
void
68
 
xf86ValidateModesFlags(ScrnInfoPtr pScrn, DisplayModePtr modeList,
69
 
                       int flags);
70
 
 
71
 
void
72
 
xf86ValidateModesClocks(ScrnInfoPtr pScrn, DisplayModePtr modeList,
73
 
                        int *min, int *max, int n_ranges);
74
 
 
75
 
void
76
 
xf86ValidateModesSize(ScrnInfoPtr pScrn, DisplayModePtr modeList,
77
 
                      int maxX, int maxY, int maxPitch);
78
 
 
79
 
void
80
 
xf86ValidateModesSync(ScrnInfoPtr pScrn, DisplayModePtr modeList,
81
 
                      MonPtr mon);
82
 
 
83
 
void
84
 
xf86ValidateModesBandwidth(ScrnInfoPtr pScrn, DisplayModePtr modeList,
85
 
                           unsigned int bandwidth, int depth);
86
 
 
87
 
void
88
 
xf86ValidateModesReducedBlanking(ScrnInfoPtr pScrn, DisplayModePtr modeList);
89
 
 
90
 
void
91
 
xf86PruneInvalidModes(ScrnInfoPtr pScrn, DisplayModePtr *modeList,
92
 
                      Bool verbose);
93
 
 
94
 
void
95
 
xf86ValidateModesFlags(ScrnInfoPtr pScrn, DisplayModePtr modeList,
96
 
                       int flags);
97
 
 
98
 
void
99
 
xf86ValidateModesUserConfig(ScrnInfoPtr pScrn, DisplayModePtr modeList);
100
 
 
101
 
DisplayModePtr
102
 
xf86GetMonitorModes (ScrnInfoPtr pScrn, XF86ConfMonitorPtr conf_monitor);
103
 
 
104
 
DisplayModePtr
105
 
xf86GetDefaultModes (Bool interlaceAllowed, Bool doubleScanAllowed);
106
 
 
107
 
void
108
 
xf86DDCApplyQuirks(int scrnIndex, xf86MonPtr DDC);
109
 
 
110
 
#endif /* _XF86MODES_H_ */