diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-10-25 07:12:21 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-10-25 07:12:21 +0000 |
commit | a57e85b52357f15f52e81c8d9b310a76e0c62b3f (patch) | |
tree | c6d5c730d0bafd5a6254a25cf2911736b3c2e302 /Xprint/ps/Ps.h | |
parent | e0cc4871491ab7a8c52749ff2c077d8f11516b15 (diff) |
Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1664 - RFE: Add
support for the DOUBLE-BUFFER extension to the Xprint server and DDX.
Additionally a "pixmap-scrubber" optimisation is added to the
PostScript DDX to remove all content from a vector pixmap when a
|PolyFillRect()| call covers the whole pixmap surface with a solid fill
(this avoids that a backbuffer vector pixmap gets constantly filled
even when the content is not visible anymore after |XdbeSwapBuffers()|
has cleared the hidden buffer with the background color).
Diffstat (limited to 'Xprint/ps/Ps.h')
-rw-r--r-- | Xprint/ps/Ps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xprint/ps/Ps.h b/Xprint/ps/Ps.h index 1b1f02a1a..726cf5aae 100644 --- a/Xprint/ps/Ps.h +++ b/Xprint/ps/Ps.h @@ -566,6 +566,7 @@ extern void PsSetFillColor(DrawablePtr pDrawable, GCPtr pGC, PsOutPtr psOut, extern PixmapPtr PsCreatePixmap(ScreenPtr pScreen, int width, int height, int depth); +extern void PsScrubPixmap(PixmapPtr pPixmap); extern Bool PsDestroyPixmap(PixmapPtr pPixmap); extern DisplayListPtr PsGetFreeDisplayBlock(PsPixmapPrivPtr priv); extern void PsReplayPixmap(PixmapPtr pix, DrawablePtr pDrawable); |