[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

more draw optimizations in xwin.c



Hi All!

    What's in this patch:

        * Added  --no-backpixmap  option to disable the ugly double
drawing in xwin.c (I have a
          very robust backing storage in my X, so I don't need it ;)
        * More optimizations to text draw (previous fast-text patch was
included in 192-3-6-2). In text
          drawing with solid background the glyphs are drawn with
stippled fill instead of XCopyPlane
          (runs faster on my S3Trio64 with XFree 3.3.6, please test it
on other configurations to validate
          this). The WinTach not show any improvement with this change,
it seems to use all transparent
          background text draws, but with a old PC Magazine Winbench
(3.1) doing the scroll text test the
          speed gain is significative.
        * My Previous patch to disable backing storage in fullscreen
mode.

    My WinTach runs:

      Platform: Amd586-150Mhz (486 core) with S3Trio64V+ 800x600 16-bit
colours

      WinTach word processing test:
        Patch 19-3-5:         2.09
        Patch 19-3-6-2:     3.56
        This patch:              3.68  ( with --no-backpixmap )
                                      4.86  ( with --no-backpixmap -F )
        M$ RDP W2K:        17.05 (fullscreen)

      WinTach overall performance:
        Patch 19-3-5:         15.75
        Patch 19-3-6-2:     17.06
        This patch:              25.24 ( with --no-backpixmap )
                                      25.60  ( with --no-backpixmap -F )

        M$ RDP W2K:          32.49 (fullscreen)

    To do:
        * Make more text optimizations! Some idea??
        * Change --no-backpixmap option to a compile time option??? How
many people have
          a broken backing-storage X??
        * Find bugs in this patch :)

(the patch is against 19-3-6-2)

--
Frank

fasttext2+nobackpixmap.patch.bz2