diff options
| author | Richard Grenville <pyxlcy@gmail.com> | 2013-04-05 21:05:19 +0800 |
|---|---|---|
| committer | Richard Grenville <pyxlcy@gmail.com> | 2013-04-05 21:05:19 +0800 |
| commit | 53870fb7fe83f5ab54a0e37a553f3dd769e2fbbf (patch) | |
| tree | 570c68806c57c2a5dd76f398bcb4d519f527fcb3 /twin/data/update_default_rules.cpp | |
| parent | ab53e73ce77aa44458de55f62abf6273ac44d540 (diff) | |
| download | tdebase-53870fb7fe83f5ab54a0e37a553f3dd769e2fbbf.tar.gz tdebase-53870fb7fe83f5ab54a0e37a553f3dd769e2fbbf.zip | |
Improvement: GLX: Cache region contents & --glx-no-rebind-pixmap
- Cache region contents in is_region_empty(), mostly useful only for GLX
backend to save one roundtrip to X.
- GLX backend: Add --glx-no-rebind-pixmap, which prevents rebinding of
GLX texture to pixmap on content change. It doesn't work on some
drivers, but it saves some CPU on those where it does.
- Wrap XFree() with a new function cxfree() since its man page claims
NULL pointers are not acceptable (although in fact it does...).
- Use macro to save some code in get_cfg(). Code clean-up.
Diffstat (limited to 'twin/data/update_default_rules.cpp')
0 files changed, 0 insertions, 0 deletions
