diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-17 14:19:02 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-21 09:11:19 (GMT) |
commit | 410ddbf93f16a948ed28bbfe177433b3d138bd8c (patch) | |
tree | 54a341c9e351d27db9393d06093718d75c836f25 /src/opengl/qgl_p.h | |
parent | 25a2df08706679d89780fae9216508ef0f094221 (diff) | |
download | Qt-410ddbf93f16a948ed28bbfe177433b3d138bd8c.zip Qt-410ddbf93f16a948ed28bbfe177433b3d138bd8c.tar.gz Qt-410ddbf93f16a948ed28bbfe177433b3d138bd8c.tar.bz2 |
Optimized glyph uploads in GL texture cache.
Avoid doing a lot of glTexSubImage2D calls in favor of doing a single
call (even if it involves an additional image copy).
Reviewed-by: Eskil
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 5508598..5a5e5cc 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -416,6 +416,9 @@ public: uint workaround_brokenTextureFromPixmap : 1; uint workaround_brokenTextureFromPixmap_init : 1; + uint workaround_brokenAlphaTexSubImage : 1; + uint workaround_brokenAlphaTexSubImage_init : 1; + #ifndef QT_NO_EGL uint ownsEglContext : 1; #endif |