45e9809aff7304721fddb95654901b32195c9c7avboxsync int XAAHelpSolidROP(ScrnInfoPtr pScrn, int *fg, int pm, int *rop)
45e9809aff7304721fddb95654901b32195c9c7avboxsync For use with solid fills emulated by solid 8x8 patterns. You
45e9809aff7304721fddb95654901b32195c9c7avboxsync give it the foreground, planemask and X rop and it will replace
45e9809aff7304721fddb95654901b32195c9c7avboxsync the foreground with a new one and the rop with the appropriate
45e9809aff7304721fddb95654901b32195c9c7avboxsync MS triadic raster op. The function will return which components
45e9809aff7304721fddb95654901b32195c9c7avboxsync (S-P) need to be enabled.
45e9809aff7304721fddb95654901b32195c9c7avboxsync int XAAHelpPatternROP(ScrnInfoPtr pScrn, int *fg, int *bg, int pm, int *rop)
45e9809aff7304721fddb95654901b32195c9c7avboxsync For use with 8x8 opaque pattern fills. You give it the foreground,
45e9809aff7304721fddb95654901b32195c9c7avboxsync and background, planemask and X rop and it will replace the
45e9809aff7304721fddb95654901b32195c9c7avboxsync foreground and background with new ones and the rop with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync appropriate MS triadic raster op. The function will return which
45e9809aff7304721fddb95654901b32195c9c7avboxsync components (S-P) need to be enabled.
45e9809aff7304721fddb95654901b32195c9c7avboxsync ROP_PAT - Means to enable 8x8 mono patterns (all bits
45e9809aff7304721fddb95654901b32195c9c7avboxsync set for solid patterns). Set the foreground and
45e9809aff7304721fddb95654901b32195c9c7avboxsync background as returned by the function.
45e9809aff7304721fddb95654901b32195c9c7avboxsync ROP_SRC - Means a source of color == planemask should be used.
45e9809aff7304721fddb95654901b32195c9c7avboxsync ((rop == GXnoop) || (rop == GXset) || (rop == GXclear) || (rop == GXinvert))
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint XAAHelpSolidROP(ScrnInfoPtr pScrn, int *fg, int pm, int *rop);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncint XAAHelpPatternROP(ScrnInfoPtr pScrn, int *fg, int *bg, int pm, int *rop);
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* XXX These four should be static, but it breaks the 6.7.0 ABI. */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int XAAGetCopyROP(int i);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int XAAGetCopyROP_PM(int i);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int XAAGetPatternROP(int i);
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern int XAAGetPatternROP_PM(int i);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* _XAAROP_H */