summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-08 12:30:19 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-09-21 14:21:18 (GMT)
commit1b34feacef7a2d3ac005449a7cfbcb08a6bbf947 (patch)
tree939e0efa6c753c6fa963044a364942953c09f05a /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
parent423cbcf1a26ce208d5440ffa0c7cd150ccfd8b3a (diff)
downloadQt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.zip
Qt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.tar.gz
Qt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.tar.bz2
Resubmit support for subpixel antialiasing on text in the GL2 engine.
The antialiasing is currently not gamma corrected and is disabled on OpenGL ES 2.0. Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
index a44be90..8b09f41 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
@@ -60,6 +60,7 @@
#include <private/qgl2pexvertexarray_p.h>
#include <private/qglpaintdevice_p.h>
#include <private/qglpixmapfilter_p.h>
+#include <private/qfontengine_p.h>
enum EngineMode {
ImageDrawingMode,
@@ -205,6 +206,7 @@ public:
int width, height;
QGLContext *ctx;
EngineMode mode;
+ QFontEngineGlyphCache::Type glyphCacheType;
mutable QOpenGL2PaintEngineState *last_created_state;