diff options
author | Peter Lieven <pl@kamp.de> | 2016-06-30 12:00:46 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-07-12 08:34:13 +0200 |
commit | 095497ffc66b7f031ff2a17f1e50f5cb105ce588 (patch) | |
tree | 567d421d34ce351c327de5d650bcd396574ed920 /target-mips/gdbstub.c | |
parent | 5a693efda84d7df5136cc2bd31c959bb1530b0c9 (diff) | |
download | qemu-095497ffc66b7f031ff2a17f1e50f5cb105ce588.zip qemu-095497ffc66b7f031ff2a17f1e50f5cb105ce588.tar.gz qemu-095497ffc66b7f031ff2a17f1e50f5cb105ce588.tar.bz2 |
vnc-enc-tight: use thread local storage for palette
currently the color counting palette is allocated from heap, used and destroyed
for each single subrect. Use a static palette per thread for this purpose and
avoid the malloc and free for each update.
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1467280846-9674-1-git-send-email-pl@kamp.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'target-mips/gdbstub.c')
0 files changed, 0 insertions, 0 deletions