summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintbuffer_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-02-18 10:58:03 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2010-02-18 12:48:56 (GMT)
commit37d4bde65a28a10efdd9c09b88007acd7339629a (patch)
treec6b502994ab7c754a591f667d8212d33a72c8ebc /src/gui/painting/qpaintbuffer_p.h
parent5cd93666050076053d547d1b3ba4041b8fae58ec (diff)
downloadQt-37d4bde65a28a10efdd9c09b88007acd7339629a.zip
Qt-37d4bde65a28a10efdd9c09b88007acd7339629a.tar.gz
Qt-37d4bde65a28a10efdd9c09b88007acd7339629a.tar.bz2
Reduced the memory footprint of qttrace files.
A couple of improvements have been made: * Use single precision floats for the traces. * Reduce the number of variant wrapped transforms by introducing a new translate command. * Reduce the number of bytes streamed per image / pixmap draw command. * Add versioning info to qttrace files to be more future proof. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/gui/painting/qpaintbuffer_p.h')
-rw-r--r--src/gui/painting/qpaintbuffer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintbuffer_p.h b/src/gui/painting/qpaintbuffer_p.h
index 41a26c5..8c2bb6b 100644
--- a/src/gui/painting/qpaintbuffer_p.h
+++ b/src/gui/painting/qpaintbuffer_p.h
@@ -184,6 +184,7 @@ public:
Cmd_DrawTiledPixmap,
Cmd_SystemStateChanged,
+ Cmd_Translate,
Cmd_LastCommand
};