~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xfree86/common/xf86VGAarbiterPriv.h

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    (VGAarbiterGCPtr)dixLookupPrivate(&(x)->devPrivates, VGAarbiterGCKey);\
94
94
    (x)->ops = pGCPriv->wrapOps; (x)->funcs = pGCPriv->wrapFuncs;
95
95
 
96
 
#define GC_SCREEN register ScrnInfoPtr pScrn = \
97
 
    xf86Screens[pGC->pScreen->myNum]
98
 
 
99
 
#define VGAGet(x)\
100
 
    pci_device_vgaarb_set_target(xf86Screens[pScreen->myNum]->vgaDev); \
101
 
    pci_device_vgaarb_lock();
102
 
 
103
 
#define VGAGet_GC(x)\
104
 
    pci_device_vgaarb_set_target(xf86Screens[pGC->pScreen->myNum]->vgaDev); \
105
 
    pci_device_vgaarb_lock();
106
 
 
107
 
#define VGAPut(x)\
108
 
    pci_device_vgaarb_unlock();
109
 
 
110
 
#define VGAPut_GC(x)\
111
 
    pci_device_vgaarb_unlock();
112
 
 
 
96
static inline void
 
97
VGAGet(ScreenPtr pScreen) {
 
98
    pci_device_vgaarb_set_target(xf86Screens[pScreen->myNum]->vgaDev);
 
99
    pci_device_vgaarb_lock();
 
100
}
 
101
 
 
102
static inline void
 
103
VGAPut(void) {
 
104
    pci_device_vgaarb_unlock();
 
105
}
113
106
 
114
107
typedef struct _VGAarbiterScreen {
115
108
    CreateGCProcPtr             CreateGC;
156
149
static void VGAarbiterGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr
157
150
    ppt, int *pwidth, int nspans, char  *pdstStart);
158
151
static void VGAarbiterSourceValidate (DrawablePtr pDrawable, int x, int y,
159
 
    int width, int height);
 
152
    int width, int height, unsigned int subWindowMode);
160
153
static void VGAarbiterCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg,
161
154
    RegionPtr prgnSrc);
162
155
static void VGAarbiterClearToBackground (WindowPtr pWin, int x, int y, int w,