diff options
author | Błażej Szczygieł <spaz16@wp.pl> | 2018-03-03 16:23:33 +0100 |
---|---|---|
committer | Błażej Szczygieł <spaz16@wp.pl> | 2018-03-14 12:47:27 +0000 |
commit | a62f1d03560937a306c7586669a46cd9575e9464 (patch) | |
tree | 9c9de09595c9b843e79ce8e30b9f592d85dc8310 /header.LGPL3-COMM | |
parent | 421cfd9492ec04f5432c81b6cad93ebe45601974 (diff) |
xcb: Prevent shared memory allocation on every window resize
Allocate new shared memory only when window size grows or when window
size is 2 times smaller than allocated memory size. This improves
window resizing performance and also allows to free some memory if
window becames much smaller.
Change-Id: I3454cd3c6023eede8242d6b29038f4dd6638f9f1
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Alexander Volkov <a.volkov@rusbitech.ru>
Diffstat (limited to 'header.LGPL3-COMM')
0 files changed, 0 insertions, 0 deletions