summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/API/JSStringRefQt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-06-05 13:19:02 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 14:09:26 +0200
commit9e99dad77b3e885e5c5a1622ba12fbc947984250 (patch)
tree324adf758f31c121edc593a28cb2e5cd9506d961 /Source/JavaScriptCore/API/JSStringRefQt.cpp
parent29dd87ecc570ebc51890e0587e73e7a144d892aa (diff)
downloadqtwebkit-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/JSStringRefQt.cpp')
0 files changed, 0 insertions, 0 deletions