VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/xf86cmap.h@ 76589

Last change on this file since 76589 was 69098, checked in by vboxsync, 8 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
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
13typedef void (*LoadPaletteFuncPtr)(
14 ScrnInfoPtr pScrn,
15 int numColors,
16 int *indicies,
17 LOCO *colors,
18 VisualPtr pVisual
19);
20
21typedef void (*SetOverscanFuncPtr)(
22 ScrnInfoPtr pScrn,
23 int Index
24);
25
26Bool xf86HandleColormaps(
27 ScreenPtr pScreen,
28 int maxCol,
29 int sigRGBbits,
30 LoadPaletteFuncPtr loadPalette,
31 SetOverscanFuncPtr setOverscan,
32 unsigned int flags
33);
34
35int
36xf86ChangeGamma(
37 ScreenPtr pScreen,
38 Gamma newGamma
39);
40
41int
42xf86ChangeGammaRamp(
43 ScreenPtr pScreen,
44 int size,
45 unsigned short *red,
46 unsigned short *green,
47 unsigned short *blue
48);
49
50int xf86GetGammaRampSize(ScreenPtr pScreen);
51
52int
53xf86GetGammaRamp(
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
Note: See TracBrowser for help on using the repository browser.

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