diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-24 18:22:20 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-02-26 14:20:42 -0800 |
commit | 22dc9a5580d77cc4707bfb8e19474e611a06ae9a (patch) | |
tree | 91a60fbcc1fba6b315549c7b112728320c5f30ec /uxa/uxa-unaccel.c | |
parent | cb1f7ec0876746c1b52b63cdb508544e9e4e32e3 (diff) |
Fix UXA for server 1.4.
Diffstat (limited to 'uxa/uxa-unaccel.c')
-rw-r--r-- | uxa/uxa-unaccel.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/uxa/uxa-unaccel.c b/uxa/uxa-unaccel.c index 8f864688..f63c03b7 100644 --- a/uxa/uxa-unaccel.c +++ b/uxa/uxa-unaccel.c @@ -336,6 +336,24 @@ uxa_check_get_spans (DrawablePtr pDrawable, } } +#ifndef SERVER_1_5 +void +uxa_check_paint_window (WindowPtr pWin, RegionPtr pRegion, int what) +{ + ScreenPtr screen = pWin->drawable.pScreen; + + UXA_FALLBACK(("from %p (%c)\n", pWin, + uxa_drawable_location (&pWin->drawable))); + if (uxa_prepare_access (&pWin->drawable, UXA_ACCESS_RW)) { + if (uxa_prepare_access_window (pWin)) { + fbPaintWindow (pWin, pRegion, what); + uxa_finish_access_window (pWin); + } + uxa_finish_access(&pWin->drawable); + } +} +#endif + void uxa_check_composite (CARD8 op, PicturePtr pSrc, |