diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-02-18 08:42:04 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-01 14:32:50 (GMT) |
commit | 6513e4b9513dfc591c53744517f05aa3c522ace3 (patch) | |
tree | ee8c28657b0f1961d260b9ae22e24308e40200f7 /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | |
parent | a49ec03834b14063b4130c410d59df6e8c4db8ce (diff) | |
download | Qt-6513e4b9513dfc591c53744517f05aa3c522ace3.zip Qt-6513e4b9513dfc591c53744517f05aa3c522ace3.tar.gz Qt-6513e4b9513dfc591c53744517f05aa3c522ace3.tar.bz2 |
Fixes: GL 2 paint engine text rendering optimization.
RevBy: Tom
Details: Buffer vertex and texture coordinates so that we get away
with just a single glDrawArrays call per text item.
Also move drawCachedGlyphs() into the private class.
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h index ce66e4b..9f84a25 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h @@ -100,7 +100,6 @@ public: virtual void drawImage(const QRectF &r, const QImage &pm, const QRectF &sr, Qt::ImageConversionFlags flags = Qt::AutoColor); virtual void drawTextItem(const QPointF &p, const QTextItem &textItem); - void drawCachedGlyphs(const QPointF &p, const QTextItemInt &ti); Type type() const { return OpenGL; } |