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