diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-10-15 14:42:10 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-10-15 15:15:20 (GMT) |
commit | b5106b1b99a749653c58719c333411b9ce374b67 (patch) | |
tree | 86327ee5e8c6b8ed632981b791a06a2a578e65e4 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp | |
parent | 08554b7e8e58c685879881b17bdf65c5f4594c3c (diff) | |
download | Qt-b5106b1b99a749653c58719c333411b9ce374b67.zip Qt-b5106b1b99a749653c58719c333411b9ce374b67.tar.gz Qt-b5106b1b99a749653c58719c333411b9ce374b67.tar.bz2 |
Optimized QPixmap::fill for GL backend when pixmap is used as is.
When QGLPixmapData is bound after a fill(), without being painted on in
the mean-time, it's cheaper to directly generate a source image than to
go through convertToGLFormat(), since all the pixels in the image will
have the same value.
Reviewed-by: Trond
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions