diff options
author | Richard Grenville <[email protected]> | 2013-03-18 19:01:18 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-03-18 19:01:18 +0800 |
commit | 69c3579a24635e9504bceabc1c76dfe96342c3b0 (patch) | |
tree | 037aed0ddfaafdc80c85ef19fde30ffbddea6457 /compton.c | |
parent | 848103bc3447f814c51cb818836533e18e018bf5 (diff) | |
download | tdebase-69c3579a24635e9504bceabc1c76dfe96342c3b0.tar.gz tdebase-69c3579a24635e9504bceabc1c76dfe96342c3b0.zip |
Improvement: GLX: Use SCISSOR_TEST instead of STENCIL_TEST when possible
- GLX backend: Use GL_SCISSOR_TEST instead of STENCIL_TEST if there's
only one rectangle in glx_set_clip(). Profiling with gDebugger shows a
10% performance improvement.
- Add .desktop installation rules. (#97)
Diffstat (limited to 'compton.c')
-rw-r--r-- | compton.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4136,7 +4136,7 @@ usage(void) { "--glx-no-stencil\n" " Avoid using stencil buffer under GLX backend. Might cause issues\n" " when rendering transparent content, may have a positive or\n" - " negative effect on performance.\n" + " negative effect on performance. (My test shows a 10% slowdown.)\n" #undef WARNING #ifndef CONFIG_DBUS #define WARNING WARNING_DISABLED |