diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-06-05 13:19:02 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-05 14:09:26 +0200 |
commit | 9e99dad77b3e885e5c5a1622ba12fbc947984250 (patch) | |
tree | 324adf758f31c121edc593a28cb2e5cd9506d961 /Source/JavaScriptCore/API/JSStringRefCF.cpp | |
parent | 29dd87ecc570ebc51890e0587e73e7a144d892aa (diff) | |
download | qtwebkit-9e99dad77b3e885e5c5a1622ba12fbc947984250.tar.gz |
Avoid deep copy when updating BitmapTextureGL
Since we use a ImageBuffer to paint into a BitmapTextureGL, and
ImageBuffer's always have an active painter, the convertion from QPixmap
to QImage causes a deep copy of the content before it is uploaded to
OpenGL. This copy is unnecessary and can be avoided by temporarily
redirecting the QPaintDevice.
Change-Id: I0106c0f6dfb9cc3fbbee943411fc8f6853df4f98
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSStringRefCF.cpp')
0 files changed, 0 insertions, 0 deletions