mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
dix: move LOCO struct declaration out of public header
Not used by any external module/driver, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -26,6 +26,13 @@ typedef struct {
|
||||
short refcnt;
|
||||
} SHAREDCOLOR;
|
||||
|
||||
/* LOCO -- a local color for a PseudoColor cell. DirectColor maps always
|
||||
* use the first value (called red) in the structure. What channel they
|
||||
* are really talking about depends on which map they are in. */
|
||||
typedef struct _CMAP_LOCO {
|
||||
unsigned short red, green, blue;
|
||||
} LOCO;
|
||||
|
||||
/* SHCO -- a shared color for a PseudoColor cell. Used with AllocColorPlanes.
|
||||
* DirectColor maps always use the first value (called red) in the structure.
|
||||
* What channel they are really talking about depends on which map they
|
||||
|
||||
@@ -538,6 +538,7 @@ typedef struct {
|
||||
/*
|
||||
* Driver entry point types
|
||||
*/
|
||||
struct _CMAP_LOCO;
|
||||
|
||||
typedef Bool xf86ProbeProc(DriverPtr, int);
|
||||
typedef Bool xf86PreInitProc(ScrnInfoPtr, int);
|
||||
@@ -554,7 +555,7 @@ typedef int xf86ChangeGammaProc(ScrnInfoPtr, Gamma);
|
||||
typedef void xf86PointerMovedProc(ScrnInfoPtr, int, int);
|
||||
typedef Bool xf86PMEventProc(ScrnInfoPtr, pmEvent, Bool);
|
||||
typedef void xf86DPMSSetProc(ScrnInfoPtr, int, int);
|
||||
typedef void xf86LoadPaletteProc(ScrnInfoPtr, int, int *, LOCO *, VisualPtr);
|
||||
typedef void xf86LoadPaletteProc(ScrnInfoPtr, int, int *, struct _CMAP_LOCO *, VisualPtr);
|
||||
typedef void xf86SetOverscanProc(ScrnInfoPtr, int);
|
||||
typedef void xf86ModeSetProc(ScrnInfoPtr);
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <sys/mman.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
#include "os/fmt.h"
|
||||
|
||||
#include "dumb_bo.h"
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Modes.h"
|
||||
#include "xf86_OSproc.h"
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#define FBDEVHW_TEXT 3 /* Text/attributes */
|
||||
#define FBDEVHW_VGA_PLANES 4 /* EGA/VGA planes */
|
||||
|
||||
struct _CMAP_LOCO;
|
||||
|
||||
extern _X_EXPORT Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
|
||||
extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
|
||||
|
||||
@@ -40,7 +42,7 @@ extern _X_EXPORT void fbdevHWSave(ScrnInfoPtr pScrn);
|
||||
extern _X_EXPORT void fbdevHWRestore(ScrnInfoPtr pScrn);
|
||||
|
||||
extern _X_EXPORT void fbdevHWLoadPalette(ScrnInfoPtr pScrn, int numColors,
|
||||
int *indices, LOCO * colors,
|
||||
int *indices, struct _CMAP_LOCO * colors,
|
||||
VisualPtr pVisual);
|
||||
|
||||
extern _X_EXPORT ModeStatus fbdevHWValidMode(ScrnInfoPtr pScrn, DisplayModePtr mode,
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <xorg-config.h>
|
||||
#endif
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86cmap.h"
|
||||
#include "fbdevhw.h"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include <X11/extensions/render.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
|
||||
#include "randrstr.h"
|
||||
#include "xf86RandR12.h"
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <X11/X.h>
|
||||
|
||||
#include "dix/colormap_priv.h"
|
||||
#include "os/log_priv.h"
|
||||
|
||||
#include "misc.h"
|
||||
|
||||
@@ -49,11 +49,4 @@ SOFTWARE.
|
||||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
/* LOCO -- a local color for a PseudoColor cell. DirectColor maps always
|
||||
* use the first value (called red) in the structure. What channel they
|
||||
* are really talking about depends on which map they are in. */
|
||||
typedef struct {
|
||||
unsigned short red, green, blue;
|
||||
} LOCO;
|
||||
|
||||
#endif /* COLORMAP_H */
|
||||
|
||||
Reference in New Issue
Block a user