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

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/4.2/programs/Xserver/hw/xfree86/common/xf86cmap.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
 
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86cmap.h,v 1.7 2001/05/06 00:49:12 mvojkovi Exp $ */
2
 
 
3
 
#ifndef _XF86CMAP_H
4
 
#define _XF86CMAP_H
5
 
 
6
 
#include "xf86str.h"
7
 
#include "colormapst.h"
8
 
 
9
 
#define CMAP_PALETTED_TRUECOLOR         0x0000001
10
 
#define CMAP_RELOAD_ON_MODE_SWITCH      0x0000002
11
 
#define CMAP_LOAD_EVEN_IF_OFFSCREEN     0x0000004
12
 
 
13
 
typedef void (*LoadPaletteFuncPtr)(
14
 
    ScrnInfoPtr pScrn, 
15
 
    int numColors, 
16
 
    int *indicies,
17
 
    LOCO *colors,
18
 
    VisualPtr pVisual
19
 
);
20
 
 
21
 
typedef void (*SetOverscanFuncPtr)(
22
 
    ScrnInfoPtr pScrn,
23
 
    int Index
24
 
);
25
 
 
26
 
Bool xf86HandleColormaps(
27
 
    ScreenPtr pScreen,
28
 
    int maxCol,
29
 
    int sigRGBbits,
30
 
    LoadPaletteFuncPtr loadPalette,
31
 
    SetOverscanFuncPtr setOverscan,
32
 
    unsigned int flags
33
 
);
34
 
 
35
 
int
36
 
xf86ChangeGamma(
37
 
   ScreenPtr pScreen,
38
 
   Gamma newGamma
39
 
);
40
 
 
41
 
int
42
 
xf86ChangeGammaRamp(
43
 
   ScreenPtr pScreen,
44
 
   int size,
45
 
   unsigned short *red,
46
 
   unsigned short *green,
47
 
   unsigned short *blue
48
 
);
49
 
 
50
 
int xf86GetGammaRampSize(ScreenPtr pScreen);
51
 
 
52
 
int
53
 
xf86GetGammaRamp(
54
 
   ScreenPtr pScreen,
55
 
   int size,
56
 
   unsigned short *red,
57
 
   unsigned short *green,
58
 
   unsigned short *blue
59
 
);
60
 
 
61
 
#endif /* _XF86CMAP_H */
62