Lines Matching defs:_ScrnInfoRec

566 typedef struct _ScrnInfoRec {  struct
567 int driverVersion;
568 const char *driverName; /* canonical name used in */
570 ScreenPtr pScreen; /* Pointer to the ScreenRec */
571 int scrnIndex; /* Number of this screen */
572 Bool configured; /* Is this screen valid */
573 int origIndex; /* initial number assigned to
579 int imageByteOrder;
580 int bitmapScanlineUnit;
581 int bitmapScanlinePad;
582 int bitmapBitOrder;
583 int numFormats;
584 PixmapFormatRec formats[MAXFORMATS];
585 PixmapFormatRec fbFormat;
587 int bitsPerPixel; /* fb bpp */
588 int depth; /* depth of default visual */
589 MessageType depthFrom; /* set from config? */
590 MessageType bitsPerPixelFrom; /* set from config? */
591 rgb weight; /* r/g/b weights */
592 rgb mask; /* rgb masks */
593 rgb offset; /* rgb offsets */
594 int rgbBits; /* Number of bits in r/g/b */
595 Gamma gamma; /* Gamma of the monitor */
596 int defaultVisual; /* default visual class */
597 int virtualX; /* Virtual width */
598 int virtualY; /* Virtual height */
599 int xInc; /* Horizontal timing increment */
600 int displayWidth; /* memory pitch */
601 int frameX0; /* viewport position */
602 int frameY0;
603 int frameX1;
604 int frameY1;
605 int zoomLocked; /* Disallow mode changes */
606 DisplayModePtr modePool; /* list of compatible modes */
607 DisplayModePtr modes; /* list of actual modes */
608 DisplayModePtr currentMode; /* current mode
613 confScreenPtr confScreen; /* Screen config info */
614 MonPtr monitor; /* Monitor information */
615 DispPtr display; /* Display information */
616 int *entityList; /* List of device entities */
617 int numEntities;
618 int widthmm; /* physical display dimensions
620 int heightmm;
621 int xDpi; /* width DPI */
622 int yDpi; /* height DPI */
623 const char *name; /* Name to prefix messages */
624 void *driverPrivate; /* Driver private area */
625 DevUnion *privates; /* Other privates can hook in
627 DriverPtr drv; /* xf86DriverList[] entry */
628 void *module; /* Pointer to module head */
629 int colorKey;
630 int overlayFlags;
634 const char *chipset; /* chipset name */
635 const char *ramdac; /* ramdac name */
636 const char *clockchip; /* clock name */
637 Bool progClock; /* clock is programmable */
638 int numClocks; /* number of clocks */
639 int clock[MAXCLOCKS]; /* list of clock frequencies */
640 int videoRam; /* amount of video ram (kb) */
641 unsigned long memPhysBase; /* Physical address of FB */
642 unsigned long fbOffset; /* Offset of FB in the above */
643 Bool flipPixels; /* swap default black/white */
644 void *options;
647 Bool vtSema;
650 Bool silkenMouse;
653 ClockRangePtr clockRanges;
654 int adjustFlags;
657 int preferClone;
659 Bool is_gpu;
660 uint32_t capabilities;
662 int *entityInstanceList;
663 struct pci_device *vgaDev;
670 xf86ProbeProc *Probe;
671 xf86PreInitProc *PreInit;
672 xf86ScreenInitProc *ScreenInit;
673 xf86SwitchModeProc *SwitchMode;
674 xf86AdjustFrameProc *AdjustFrame;
675 xf86EnterVTProc *EnterVT;
676 xf86LeaveVTProc *LeaveVT;
677 xf86FreeScreenProc *FreeScreen;
678 xf86ValidModeProc *ValidMode;
679 xf86EnableDisableFBAccessProc *EnableDisableFBAccess;
680 xf86SetDGAModeProc *SetDGAMode;
681 xf86ChangeGammaProc *ChangeGamma;
682 xf86PointerMovedProc *PointerMoved;
683 xf86PMEventProc *PMEvent;
684 xf86DPMSSetProc *DPMSSet;
685 xf86LoadPaletteProc *LoadPalette;
686 xf86SetOverscanProc *SetOverscan;
687 xorgDriverFuncProc *DriverFunc;
688 xf86ModeSetProc *ModeSet;
690 int reservedInt[NUM_RESERVED_INTS];
691 void *reservedPtr[NUM_RESERVED_POINTERS];
692 funcPointer reservedFuncs[NUM_RESERVED_FUNCS];